-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I have an external server, and I can ask it for data with a request over http. However the reply comes in on a different listening websocket (using Portal: https://github.com/charJe/portal/ ). The reply will contain the same ID I sent in my request, so I'll be able to identify it, however, there'll be plenty other incoming messages interleaving.
As an alternative I was considering actors, f.ex. https://github.com/naveensundarg/Common-Lisp-Actors ,which seems simple enough. But the actor paradigm seems to require that all my code lives in actors. While I could make an actor that receives a message from the websocket listener when a message is incoming, it's a bit of a cumbersome setup compared to the linear looking code above. Since the message coming in will be decoupled from the request asking for the data, so it feels awkward. But maybe I'm thinking about it all wrong.