HomeInterview QuestionsCan you tell me the architecture of that project a…

Can you tell me the architecture of that project and how you utilized this new trick?

🟡 Medium System Design Mid level
1Times asked
Jul 2026Last seen
Jul 2026First seen

💡 Model Answer

The project follows a layered micro‑service architecture built on Kubernetes. The front‑end is a React SPA that communicates with a GraphQL gateway. The gateway aggregates data from several stateless services written in Go, each exposing a RESTful API. Data persistence is handled by a PostgreSQL cluster for relational data and a Redis cache for session state. A message broker (Kafka) decouples services, enabling asynchronous processing of high‑volume events. For the new trick, we introduced a serverless function (AWS Lambda) to perform on‑the‑fly image resizing. The Lambda is triggered by an S3 upload event, processes the image, and writes the result back to S3, reducing load on the main services. This approach improves scalability and cost efficiency. Key decisions included using containerized services for portability, employing CI/CD pipelines for automated deployments, and implementing observability with Prometheus and Grafana. The architecture balances performance, resilience, and maintainability.

This answer was generated by AI for study purposes. Use it as a starting point — personalize it with your own experience.

🎤 Get questions like this answered in real-time

Assisting AI listens to your interview, captures questions live, and gives you instant AI-powered answers on a discreet on-screen overlay.

Get Assisting AI — Starts at ₹500