Le 17/06/14 10:01, Fernando Jiménez Moreno a écrit : > On 17/06/2014, at 00:11, Adam Roach <[email protected]> wrote: >>> I know fernando (from TEF) wanted to avoid the cost of setting up web >>> socket connections on the client if possible, since we already have a >>> connection to the push server we could potentially leverage. >> In talking to Doug Turner, he's had some concerns about the speed with which >> push notifications are delivered to the client. For the kinds of rapid-fire >> messaging we're talking about here, it's almost certainly not up to the task. >> >> I'm a little confused about the concerns regarding short-lived websockets >> connections from the mobile device: these are just TCP connections, which >> demonstrably work just fine from mobile devices. > Actually, my main concern here wasn't related with the client but with the > server handling all these sockets connections. It seemed something harder to > scale than the SimplePush based alternative. I think it would be harder to guarantee that the messages get deliver on time (in the call init window) with SimplePush even when the system is on high load.
Keeping a bunch of websockets is mostly a cost concern rather than a hard technical problem to solve. also related: we're kind of building an efficient bi-directional pipe service at Services - https://wiki.mozilla.org/CloudServices/FirefoxMobileServices/ChannelService > Anyway, it seems that you already drafted a good plan for this and since > these connections are going to be kept only during the call setup process I > am ok with the proposed solution for the client side. On a first look, I like the solution as well - I don't know what's the detailed planned agenda, but I'll make sure more folks at Services get a chance to give some feedback on that architecture this week, before we rush into coding it :D Cheers Tarek > > Cheers, > > / Fernando > _______________________________________________ > dev-media mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-media _______________________________________________ dev-media mailing list [email protected] https://lists.mozilla.org/listinfo/dev-media

