Perhaps I should explain a bit more.
We have gone to production with the latest available crossbar release 0.12.1 as a docker image.
We tried placing the image on a medium size server with 1024 meg ram dedicated to the image but it crashes after a couple hours,
I have found that it needs at least 2048 megs dedicated to the image for it to stay stable. It might run on less
but its just not staying stable for us unless it has enough ram.
Perhaps its a memory leak, perhaps its how we built the docker image, i’m not sure, the logs do fill up with an ascii error which I suspect might
have something to do with it, we are in a bit of a bind though because we cant risk running from master as it introduces other (sometimes worse) problems.
I was hoping I could just strip out anything not needed in order to optimize the image.
Which brings up another point our docker image is almost a gig in size as well, I would like to shrink that down
as much as possible, I tried to build it with alpine linux, I had it down to 300 megs at one point but it kept running into problems,
I ended up having to build from the recommended docker build to get any semblance of stability, so at least 600 megs is probably coming from OS.
We have to spin up new crossbar images as needed to support load, image size right now is entirely too big for rapid deployment, it takes several minutes to spin up a new instance
we would like to optimize it to fix both issues, stability and deploy time, I would appreciate any advice you might have in that regard.
On Sunday, March 13, 2016 at 6:10:18 PM UTC-7, Greg Keys wrote:
I know you can do custom crossbar installs with “pip install crossbar[all]”
Is there any documentation on the various components to include and or exclude in place of the [all]?
I would like to build a minimal crossbar router that includes only the router and tls transport,
excluding all the other components we don’t need like the web service, manhole cover, node process guest etc…
Our current router has been requiring atleast 2gb ram and we would like to optimize it and remove any components
that we arent using.