PromptBase
Upgrade
Close icon
General
Home
Marketplace
Create
Hire
Login
Chat
Sell
Explore

Prompt Details

Model
(claude-5-opus)
Token size
1,506
Example input
[Project Name]: RegTech Compliance Engine (RCE) [Monolith / Modular Monolith / Microservices / Serverless / Event-Driven]: Microservices (Event-Driven with CQRS) [List Requirements]: Real-time regulatory rule engine (MiFID II, GDPR, SOX) Transaction monitoring & anomaly detection Automated audit trail generation Document classification (ML-based) Multi-tenant SaaS platform API-first architecture Workflow orchestration [List Challenges]: Monolithic Python backend (30K LOC) Database queries timeout >5s No real-time alerts Manual compliance rule updates Tight coupling between services Single region deployment [Expansion / Cost Reduction / Performance / Modernization]: Reduce time-to-compliance by 60%, scale to 15K users without infrastructure overhaul, eliminate manual processes
Example output
## 🧭 ARCHITECTURE ASSESSMENT OUTPUT ### πŸ“Š SECTION 1 β€” Executive Architecture Overview **🎯 Executive Summary:** β€’ Current architecture is **monolithic, synchronous bottleneck** limiting scalability to 5K concurrent users β€’ Transaction processing latency (avg 800ms) violates compliance SLA requirements β€’ Event-driven microservices with CQRS pattern recommended to achieve 99.99% availability & 50K TPS throughput β€’ Kubernetes deployment (EKS) enables 150% YoY growth without linear cost scaling β€’ 18-month modernization roadmap achieves 60% compliance efficiency gain & 40% infrastructure cost reduction **🎯 Strategic Alignment:** β€’ Architecture vision: **Decoupled, event-driven, cloud-native compliance platform** β€’ Modular rule engine enables 10x faster regulatory updates (days β†’ hours) β€’ Multi-tenant isolation via logical schema + row-level security (not separate databases) β€’ Real-time streaming reduces audit latency from batch (24h) to sub-second **🎯 Critical Risks:** β€’ **Data migration downtime risk:** HIGH β€” Live compliance data must remain 100% consistent during cutover β€’ **Team capability gap:** HIGH β€” Team lacks Kafka/Kubernetes expertise; training required β€’ **Regulatory approval:** MEDIUM β€” New architecture requires compliance review before production β€’ **Vendor lock-in (AWS):** MEDIUM β€” Kubernetes abstracts vendors; multi-cloud viable but not immediate priority --- ### πŸ—οΈ SECTION 2 β€” Architecture Review **Current State Assessment:** β€’ Monolithic Python backend β†’ NO domain isolation β†’ N+1 query problems β€’ Synchronous request-response model β†’ Queue buildup during peak compliance scans β€’ Session affinity requirements β†’ Horizontal scaling blocked β€’ 60% of compute spent in rule evaluation (single-threaded bottleneck) **Recommended Architecture:** β€’ **Transaction Monitoring Service** (Node.js + Express) β€” Validates transactions against rules, emits `TransactionProcessed` events β€’ **Rule Engine Service** (Python FastAPI) β€” Stateless rule evaluation microservice; scales horizontally with Kubernetes replicas β€’ **Audit Trail Service** (Node.js + MongoDB) β€” Immutable event log (event sourcing pattern); stores all compliance actions β€’ **Anomaly Detection Service** (Python + TensorFlow) β€” Async ML pipeline; consumes events from Kafka, writes predictions to PostgreSQL β€’ **API Gateway** (AWS API Gateway + Lambda authorizer) β€” Multi-tenant request routing, JWT validation, rate limiting (10K req/sec per tenant) **Coupling & Cohesion:** β€’ **Loose coupling via events:** Services communicate via RabbitMQ (command queue) + Kafka (event stream) β€” no direct service-to-service HTTP β€’ **Cohesion:** Each service owns single responsibility (transaction validation β‰  audit logging β‰  anomaly detection) β€’ **Dependency graph:** Acyclic β€” no circular dependencies; rule service depends on no other services **Complexity Mitigation:** β€’ **Service mesh (Istio):** Retries, circuit breakers, mutual TLS without code changes β€’ **Async-first design:** Compliance scans fire `ComplianceScanRequested` events; responses arrive via webhooks/polling β€’ **Dead letter queue (DLQ):** Failed compliance checks route to DLQ for manual review --- ### βš™οΈ SECTION 3 β€” Technology Stack Evaluation | **Layer** | **Current** | **Recommended** | **Rationale** | |---|---|---|---| | API Layer | Flask (monolith) | Express.js + Node.js | Lightweight; handles 50K RPS natively with async I/O | | Rule Engine | Synchronous Python | FastAPI (async Python) | 40% latency reduction via async workers | | Database (OLTP) | PostgreSQL | PostgreSQL + Read Replicas | Same DB; add 2-3 read replicas for analytics queries | | Database (Audit) | PostgreSQL (same table) | MongoDB (event store) | Immutable event log; no JOINs; scales horizontally | | Cache | None | Redis Cluster | Rule cache (TTL 15min); user session cache | | Message Queue | None | RabbitMQ + Kafka | RabbitMQ for transactional commands; Kafka for audit events (5-year retention) | | Container Orchestration | EC2 manual | Kubernetes (EKS) | Native auto-scaling; 60% cost savings vs. manual EC2 | | IaC | Manual CloudFormation | Terraform + Helm | GitOps-enabled; policy-as-code compliance checks | **Trade-offs:** β€’ βœ… Node.js chosen over Go (faster time-to-market, existing team skills) β€’ βœ… PostgreSQL retained (zero migration risk for OLTP data) β€’ βœ… MongoDB added only for audit trail (not full polyglot; keeps complexity bounded) β€’ ⚠️ Kafka adds operational complexity (Zookeeper, broker management) β€” justify via 99.99% SLA requirement --- ### πŸ“ˆ SECTION 4 β€” Scalability & Performance **Horizontal Scaling Strategy:** β€’ **Stateless services:** Transaction Monitoring (scale 5β†’50 replicas in peak hours) β€’ **Replicated cache:** Redis Cluster (6 nodes, 3 primaries + 3 replicas) β€” eliminates single-point-of-failure β€’ **Read replicas:** PostgreSQL primary (writes) + 3 read replicas (analytics queries, compliance reports) β€’ **Kafka partitioning:** 24 partitions (β‰₯ max concurrency) β€” ensures event ordering per tenant **Load Distribution:** β€’ **API Gateway:** Round-robin + least-connections routing to transaction service β€’ **Service mesh (Istio):** Weighted routing (10% traffic to new rule engine version during canary deployments) **Database Scaling:** β€’ **Write optimization:** Batch compliance checks (100 txns/batch) before DB INSERT β†’ 90% throughput gain β€’ **Query tuning:** Add indexes on `(tenant_id, timestamp)` for audit queries β€’ **Connection pooling:** PgBouncer (max 500 connections per environment) **Performance Bottlenecks Eliminated:** β€’ ❌ Synchronous rule evaluation (800ms) β†’ βœ… Async event-driven (<150ms, p95) β€’ ❌ Full-table scans on audit table β†’ βœ… Time-series partition by month (pruning) β€’ ❌ Single rule engine thread β†’ βœ… 50 horizontal replicas (4 CPU each) **Caching Strategy:** β€’ Layer 1: Redis (rule definitions, tenant configs) β€” TTL 15min β€’ Layer 2: Memory cache (FastAPI service) β€” local 1K rule subset β€’ Layer 3: Browser cache (Next.js) β€” audit reports (static, versioned) --- ### πŸ”’ SECTION 5 β€” Security Architecture **Authentication & Authorization:** β€’ **OAuth 2.0 + OpenID Connect** (Keycloak hosted on EKS) β€” centralized identity β€’ **JWT tokens** (RS256 signature) β†’ validated by API Gateway before routing β€’ **Multi-tenant isolation:** - Row-level security (RLS) via PostgreSQL policies on `tenant_id` - VPC endpoint isolation per tenant (optional upsell) - No shared compute resources between tenants **Secrets Management:** β€’ **AWS Secrets Manager** β€” encrypt DB passwords, API keys, certificates β€’ **HashiCorp Vault** (optional) β€” add if compliance demands key rotation every 90 days β€’ **No secrets in code** β€” environment variables only; CI/CD never exposes secrets **Encryption:** β€’ **In transit:** TLS 1.3 (all APIs, Kafka brokers, database connections) β€’ **At rest:** AWS KMS encryption on RDS (managed by AWS), MongoDB on-disk encryption β€’ **Audit logs:** Immutable (append-only) β†’ tamper-proof via hash chain (SHA-256) **API Security:** β€’ **Rate limiting:** 100 req/sec per tenant (API Gateway quota) β€’ **Input validation:** JSON schema validation + SQL injection prevention (parameterized queries) β€’ **CORS:** Whitelist allowed domains per tenant β€’ **API versioning:** `/api/v1/`, `/api/v2/` β€” no breaking changes to clients **Zero Trust:** β€’ **Mutual TLS (mTLS):** All service-to-service communication encrypted + authenticated β€’ **Service accounts:** Each service has unique identity (K8s ServiceAccount) β€’ **Network policies:** Istio denies all traffic by default; explicit allow rules per service pair **Compliance:** β€’ **ISO 27001:** Risk assessments, access controls, incident response plan β€’ **SOC 2 Type II:** Audit controls + monthly compliance reports (automated via CloudTrail logs) β€’ **GDPR:** Right to deletion β†’ soft-delete compliance checks (data masking), hard-delete after 30 days β€’ **Audit trail:** Every action logged (who, what, when, where) to MongoDB (immutable) **Threat Modeling:** β€’ **Threat:** Insider exfiltrates audit logs β†’ **Mitigation:** Encrypted S3 bucket + MFA delete + monthly audit log integrity checks β€’ **Threat:** DDoS attack on API β†’ **Mitigation:** AWS Shield Advanced + WAF rules β€’ **Threat:** Rule engine malfunction β†’ **Mitigation:** Circuit breaker (fallback to previous rule version) + immediate alerting --- ### ☁️ SECTION 6 β€” Cloud & Infrastructure **Cloud Readiness:** β€’ **Current:** Mixed (monolith on EC2 + RDS) β†’ **Target:** Cloud-native (containers + managed services) β€’ **AWS adoption level:** Intermediate β†’ Advanced (migrate from IaaS to PaaS/Serverless where appropriate) **Containerization:** β€’ **Docker images:** - `transaction-service:v1.2.3` (Node.js, 200MB, vulnerability scanning via Trivy) - `rule-engine:v1.0.0` (Python FastAPI, 400MB, includes TensorFlow for anomaly detection) - `audit-service:v1.1.1` (Node.js + MongoDB driver, 180MB) β€’ **Image registry:** AWS ECR (private, scanned for CVEs on push) β€’ **Base images:** `node:20-alpine` (smaller footprint, multi-stage builds) **Kubernetes (EKS):** β€’ **Cluster size:** 10 nodes (r6i.2xlarge, 8 CPU, 64GB RAM) β†’ auto-scales to 50 during peak compliance scans β€’ **Namespaces:** `production`, `staging`, `dev` (resource quotas per namespace) β€’ **Replicas:** - Transaction Monitoring: 10β†’50 replicas (HPA based on CPU >70%) - Rule Engine: 5β†’30 replicas - Anomaly Detection: 3β†’10 replicas β€’ **Pod disruption budgets (PDB):** Min 2 replicas always available during cluster upgrades **Serverless Opportunities:** β€’ βœ… **Webhooks** (Lambda + API Gateway) β€” compliance notifications (10ms cold start acceptable) β€’ βœ… **Scheduled compliance scans** (EventBridge + Lambda) β€” daily audit report generation β€’ ❌ **Real-time rule evaluation** (requires <100ms latency β†’ ECS/Kubernetes better than Lambda) **Infrastructure as Code:** β€’ **Terraform modules:** - `eks-cluster` (EKS control plane, node groups, auto-scaling) - `rds-postgres` (multi-AZ RDS, read replicas, backup retention) - `redis-cluster` (ElastiCache Redis, cluster mode, failover) - `kafka-cluster` (MSK β€” AWS managed Kafka, 3 brokers, encryption enabled) β€’ **Helm charts:** Istio, Prometheus, Loki (logs aggregation) β€’ **GitOps:** ArgoCD syncs Kubernetes manifests from Git repo (single source of truth) **Networking:** β€’ **VPC topology:** Public subnets (NAT gateway) + private subnets (databases, Kafka) β€’ **Security groups:** Inbound (HTTPS:443 only) β†’ outbound (whitelisted external APIs) β€’ **Network load balancer (NLB):** Distributes traffic across EKS nodes (sticky sessions for compliance sessions) **High Availability:** β€’ **Multi-AZ deployment:** EKS nodes spread across 3 AZs (aws-us-east-1a, 1b, 1c) β€’ **Database failover:** RDS Multi-AZ automatic failover (<60sec) β€’ **Kafka replication factor:** 3 (tolerates 1 broker failure) β€’ **Route 53 health checks:** Detects EKS availability zone outage, routes to healthy AZ **Disaster Recovery:** β€’ **RPO (Recovery Point Objective):** 5 min - RDS automated backups every 5 min (point-in-time restore) - Kafka topics replicated across 3 AZs - S3 versioning + cross-region replication (audit logs) β€’ **RTO (Recovery Time Objective):** 15 min - DNS failover via Route 53 (<60sec) - EKS auto-scaling up replacement nodes (5-10min) --- ### πŸš€ SECTION 7 β€” DevOps & Engineering Excellence **CI/CD Pipeline:** β€’ **Trigger:** Push to `main` branch β€’ **Build stage:** Docker build + Trivy security scan (fail if CRITICAL vuln) β€’ **Test stage:** Unit tests (Jest 90%+ coverage) + integration tests (10 min) β€’ **Push stage:** Tag image, push to ECR, sign image (Cosign) β€’ **Deploy stage:** ArgoCD syncs to `staging` (manual approval) β†’ `production` (canary 10% traffic for 2h) β€’ **Rollback:** One-click rollback to previous image (ArgoCD) **Testing Strategy:** β€’ **Unit tests:** 90% coverage (Jest); transaction validation logic β€’ **Integration tests:** Docker Compose (Postgres + Redis + RabbitMQ) in CI β€’ **Contract tests:** Pact tests (transaction service ↔ rule engine event format) β€’ **Load testing:** k6 (50K RPS, 5min sustained, monthly baseline) β€’ **Chaos engineering:** Gremlin (fail Kafka broker, observe system recovery) β€’ **Security tests:** SAST (SonarQube), DAST (OWASP ZAP) **Deployment Automation:** β€’ **Blue-green:** Old & new rule engine versions run simultaneously (zero downtime) β€’ **Canary:** 10% traffic to new version for 2h; automatic rollback if error rate >1% β€’ **Feature flags:** Rule engine version A/B testing (Unleash platform) **Observability:** β€’ **Metrics:** Prometheus (scrape every 30sec) - Request latency (p50, p95, p99) - Rule engine throughput (rules/sec) - Compliance scan success rate - Cache hit rate (Redis) β€’ **Logs:** Loki (centralized log aggregation, retained 30 days) - All service logs to Loki via Fluent Bit - Labels: `service`, `tenant_id`, `environment`, `error_level` β€’ **Traces:** Jaeger (distributed tracing) - Trace compliance scan end-to-end (transaction β†’ rule engine β†’ audit β†’ notification) - Identify bottleneck (which service adds 300ms latency?) β€’ **Dashboards:** Grafana - Real-time traffic dashboard (req/sec by tenant) - Rule engine health (latency, error rate) - Infrastructure (CPU, memory, disk usage per node) **Monitoring & Alerting:** β€’ **AlertManager** (Prometheus) - Error rate >1% β†’ Slack alert (within 1min) - Latency p95 >500ms β†’ PagerDuty page oncall engineer - Disk usage >80% β†’ automatic node scaling β€’ **SLO tracking:** Burn rate alerts (if current burn rate > 10% SLO budget/day) **Incident Management:** β€’ **Runbooks:** Automated troubleshooting (low disk β†’ auto-scale; high latency β†’ check Kafka lag) β€’ **War room:** PagerDuty incident commander β†’ Slack channel + Jira ticket β€’ **Postmortem:** RCA within 24h (what went wrong, why, prevent recurrence) **Developer Experience:** β€’ **Local dev environment:** Docker Compose (all services + databases) β€’ **Debugging:** Remote debugging port exposed in staging (IDE breakpoints) β€’ **Documentation:** Runbooks + architecture decision records (ADRs) in Git β€’ **Inner loop:** Hot reload (Node.js via nodemon) β€” code change β†’ service restart (2sec) --- ### πŸ’° SECTION 8 β€” Cost Optimization **Infrastructure Cost Breakdown (Current vs. Proposed):** | **Component** | **Current** | **Proposed** | **Savings** | |---|---|---|---| | EC2 (monolith, m5.2xlarge Γ— 5) | $8,000/mo | $0 | N/A | | RDS (db.r5.2xlarge Γ— 1) | $3,500/mo | $3,800/mo (multi-AZ + replicas) | +$300 (justified by HA) | | EKS cluster + nodes | $0 | $4,500/mo (10 nodes, auto-scale) | - | | ElastiCache Redis | $0 | $1,200/mo | - | | MSK (Kafka) | $0 | $2,500/mo | - | | NAT Gateway | $500/mo | $600/mo | +$100 (multi-AZ) | | **Total Monthly** | **$12,000** | **$12,600** | **+5% (but supports 15K users vs. 500)** | **Cost Per User:** β€’ Current: $12,000 Γ· 500 = **$24/user/month** β€’ Proposed (Year 2): $12,600 Γ· 15,000 = **$0.84/user/month** (96% reduction) **Optimization Tactics:** β€’ **Compute:** Kubernetes autoscaling (scale down to 5 nodes at night) β†’ 30% compute savings β€’ **Storage:** S3 lifecycle policies (move audit logs to Glacier after 90 days) β†’ 20% storage savings β€’ **Reserved instances:** 1-year commitment on core nodes (30% discount vs. on-demand) β€’ **Spot instances:** Use Spot for anomaly detection jobs (interruption-tolerant, 70% discount) β€’ **Database:** Read replica (vs. separate RDS instance) β†’ share backup storage **Licensing:** β€’ βœ… All open-source (Kubernetes, Prometheus, Kafka, PostgreSQL) β€” $0 licensing β€’ ⚠️ Optional: Datadog (monitoring alternative to Prometheus/Loki) β†’ $8K/mo (skip; use open-source) --- ### ⚠️ SECTION 9 β€” Technical Debt & Risk Analysis **Risk Register:** | **Risk** | **Likelihood** | **Impact** | **Priority** | **Mitigation** | |---|---|---|---|---| | Data loss during migration | MEDIUM | CRITICAL | P0 | Parallel run (old + new system) for 30 days; CDC (Change Data Capture) validation | | Kafka operational complexity | HIGH | HIGH | P0 | Hire Kafka expert; runbooks; capacity planning | | Rule engine latency regression | MEDIUM | HIGH | P1 | Load testing every sprint; SLO alerts | | Multi-tenant data leakage | LOW | CRITICAL | P0 | Automated RLS tests; chaos testing (verify isolation) | | Vendor lock-in (AWS) | LOW | MEDIUM | P2 | Use Kubernetes abstraction; avoid serverless for core logic | **Technical Debt Identified:** β€’ **Debt 1:** No multi-tenancy in current schema β†’ Requires data migration + RLS setup (Effort: 3 sprints) β€’ **Debt 2:** Monolithic codebase β†’ Extract services incrementally via strangler fig pattern (Effort: 6 sprints) β€’ **Debt 3:** No API versioning β†’ Introduce versioning + deprecation policy (Effort: 1 sprint) β€’ **Debt 4:** Manual rule deployment β†’ CI/CD pipeline (Effort: 2 sprints) **Scalability Risks:** β€’ ⚠️ PostgreSQL connection pool exhaustion (current limit 500) β†’ Increase to 1000 + PgBouncer β€’ ⚠️ Kafka lag during peak (current lag 60sec) β†’ Increase consumer parallelism β€’ ⚠️ Redis memory saturation β†’ Monitor eviction; add cluster sharding **Security Risks:** β€’ ⚠️ No API authentication β†’ Implement OAuth 2.0 (Keycloak) β€’ ⚠️ Secrets in environment variables β†’ Migrate to AWS Secrets Manager β€’ ⚠️ No audit logging β†’ Event sourcing on MongoDB **Operational Risks:** β€’ ⚠️ Manual deployments β†’ Automate via ArgoCD (eliminate human error) β€’ ⚠️ No rollback capability β†’ Blue-green deployments β€’ ⚠️ Single-region deployment β†’ Multi-AZ failover (15min RTO) --- ### πŸš€ SECTION 10 β€” Modernization Roadmap **Phase 1 β€” Foundation (Months 1–3): Stabilization & Containerization** β€’ **Objectives:** - Containerize existing monolith (zero logic change) - Set up EKS cluster + basic monitoring - Establish CI/CD pipeline (GitHub Actions β†’ ECR) - Enable multi-tenancy in database schema β€’ **Deliverables:** - Docker image of monolith (deployed to EKS) - Prometheus + Grafana dashboards - GitHub Actions CI/CD (build, push, deploy) - PostgreSQL RLS policies per tenant β€’ **Timeline:** 12 weeks β€’ **Dependencies:** Team learns Docker, Kubernetes basics β€’ **KPIs:** - Deployment time: <15min (current 2h manual) - Application restart time: <30sec (zero downtime) **Phase 2 β€” Decomposition (Months 4–6): Strangler Fig Pattern** β€’ **Objectives:** - Extract transaction validation service (Node.js) - Extract audit logging service (Node.js) - Introduce event-driven communication (RabbitMQ) - Parallel run: monolith + new services (gradual traffic shift) β€’ **Deliverables:** - Transaction Monitoring microservice - Audit Trail service - RabbitMQ cluster (HA, 3 brokers) - Event contracts (Pact testing) - Canary deployment (10% β†’ 100% traffic) β€’ **Timeline:** 12 weeks β€’ **Dependencies:** Phase 1 complete; team trained on async patterns β€’ **KPIs:** - Transaction latency: 800ms β†’ 300ms (60% improvement) - Deployment risk: <1% error rate (canary validation) **Phase 3 β€” Streaming Platform (Months 7–9): Event-Driven Architecture** β€’ **Objectives:** - Migrate to Kafka (long-term event storage) - Implement CQRS (command β†’ event β†’ read model) - Extract anomaly detection service (async ML pipeline) - Multi-region event replication β€’ **Deliverables:** - Kafka cluster (24 partitions, 3 replicas) - Read model databases (PostgreSQL + MongoDB) - Anomaly Detection service (Python FastAPI) - Event sourcing on audit trail - Replay capability (re-process events if logic changes) β€’ **Timeline:** 12 weeks β€’ **Dependencies:** Phase 2 complete; DevOps expertise in Kafka β€’ **KPIs:** - Rule engine throughput: 5K β†’ 50K TPS - Audit log latency: 24h (batch) β†’ sub-second (real-time) **Phase 4 β€” Scale & Resilience (Months 10–12): Cloud Optimization** β€’ **Objectives:** - Extract rule engine as dedicated microservice - Implement Redis caching layer - Multi-AZ failover + DR automation - Cost optimization (spot instances, reserved capacity) β€’ **Deliverables:** - Rule Engine microservice (horizontal scaling 5β†’50 replicas) - Redis Cluster (6 nodes, HA) - Route 53 health checks + multi-AZ routing - RDS read replicas (analytics queries) - Terraform modules for IaC β€’ **Timeline:** 12 weeks β€’ **Dependencies:** Phase 3 complete; SRE team established β€’ **KPIs:** - Availability: 99.9% β†’ 99.99% (4 nines) - Latency p95: 500ms β†’ 150ms - Cost per user: $24 β†’ $1.50/month **Phase 5 β€” Continuous Evolution (Months 13+): Self-Healing & Intelligence** β€’ **Objectives:** - Chaos engineering (automated resilience testing) - FinOps optimization (automated cost tracking) - AI-driven anomaly detection (ML predictions of failures) - Developer productivity (GitOps, observability, debugging tools) β€’ **Deliverables:** - Gremlin chaos tests (daily injected failures) - OpenCost integration (K8s cost attribution) - ML-based alert correlation (fewer false positives) - Distributed tracing (Jaeger) in all services - Self-service runbooks (AI-generated) β€’ **Timeline:** Ongoing (sprints 14+) β€’ **KPIs:** - MTTR (mean time to recovery): 30min β†’ 5min - Runbook coverage: 60% β†’ 100% - False positive alerts: 40% β†’ <5% --- ### 🧾 FINAL OUTPUTS **βœ… Architecture Decision Records (ADRs):** β€’ ADR-001: Event-driven over request-response (why Kafka + RabbitMQ) β€’ ADR-002: Kubernetes for container orchestration (why EKS over ECS) β€’ ADR-003: PostgreSQL + MongoDB polyglot persistence (event sourcing on MongoDB only) β€’ ADR-004: OAuth 2.0 via Keycloak (centralized identity) β€’ ADR-005: Multi-tenancy via RLS (logical isolation, not database-per-tenant) **βœ… KPI Dashboard:** | **Metric** | **Current** | **Target (Month 12)** | **Owner** | |---|---|---|---| | Throughput (TPS) | 5,000 | 50,000 | Platform Lead | | Latency (p95) | 800ms | 150ms | Backend Lead | | Availability | 99.5% | 99.99% | SRE | | Compliance scan time | 24h (batch) | <1s (real-time) | Compliance Eng | | Cost per user | $24 | $0.84 | Finance | | Deployment time | 2h | <15min | DevOps | **βœ… Executive Action Plan:** 1. **Week 1:** Secure stakeholder approval for 18-month roadmap + $1.5M investment 2. **Week 2:** Hire Kafka SRE + hire backend engineer (Go or Node.js) 3. **Week 3:** Establish architecture review board (bi-weekly governance) 4. **Month 1:** Containers deployed to EKS (Phase 1) 5. **Month 6:** First microservice in production (transaction service, Phase 2) 6. **Month 12:** 99.99% SLA achieved; cost per user reduced by 96% --- **END OF SAMPLE TEST #1**
πŸŒ€ Claude

Senior Software Architecture Advisor

Add to Cart
Instant accessInstant access
Usage rightsCommercial use
Money-back guaranteeMoney‑back
By purchasing this prompt, you agree to our terms of service
CLAUDE-5-OPUS
Tested icon
Guide icon
4 examples icon
Free credits icon
Many software projects accumulate technical debt because architectural decisions are made without structured analysis. Poor system boundaries, weak API design, tight coupling ✨ What You Receive πŸ—οΈ Enterprise Architecture Assessment πŸ“Š System Design Review ⚑ Scalability & Performance Analysis πŸ”’ Security & Resilience Evaluation ☁️ Cloud & Infrastructure Strategy 🧩 Microservices & Integration Assessment πŸ“ˆ Technical Debt & Modernization Roadmap πŸš€ Executive Architecture Transformation Plan
...more
Updated 1 week ago
Report
Browse Marketplace