Author: Engineering Team | Version: 2.0 | Last Updated: December 2025
The Acme Platform follows a modular microservices architecture deployed on Kubernetes. Services communicate via gRPC for internal calls and expose REST APIs for external consumers. All data flows through a central event bus (Apache Kafka) for asynchronous processing.
| Service | Tech Stack | Database | Responsibility |
|---|---|---|---|
| API Gateway | Envoy Proxy | None | Auth, rate limiting, routing, TLS termination |
| User Service | Go + gRPC | PostgreSQL | Accounts, authentication, sessions, permissions |
| Project Service | Go + gRPC | PostgreSQL (pg_trgm) | Project CRUD, member management, settings |
| Billing Service | Python + FastAPI | PostgreSQL (separate, PCI) | Subscriptions, usage tracking, invoicing, Stripe |
| Service | Tech Stack | Database | Responsibility |
|---|---|---|---|
| Notification Service | Node.js | Redis (queue) | Email (SES), Slack, webhook delivery |
| Search Service | Python + FastAPI | Elasticsearch 8.x | Full-text search, filters, facets |
| File Service | Go | S3 + metadata in PostgreSQL | Uploads, virus scanning, thumbnails, CDN |
| Cluster | Region | Nodes | Purpose |
|---|---|---|---|
| prod-us-east | us-east-1 | 12 | Primary production |
| prod-eu-west | eu-west-1 | 8 | EMEA traffic |
| staging | us-east-1 | 4 | Pre-production |
| dev | us-east-1 | 2 | Development |
| Technology | Version | Use Case | Hosting |
|---|---|---|---|
| PostgreSQL | 16 | Transactional data | RDS Multi-AZ |
| Elasticsearch | 8.x | Search indices | 3-node cluster |
| Redis | 7 | Caching, sessions | ElastiCache |
| Apache Kafka | 3.6 | Event streaming | MSK |
| S3 | N/A | Object storage | AWS (intelligent tiering) |
| Topic | Schema | Producers | Consumers |
|---|---|---|---|
acme.users.events | Avro | User Service | Search, Notification, Audit |
acme.projects.events | Avro | Project Service | Search, Notification |
acme.billing.events | Avro | Billing Service | Notification, Audit |
acme.audit.log | Avro | All services | Audit Service, S3 archiver |
| Standard | Status | Audit Frequency |
|---|---|---|
| SOC 2 Type II | Certified | Annual |
| GDPR | Compliant (data residency controls) | Continuous |
| HIPAA | Ready (BAA available) | Annual |
| Penetration Testing | Passed | Annual (third-party) |