Running Bonita in a Docker container
Hello,
I have to deploy bonita in production for around 30 users.
For now I have done a quick POC using a modified official bonita docker image running in an Amazon EC2 cluster with a postgres/RDS database.
The service/task has a lot of CPU/RAM available but bonita is really slow. I tried to tweak the JVM/Tomcat settings without success. It seems the JVM process & threads have a hard time exploiting resources available to the container.
Does anyone run bonita in production in containers (with the tomcat bundle) ?
Otherwise is it clearly recommended to run bonita on dedicated servers or cloud instances ?
We aim for a smooth/snappy user experience.
I have been running Bonita in production for a year in a Kubernetes cluster @OVH with Traefik serving HTTPS.
Docker image:
- Ubuntu 18.04
- OpenJDK 8 latest
- Apache Portable Runtime (APR) 1.6.3
- Tomcat Native Library 1.2.17
- Tomcat 7.0.76 + Bonita 7.5.4 bundle
- PostgreSQL JDBC Driver 42.2.4
Kubernetes 1.10.4
Docker 18.03.1-ce
Postgres 10.3
Comments
Anyone with experience in running Bonita on cloud computing ?
Hi,
you can give a try to https://github.com/Bonitasoft-Community/docker_bonita/commit/97009c8af3a... that speed up startup time