Designs by Duhart · /srv platform
Three client platforms, ten edge Workers, thirteen origin services, four datastore families. The interesting line in this diagram is the one that cannot exist — the edge cannot open a TCP socket, so everything below Kafka and Cassandra has to live on the host.
Cloudflare Workers cannot open raw TCP sockets — not with a library, not with a shim. The Kafka wire protocol and CQL are therefore permanently unreachable from the edge, no matter how the code is written.
Two consequences run through this whole map. First, every consumer of the activity log lives on
the origin host, reached through a transactional outbox rather than a direct produce. Second,
GlobalCloudflareAdapter exists at all: it terminates Kafka, Redis and KV host-side
and re-exposes them over HTTP so the edge can still participate.
| Service | Language | Lines | Talks to |
|---|---|---|---|
| Gateway trio (billboard / dating / mating) | Go | 48,582 | Kafka, Cassandra, WebSocket clients |
| MatchService | Go | 33,638 | Cassandra/Scylla, Redis Streams, Kafka |
| OpenHouseGlobal | TypeScript | 29,453 | Cassandra (7 CQL migrations) |
| GlobalChatService | Go | 26,176 | Cassandra, Redis, Kafka, S3, APNs |
| billboard-users (Worker) | TypeScript | 10,581 | D1, Hyperdrive→Postgres, 2 DOs · 65 routes |
| GlobalCloudflareAdapter | Go | 7,855 | Kafka, Redis, KV — as an HTTP bridge |
| Solomon retrieval tier | Go | 4,757 | Kafka, vector index, HTTP fetchers |
| BillboardActivityService | Go | 977 | Postgres outbox, Kafka, Cassandra |
AuthGateway is excluded from the ranking above because its 100,771-line figure includes generated protobuf stubs; the hand-written surface is far smaller. Counting generated code as authored code is the easiest way to make a portfolio dishonest.