Noticing the turn based game system in Elixir, I’d like to suggest building out a global message broadcasting service on Fly, officially.
The API would look something like
- To publish to
topic1, do a
https://cast.fly.io/accountID/topic1with the message in the body.
- Use a EventSource or WebSocket on
https://cast.fly.io/accountID/topic1object in a browser or app to subscribe.
There are a few competitors in the space like PubNub, Fanout.io etc, but having this as an add-on on Fly with cost follows pricing (based on connected time and bandwidth) would be super-useful.
If this was built on Fly with Phoenix/Elixir it could accept connections close to the user / wherever there’s capacity and could distribute connections pretty well.