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

Configuration settings? #176

Closed
jds-amplify opened this issue Jun 22, 2021 · 1 comment
Closed

Configuration settings? #176

jds-amplify opened this issue Jun 22, 2021 · 1 comment
Labels

Comments

@jds-amplify
Copy link

Hi,

How does one set the number of workers, and which host/ip the server binds to?

Thanks.

@dselivanov
Copy link
Collaborator

There is no option to specify number of workers - each new connection is getting assigned with new worker process. You will need to use a proxy/load balancer such as HAproxy to limit number of workers and force connection reuse.

which host/ip the server binds to?

See very first example in the readme:

backend$start(app, http_port = 8080)

Also I encourage to check https://github.com/rexyai/RestRserve/blob/master/CONTRIBUTING.md. If you have a question - welcome to gitter. This project uses issue tracker only for bug reports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants