That's interesting do you have some stats on that?

It would be interesting to compare the volume that goes through REST and the volume that goes through websockets, and also number of users serviced

And also compare the resource needed

Scaling to 1 billion users is still a big challenge for nostr, given that it's mainly grass roots

Reply to this note

Please Login to reply.

Discussion

No unfortunately I don’t have data I can share, but on big market platforms the clients want to know market liquidity every 5ms. High Frequency Trading demands information about the liquidity (not transactions) of every consolidated limited order book (every ticker) at a ferocious rate, in order to execute arbitrage.

Every HFT client wants every limit order of every ticker available on every trading terminal, every 5ms. People pay a lot of money for these feeds and the feeds are all built on websockets.

Pro Tip: clients don’t poll the exchange. The solution to the traffic and scalability problem lies in the choice of database framework.

Financial markets are orders of magnitude more traffic than all of social media, equivalent to millions of Tweets/second. These are the people renting all the antenna slots at data centres and dropping $20m on superconducting lasers to get insane bandwidth at insane latency.

I might be able to dig something up to share next week.

I’m pretty sure these were the kinds of stories that finally got me to look at Bitcoin:

https://youtu.be/WyPPaiZEYO4

HFT's current stage is a point on a really interesting through-line of how systems align themselves to push information exchange to its limits. We've gone from shouting hawkers bartering in open-air markets to skyscrapers filled with floors of traders shouting into phones to 5 quants doing math in a basement server room.