C
C#2y ago
Hulkstance

Hosting an API

What would you guys use to host a websocket stream API such as https://docs.deribit.com/ or https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md in .NET. Including rate limitting. People say that the exchanges use outdated technology, but I can't find a better solution either. The first one uses JSON RPC, the second one uses raw websockets. What I am afraid of using raw websockets is the fact that it doesn't provide the following qualities out of box: memory / scaling / downtime / deployment / resilience / protocol handling / reconnect / metrics / logs / grouping / fanout / security. SignalR provides them but it is kinda limitting the users to using SignalR client which is not available for all languages. I suppose https://devblogs.microsoft.com/dotnet/announcing-rate-limiting-for-dotnet/ would be great for rate limitting. What's your opinion?
0 Replies
No replies yetBe the first to reply to this messageJoin