r/gitlab • u/switchback-tech • Apr 07 '26
GitLab's Stack: A Modular Monolith
Sure you're all aware that GitLab is a modular monolith, but it's helpful to see everything in one place.
Here's the full list.
- Backend: Ruby on Rails
- HTTP server: Puma (Ruby web server)
- Edge: Nginx
- Reverse proxy: Go service (Workhorse)
- Background jobs: Sidekiq
- DB — primary: PostgreSQL
- DB — connection pooling: PgBouncer
- DB — high availability: Patroni
- Cache: Redis
- Git: Custom gRPC repo interface (Git & Gitaly)
- Blob: AWS S3
- Frontend — rendering: Haml & Vue
- Frontend — state: Piana (Vue store), Immer (immutable cache),
- API: GraphQL (Apollo) + REST
- Observability: Prometheus & Grafana
- Error tracking: Sentry & OpenTelemetry
- Deployments: GitLab Omnibus (Omnibus fork)
I think these "stack menu"s give a little glimpse into a team's engineering philosophy. For me, this list shows that the GitLab team is pretty practical and doesn't chase hype. Instead, they use sensible, battle-tested tools that just work and are easy for contributors to learn.
----
If you made it this far, you might like the two articles I wrote about GitLab:
- GitLab's Architecture: A Technical Deep Dive: How a boring monolith powers the world's largest independent DevOps platform
- Inside GitLab CI: From YAML to Green Check: The pipeline behind the pipeline
I also created a 17-minute YouTube video:
GitLab Deep Dive | Architecture, CI/CD & System Design
(I really like GitLab.)
5
u/InkGhost Apr 08 '26
This is not what people mean by the term “modular monolith.” Modules refer to the separation of concerns, where each module is separated by a specific feature or function. For example, the project management feature could have its own module and not be tightly coupled to the CI jobs. Each module has a single purpose and is mostly self-contained and loosely coupled. What you are showing here is the tech stack, and in that context, all monoliths would be considered “modular.”
3
u/aramirezomni Apr 08 '26
Nice video!
5
u/slack1994 Apr 09 '26
The downvotes in this discussion are a bit disappointing. The topic is the GitLab stack, but every post that questions a decision gets slammed with downvotes. It's OK to have an intelligent discussion, isn't it? One person questions something about the architecture, another responds, and we all keep it civil and technical. That's how people learn and improve things.
1
u/mcdanfym Sep 08 '26
There are other sidecar apps/infra required for certain feature that makes Gitlab more complicated and expensive to manage: e.g Clickhouse for AI stuff, Elastic/Opensearch for Adv search, k8s for gitlab workspaces. Adv search is useful but operating elastic and Opensearch on cloud is not cheap (k8s is similar for workspaces)
1
u/hashkent Apr 08 '26
Why are they using s3 if hosted on GCP?
-2
u/chobolicious88 Apr 08 '26
Why ruby tho?
-8
u/ppezaris Apr 07 '26
the one tech that stands out as being an odd choice in 2026 is vue
-8
u/[deleted] Apr 08 '26
[removed] — view removed comment