Skip to content

Conversation

@pierre
Copy link
Member

@pierre pierre commented Aug 28, 2019

This light image can be deployed in serverless environments (e.g. Google Cloud Run). Among differences with the main image:

This also reduces the default Xms value to 1G. I don't think we need that large of a heap nowadays (other defaults should probably be reviewed at some point).

pierre added 3 commits August 23, 2019 08:38
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
@pierre pierre added the DOCKER label Aug 28, 2019
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
@@ -0,0 +1,14 @@
org.killbill.security.shiroNbHashIterations=1
org.killbill.jaxrs.threads.pool.nb=5
org.killbill.payment.plugin.threads.nb=1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are going from one extreme to the next :-)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, for serverless deployments, the payment integration doesn't really work out of the box:

  • Ruby plugins are too memory hungry
  • OSS Java payment plugins are for gateways which require IP source whitelisting (unpredictable)

It's really a subscription-only profile which should be deployed :-)

@pierre pierre force-pushed the master branch 4 times, most recently from 1b7d32c to b6604cd Compare March 22, 2021 06:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants