How would you create a web API with streaming input and output (eg stocks monitoring system) without tools like Kafka and Spark?
Periklis Gkolias

Periklis Gkolias @perigk

Location:
Greece
Joined:
Feb 8, 2018

How would you create a web API with streaming input and output (eg stocks monitoring system) without tools like Kafka and Spark?

Publish Date: Feb 21 '20
18 6

Comments 6 total

  • Felipe Marques
    Felipe MarquesFeb 22, 2020

    Maybe using websocket? Or Redis pubsub feature?

    • Kimmo Sääskilahti
      Kimmo SääskilahtiFeb 22, 2020

      I also thought first of websockets. gRPC is also worth looking into. Or maybe GraphQL streaming, don't know how that works nowadays.

      • Periklis Gkolias
        Periklis GkoliasFeb 23, 2020

        Websockets sounds a great idea. And it is relatively easy to implement a WS client/server.

        I have never heard GQL streaming and redis pubsub. Will totally look into

        Thank you guys

  • Matthew Daly
    Matthew DalyFeb 23, 2020

    My first choice would probably be WebSockets, but it might be worth a look at server-sent events for a possible simpler solution.

  • Periklis Gkolias
    Periklis GkoliasFeb 24, 2020

    Thank you Nico. Not sure if long polling is a viable option in my book, but I will totally try the rest :)

Add comment