uw-labs / proximo

Interoperable GRPC based publish/subscribe
GNU Lesser General Public License v3.0
41 stars 16 forks source link

Add gcm backend #19

Closed thesyncim closed 6 years ago

thesyncim commented 6 years ago

updates #16 tests will be added in next CL

mjgarton commented 6 years ago

Do you know if gcm supports ordering guarantees? I believe it does not. If not, it's not suited to the target applications of proximo unfortunately.

thesyncim commented 6 years ago

according to their docs

Alternatively, if you have a single, synchronous publisher and a single subscriber, you could use a sequence number to ensure ordering

~which looks like our case we can ensure ordering~ more info here:

thesyncim commented 6 years ago

according to their doc there are some techniques to ensure ordering but this will increase complexity and latency for a small benefit?! whats your toughs on this?

mjgarton commented 6 years ago

Since this is non-trivial and there are potential latency and other issues, I think this should wait until there is a concrete use case to drive the development, so we can be sure it is actually useful in a real life production setting. I'm going to close this for now. Thanks for your work towards this anyway.