Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New light Docker image for serverless deployment #152

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

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 pierre added the DOCKER label Aug 28, 2019
Signed-off-by: Pierre-Alexandre Meyer <[email protected]>
docker/README.adoc Show resolved Hide resolved
@@ -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 :-)

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.

None yet

2 participants