Running Bonita in a Docker container

1
+1
-1

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.

Comments

Submitted by david_131 on Mon, 04/10/2017 - 12:00

Anyone with experience in running Bonita on cloud computing ?

Submitted by laurent.leseign... on Wed, 03/28/2018 - 09:31

Hi,

you can give a try to https://github.com/Bonitasoft-Community/docker_bonita/commit/97009c8af3a... that speed up startup time

2 answers

1
+2
-1
This one is the BEST answer!

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

1
-3
-1

Docker? For Production? Java?

Always use a dedicated/Cloud instance. Docker is just to relient on the OS and hardware it's running on.

My personal feeling, and don't forget Cloud is relient on good internet...to whereever AWS is...half way round the world? Never get good performance like that.

Notifications