Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

258
Visualizações
Running flask app with docker & kubernetes

The Flask docs say:

While lightweight and easy to use, Flask’s built-in server is not suitable for production as it doesn’t scale well and by default serves only one request at a time.

I'll be running my flask app in a docker container under kubernetes.

Am I right in thinking that the above advice isn't relevant in my case, since I can just run multiple pods, and the fact that they're single-threaded isn't an issue (perhaps a benefit if anything)?

about 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

Depends on the number of clients that might connect with your servers at single time. You will be able to serve as much instances that you turn on (containers). Modern webservers today handles hundreds or thousands requests simultaneously.. if your clients are end users (so you are kind of website) and expected a lot of traffic - it won't be enough. If it for few requests, like another module in your system which connect to your webserver it might be enough. BTW check for WSGI before spinning up containers, it might solve your problem.

about 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda