5

Can I just run the gRPC Python server in production or do I need something like gunicorn in front?

UPDATE 2020-01-05: To be more specific to 0script0 follow up I add: ... without making security concessions?

2 Answers 2

-1

Yes, running a gRPC Python server in production is fine.

Sign up to request clarification or add additional context in comments.

Comments

-1

No. You should have at least nginx (or other) with grpc upstreams.

5 Comments

Could you support your answer with research?
Can not understand your question. At least you could set up a number of upstream servers, authentication, timeouts and lot more with nginx.also to configure logg9ng and default responses in case upstream is down.
My question asked if I can run it directly in production without something in front. Your answer states no but does not say why?
Because it allows you to balance multiple upstreams at least and handle dozens of situations like timeouts, max body size, auth, connections and so on.
Ok sorry, let me refresh my question "Can it be run in production without making security concessions?"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.