Hi,
I have an application developed in Scala with Akka. The purpose of the app is to call external services and SQL databases (using JDBC), do some processing, and return a parsed result, on a recurrent basis. The app uses akka cluster so that it can scale horizontally.
The application is dockerized and when we deployed it manually (with a simple docker run), the app works like a charm and processed ~2500 calls/second.
But when we deployed it with Rancher, the app doesn’t work, the SourceScheduler stop working and doesn’t tick evvery second. Also, the app uses more CPU resources, and way more RAM (1.3GB in production vs ~350MB on my machine)
The production app runs in a JRE-8 alpine-based Docker container.
I inspected the containers with or without Rancher, and the only difference I saw is :
Without Rancher :
"Path": "bin/scala",
"Args": [],
With Rancher :
"Path": "/.r/r",
"Args": [
"bin/scala"
],
What is the /.r/r script ? And can we remove it from conf ?