Hi all,
Can anyone suggest How scalable is Camunda for large-scale enterprise applications?
Thanks in Advance
Kamal Hinduja
1 Like
cma
June 12, 2025, 3:01pm
2
Hi @kamalhinduja ,
Interesting question, but probably too broad to answer.
There are plenty of ways how you can scale Camunda. E.g. if most of the work is done by task workers then you can just create more task worker instances. Itβs basically the same for micro processes with embedded engine, those can also be implemented as workers on a message queue and you can create more instances on demand.
So it really depends on your needs and how much time and resources you want to invest to make the application highly scalable.
Hi @kamalhinduja ,
Camunda 7 and Camunda 8 differ significantly in architecture and scalability. Iβll compare both carefully:
Camunda 7 Scalability
β Architecture
Monolithic architecture (though can be clustered).
Typically runs as part of a Java Application (embedded engine) or as standalone server (shared engine).
Uses RDBMS (PostgreSQL, Oracle, etc.) as central state store.
Process state, history, and job data all live in relational DB.
β Strengths
Mature, stable, highly battle-tested.
Can handle tens of thousands of concurrent process instances if properly tuned.
Database clustering, application server clustering (e.g., WildFly, Tomcat).
Horizontal scaling possible (shared DB, multiple engine nodes).
Sophisticated job executor tuning.
β Challenges at very large scale (> millions of instances)
Database becomes the bottleneck.
DB contention on writes (especially for jobs, history, and execution state).
Complex failover/recovery as DB lock management can impact uptime.
Heavy history data may require separate archiving strategy.
Async continuations & external task workers scale well, but long-running processes need careful design.
β Typical sweet spot:
50K - 500K concurrent active process instances with good DB design.
Large batch processing is doable, but requires database tuning.
Excellent for enterprise apps with moderate to high complexity, but not hyperscale cloud-native workloads.
Camunda 8 Scalability
β Architecture
Cloud-native microservice architecture (designed for scale).
Zeebe workflow engine (event sourcing based).
State stored in RocksDB on local disk (no RDBMS for runtime state).
ElasticSearch for operational data.
Kafka-like partitioned model.
β Strengths
Built for massive horizontal scaling.
Partitioned, distributed event log allows millions of workflow instances.
Much higher throughput than Camunda 7.
External task workers are easier to scale (gRPC-based job workers).
ElasticSearch decouples history queries from workflow state.
Suitable for real-time, IoT, telecom, finance, etc.
β Challenges
Zeebe is eventually consistent β design mindset must change.
Requires operational knowledge of Kubernetes, ElasticSearch, S3 backups, etc.
Partition sizing requires capacity planning.
Complex backup & restore procedures.
Maturity of some advanced BPMN features is still catching up with Camunda 7 (though improving fast).
β Typical sweet spot:
500K to 50M+ active process instances depending on partition count.
Linear scaling across nodes.
Very well-suited for hyperscale workloads, microservices orchestration, and streaming pipelines.
Quick summary table
Feature
Camunda 7
Camunda 8
Architecture
Monolithic + DB
Cloud-native, distributed
Scalability Limit
DB bound, 100K-500K
Horizontally scalable, 50M+
Database
RDBMS (Postgres, Oracle)
RocksDB + ElasticSearch
Job execution
Thread-based
Distributed workers
Best for
Traditional enterprise apps
Cloud-native, high volume
Deployment
Java app server
Kubernetes, SaaS or Self-managed
State consistency
Strong consistency
Eventual consistency
Enterprise-level Scalability Use Cases
Use case
Camunda 7
Camunda 8
Banking core systems
Telecom IoT event handling
Insurance claim processing
High volume API orchestration
Complex human workflows
Streaming event orchestration
Rule of thumb recommendation
If youβre building traditional enterprise apps β Camunda 7 is still great, mature, stable, lots of plugins.
If you need hyperscale, cloud-native orchestration β Camunda 8 is the future-proof choice.
1 Like