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

113
Visualizações
Axios get request via NextJs is taking too long when under load

I have a page that makes API call to a Django based backend in getInitialProps(). This call is taking 50-70s on average. I'm using Axios request/response interceptors to log the request duration. Initially we were assuming it was backend that is slow, but it seems to return a response in fraction of a second while at the same time NextJS application which is under 7req/s load is taking more than a minute. Also we see a significant increase in memory during this load.

Any hints as to how we can debug this? We're using Node 10 and Next 10.

about 4 years ago · Juan Pablo Isaza
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