I am excited to share my latest project: Real-Time Bidding Microservices Ecosystem
This project was a strong technical challenge where I applied a microservices architecture to handle real-time bidding with high efficiency, low latency, and scalability
📦 To follow the DRY principle and speed up development, I used a shared package that I previously built and published on NPM: @bts-soft/core. It handles common logic across NestJS services such as validation, caching, and notifications. I also created a separate package for authentication and authorization to better organize access control across services
💡 This experience was important to me for two main reasons:
1️⃣ First, this is my first complete project using Go (Golang) in production-like scenarios. I used it in core services such as Auction and Bidding, where its concurrency model made a clear difference in performance-critical paths.
2️⃣ Second, I focused heavily on testing. For the first time, I implemented a full testing setup with both unit and E2E tests using Jest, covering services written in both Go and NestJS. This significantly improved my confidence in the system’s stability
🏗️ Architecture Overview The system consists of 5 microservices and an API Gateway:
1) User Service: NestJS, PostgreSQL, Redis
2) Auction Service: Go, MongoDB
3) Bidding Service: Go, Redis, MongoDB
4) Notification Service: NestJS, MongoDB, WebSockets
5) AI Service: NestJS, MongoDB (price prediction)
The API Gateway uses GraphQL Federation to provide a unified and flexible interface for clients
⚙️ Communication & Infrastructure For inter-service communication:
• gRPC with Protobuf for synchronous calls
• NATS for asynchronous messaging (Pub/Sub)
For infrastructure:
• Docker for containerization
• Kubernetes for orchestration
• NGINX for ingress
• Skaffold to streamline local development on Kubernetes
I’ve included the project and package links below. I’d appreciate any feedback or discussion around the architecture and design decisions
🔗 GitHub Repo: https://lnkd.in/dka_dyfA
📦 NPM Package: https://lnkd.in/di7jmhuM
🌐 Portfolio: https://lnkd.in/dAh96_da
#Microservices #Backend #Go #NestJS #Kubernetes #Docker #gRPC #GraphQL #NATS #Redis #PostgreSQL #SoftwareEngineering
Harish Sir,, your articles are very informative and knowledgeable… 👏🏻👏🏻