Recent
Ozone Introduction
·9 mins
Blog
En
Ozone
Oss
Overview # Ratis # https://github.com/apache/ratis Java Raft Implementation DataAPI - for data intensive application It was initially written for Ozone.
Ozone Manager (OM) # https://ozone.apache.org/docs/edge/concept/ozonemanager.html
Storage Container Manager (SCM) # https://ozone.apache.org/docs/edge/concept/storagecontainermanager.html
Containers # Containers are the fundamental replication unit of Ozone/HDDS, they are managed by the Storage Container Manager (SCM) service.
Containers are big binary units (5Gb by default) which can contain multiple blocks:
Blocks are local information and not managed by SCM.
Bikefest 2024 Backend
·4 mins
Blog
En
peterxcli/bike-festival-2024-backend Backbone for the 2024 NCKU Bike Festival, featuring event notifications and Line Login for authentication. Built with Go, Docker, and Redis. Go 1 0 DB Schema # User Table # Field Type GORM Options JSON Key Description ID string type:varchar(36);primary_key id The unique identifier for the user. (from line account) Name string type:varchar(255);index name The name of the user. (from line account) User-Event Table # Field Type Description user_id varchar(36) The ID of the user, linking to User.
Building a high-performance, scalable server for AD management
·13 mins
Blog
En
peterxcli/ad-server Scalable state machine, exemplified through an advertisement management system | Dcard 2024 internship assignment | Distributed Systems, ensuring high availability and fault tolerance Go 5 1 Benchmark Result # Local: QPS: 96000/s K6 Load Test The primary bottleneck is the gin router. With an optimized router engine, the QPS could potentially reach 800000/s. - See gin router performance benchmarks. Short Description # A infinitely scalable. advertisement management system, baked with replicated advertisement business state machine, replicated log system, and fault recovery mechanism.