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

215
Visualizações
Are Web Workers good for parallel stream calls from server(lots of data)?

Are Web Workers good for parallel stream calls from server(lots of data)? (I use GRPC for interacting with backend)

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

0

Well, web workers are great but they are intented to be used for computational expensive tasks which are CPU bound, because tasks like those are the ones that can block your UI thread and ruin UX by freezing application completely until CPU bound tasks are not being resolved.

On the other side, I/O operations handled by javascript async execution are concurrent and by the nature of Event Loop they will not block UI thread because once call is stared it will be immediately offloaded from UI thread, until resolved, and like that async call will never be blocking for application UI - meaning there is really no any significant benefit if you decide to move async execution to dedicated worker thread via web workers in javascript.

about 4 years ago · Santiago Gelvez 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