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

147
Visualizações
Displaying data from multiple server endpoints

I'm strugling with finding the right setup for my problem.

I have a react based frontend that needs to display alarms, that are stored on multiple servers. The client should also be able to show async if an alarm is added to any server.

What i'm strugling with, is if either of there two solutions is best, or if another solution is better.

A) The client (frontend) communicates with the api of each server, and makes a socket connection with each server.

B) The client only communicates with the api + socket of the server that hosts the client, and the server gets the data from the other servers.

Any input would be appreciated. Thanks :)

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

the best way would be to implement a message broker service such as Kafka or ActiveMQ, this process is referred to as pub and subscribe.

A good explanation has been given in the following article. https://dev.to/victorgil/using-apache-kafka-to-implement-event-driven-microservices-af2

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