Move message batching to uproxy social-network code
Currently we batch messages in socks-rtc. Batching is important for social networks that do rate-limiting. So! We should move rate limiting to the social network provider. :)
Interesting idea. I'm all for confining messy code like this to where the problem lies :-) Perhaps we can create a (re-useable) RateLimitingSocialProvider superclass-type-thing-situation for other networks with this issue.
good idea; it should be a very natural extension of handler/handler-queue.ts now I think about it.
On Tue, Jun 17, 2014 at 7:32 AM, trevj [email protected] wrote:
Interesting idea. I'm all for confining messy code like this to where the problem lies :-) Perhaps we can create a (re-useable) RateLimitingSocialProvider superclass-type-thing-situation for other networks with this issue.
— Reply to this email directly or view it on GitHub https://github.com/uProxy/uProxy/issues/230#issuecomment-46314479.
Lucas Dixon | Google Ideas
General queue-aggregation code is here: https://github.com/uProxy/build-tools/pull/8
Will work this into giant networking cleanup.
Batching has been removed from socks-rtc-net land in urpoxy-networking. Now we need to add it again to UI land.
Batching of signal channel messages is no longer in uproxy-networking, so this seems like it's now a must have to get uProxy working again.
Done with https://github.com/freedomjs/freedom-social-xmpp/pull/58