-
Notifications
You must be signed in to change notification settings - Fork 198
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
[Question]: Concurrency and HTTP API (express) for Carbone #141
Comments
Just an update here: I found a repository by @isaudits which seems to be useful: https://github.com/isaudits/docker-carbone - Will look into it. |
It's worth noting that Carbone invokes LibreOffice to do the PDF conversion, so your architecture of how you host/setup Libre is going to be of importance here for high volume use. So while Carbone itself is just an NPM package you can include in a node API and all the regular considerations about threading and concurrency in a node/express JS app apply there, how Libre is invoked and resource managed will be the consideration if PDF conversion is done in a render. |
Hi @mwllgr ! If you're still interested I have a Docker image publicly available I just updated to containerize Carbone and which provides an HTTP API in front of it: If you use Node.js you can easily integrate this container with the |
Hi, has anyone here ever wrapped Carbone into an API with express?
And how about concurrency: Can Carbon generate e.g. 30 PDFs per second when multiple requests come in?
I've never used node in production so I'm not an expert here.
Would be grateful if someone has an answer! :)
The text was updated successfully, but these errors were encountered: