$ whoami eyouel_kibret # friends call me Prime |
|
Debatrium, simplified
flowchart LR
A[S3 frontend] --> B[SQS FIFO<br/>7 queues]
B --> C[Lambda<br/>4 functions]
C --> D[9 agents<br/>EC2 Auto Scaling]
D <--> E[(Redis<br/>Multi-AZ)]
B -.->|3 failed tries| F[Dead letter queue]
classDef aws fill:#ff9900,stroke:#232f3e,color:#232f3e;
classDef bad fill:#f85149,stroke:#7f1d1d,color:#ffffff;
class A,B,C,D,E aws;
class F bad;
🛡️ How Debatrium stays up
- A Redis
SET NXlock means only one worker can claim a turn. - Keys are namespaced by round, and writes are idempotent, so a replayed message cannot corrupt state.
- Heartbeats reveal a dead worker, and recovery lands within about 30 seconds.
- Exponential backoff, a fast fail on
insufficient_quota, and dead letter queues after three attempts.
🐛 Story time: the segfault hiding in a JSON call
While building the gRPC serial plugin for MetaCall, I hit a critical segfault that traced back to the Protobuf JSON API calls. Instead of working around it, I replaced those calls with a hand written recursive serializer. The crash went away, and I understood the data path far better than before.
|
Software Engineer, private ISP
|
Research Intern
|
Technical Projects Graduate Ambassador
|

