C
C#17mo ago
iskepes

❔ protocol for sending small amounts of data for long periods of time

What the title says:) I was thinking between mqtt or grpc, maybe just websockets? But the pub/sub model of mqtt seemed like the most suitable one considering there will be quite a few clients (possibly hundreds, which will ping the server every few minutes with couple of KB of data at most) and just one server. Thanks for your input 🙂
3 Replies
canton7
canton717mo ago
I suspect it probably doesn't matter much, as long as you're not forcing everyone to keep a connection open all of the time. HTTP, gRPC, MQTT, they're all going to cost very little with low data rates The advantage of something like MQTT is that the broker can cache messages for you if your server needs to restart; the disadvantage is that you need to run a broker
iskepes
iskepes17mo ago
Yeah, ill try to stick with mqtt for now and see how it goes, advantages like that is what will make it easier to use.
Accord
Accord17mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server
More Posts