wasAsked.

Explain the Architecture of your project.

Capgemini · Full Stack Developer · technical

Published

Year not specified · System Design

Community answers

Posted by wasAsked editorial collection

Explain the architecture as a story from the user to the data, with reasons for key choices. Prepare a simple diagram you could draw on a whiteboard. Here is a structure with an example (adapt it to your real project). 1. Context "An online B2B ordering platform for retailers: about 2,000 business customers, 300 concurrent users at peak." 2. Frontend "An Angular single-page application served from Azure Static Web Apps (or a CDN). It uses OpenID Connect sign-in with Microsoft Entra ID and calls our APIs with bearer tokens." 3. Entry point "Requests go through Azure API Management, which validates tokens, applies rate limiting and routes to backend services." 4. Backend services "ASP.NET Core services on Azure Container Apps (or App Service/AKS): - Catalog service: products and pricing, read-heavy, cached in Redis. - Order service: order placement, validation and status; uses SQL Server. - Payment service: integrates with a payment gateway; handles webhooks. - Notification service: emails and SMS. Each service owns its own database schema." 5. Internal structure of a service "Layered or clean architecture: API layer (controllers), application layer (use cases, validation), domain layer (business rules) and infrastructure layer (EF Core, external clients)." 6. Communication "Synchronous REST calls for queries that need immediate answers, with Polly retries and circuit breakers. Asynchronous events on Azure Service Bus (OrderPlaced, PaymentCompleted) using the outbox pattern, so services are decoupled and resilient." 7. Data "Azure SQL for transactional data, Redis for caching, Blob Storage for invoices and documents, and a nightly export to a reporting database." 8. Cross-cutting concerns "Key Vault and managed identities for secrets, Application Insights with OpenTelemetry for distributed tracing and logs, health checks and alerts." 9. Deployment "Azure DevOps pipelines: build, test, container images to Azure Container Registry, deployment through Dev, QA and Production with approvals; infrastructure defined in Bicep." 10. Your role and a trade-off "I owned the order and payment services. One trade-off: we kept a shared SQL Server instance with separate schemas to control cost, while still separating data ownership." Tips: start high-level, then go deeper where the interviewer shows interest; explain why technologies were chosen; and be honest about weaknesses and what you would improve.

Ravindra Wadile · · 0 likes

Sign in to add your answer

Related interview topics