AstraCode

Self-hosted online judge on Go services, Kafka and a sandbox

Covers the competitive-programming lifecycle: author a problem, moderate it, solve it, submit against official testcases and review results, for C++, Go, Python and Java. Submissions travel through a transactional outbox and Kafka to judge workers on a separate node.

Trade-offs

  • Submission, attempt and outbox rows are written in one PostgreSQL transaction, and Kafka carries jobs to the worker and results back.
  • Kafka delivery is at least once, so result application is attempt-aware and rejects stale and duplicate updates.

Q&A2

No. Interactive Run Code uses a direct internal gRPC path, and only official submissions go through Kafka.

Reviews

Loading reviews

    More in Kafka

    See all 11 →
    • RRQClosed-loop payment ledger on sharded Postgres with a Kafka outbox
    • clinkC++ stream processing engine that stays correct when processes die
    • DeltaForgeChange Data Capture engine in Rust for MySQL and PostgreSQL
    • KatesPerformance, chaos and security testing for Kafka on Kubernetes
    • desflowRealistic event streams from a simulation steered while it runs
    • MycelA declarative microservice runtime: describe the connections, get the service

    More in Distributed systems

    See all 20 →
    • arbiterPostgreSQL job queue for Haskell, with no broker and no leader
    • RuvioRust key-value server that speaks RESP, with locks and queues as commands
    • EgresPostgres-compatible database in Zig for heavy, multi-tenant workloads
    • pg-statusSidecar that reports PostgreSQL master, replicas and replication lag
    • LassoSelf-hosted Ethereum JSON-RPC proxy that routes each call to the best provider
    • SwarmLLMLocal LLM app whose computers team up over the internet to run bigger models

    More in Docker

    See all 20 →
    • FoJinCited answers from the Buddhist canon across 600+ sources
    • WebDuckSelf-hosted DuckDB server with REST API and web admin
    • EverShelfSelf-hosted pantry manager with barcode scanning, expiry alerts and AI recipes
    • RackpadSelf-hosted inventory for homelab racks, cables and networks
    • OneSearchSelf-hosted full-text search for a homelab's files
    • apociFederated, self-hosted container and package registry over ActivityPub