r/microservices

Built a multi-tenant workflow engine with NestJS + BullMQ + DLQ – looking for architecture review
▲ 20 r/microservices+2 crossposts

Built a multi-tenant workflow engine with NestJS + BullMQ + DLQ – looking for architecture review

Built a multi-tenant workflow engine with NestJS + BullMQ + Dead Letter Queue.

Features: multi-tenancy, JWT auth, workflow state machine, retries + DLQ, admin dashboard, monorepo.

Repo: https://github.com/NabarupDev/ForgeGate

Looking for honest feedback on:

  • Architecture
  • API Gateway design
  • Multi-tenancy approach
  • Queue/retry implementation
  • What is still missing for production readiness

Any review or suggestions would help a lot.

u/Dapper_Ad5360 — 5 days ago
▲ 232 r/microservices+19 crossposts

Walks the full cmd/compile pipeline in order: package names, data structures, and the SSA construction that drives inlining, escape analysis, bounds-check elimination, and register allocation, with flags to observe each phase directly.

This one took a while, it's probably the longest thing I've written on this blog. I wanted to do a proper end-to-end walkthrough of cmd/compile: real package names, real data structures, diagrams for the AST and SSA CFG, and the flags you actually need (-m, -m=2, GOSSAFUNC, -S) to observe each phase yourself rather than just take my word for it.

Covers the full pipeline: lexer → parser → type checker → IR lowering → SSA construction → optimization passes (inlining, escape analysis, BCE, nil check elimination, register allocation) → architecture-specific code emission.

Hope it's useful — happy to answer questions or push back on anything that looks wrong.

blog.gaborkoos.com
u/OtherwisePush6424 — 8 days ago
▲ 33 r/microservices+5 crossposts

Adding AI to Your ASP.NET Core App

What adding AI to an existing ASP.NET Core application actually involves - integration patterns, Microsoft Agent Framework, Azure OpenAI, and what to expect.

faciletechnolab.com
u/plakhlani — 7 days ago
▲ 38 r/microservices+1 crossposts

How to scale a Real-Time Driver Tracking System (UberEats/DoorDash scale)

How do delivery apps sync a driver's GPS coordinates in real time with a customer's map without melting the database? Writing every 2-second location ping to disk is an infrastructure nightmare. Here is the high-performance setup:

  • The Ingestion Shock Absorber: Drivers stream GPS packets via WebSockets to an API Gateway, which routes them directly to Apache Kafka to handle massive write spikes.
  • In-Memory Live State: A consumer pulls from Kafka and updates an active Redis Cluster using geospatial commands (GEOADD). The live location of the driver lives strictly in-memory during the delivery.
  • Targeted Fan-Out: The customer's app listens to a WebSocket connection. The backend uses Redis Pub/Sub rooms keyed by Order_ID to broadcast the location updates only to the specific customer and restaurant involved, avoiding global broadcast overhead.
  • Async Cold Storage: Once the delivery completes, the full GPS history is batched out of Kafka and archived in ClickHouse or an S3 data lake for mileage payouts and support audits.

Let's discuss: How would you handle calculating and updating the traffic-aware ETA on the fly without making expensive third-party Maps API calls every 2 seconds?

reddit.com
u/Silent-Weather76005 — 7 days ago

Over the past 4 years I've been building an OSS documentation tool designed for software architecture, would love any feedback you have

Hey folks,

My name is Dave Boyne, and I build and maintain my OSS project called EventCatalog. This is a documentation tool designed for software architects and teams that want to document their architecture (not just generic pages in confluence). It focuses on practices from domain driven design and software primitives rather than implementation details of your architecture.

Your docs are stored and versioned in git and everything owned by you and your team.

I built this 4 years ago as a personal need.. and now I get to work on this thing full time ❤️.

Anyway, I just thought I would share it with you, and if you have a spare few minutes, would love to get any feedback or initial thoughts you had about the project, about the ways you document things etc.

If anyone would like a deeper dive let me know happy to help and show you around too.

Have a great day.

u/boyneyy123 — 13 days ago

Swagger alternatives for teams with multiple microservices?

As our number of services has grown, our API workflow has become more complicated than we'd like.

We're reviewing Swagger alternatives including SwaggerHub, Stoplight, Postman, Apidog, and Insomnia to see whether consolidating our tooling is worthwhile.

For teams managing multiple services, what has worked best for you?

reddit.com
u/AffectionateAlps2523 — 14 days ago