uProxy-p2p icon indicating copy to clipboard operation
uProxy-p2p copied to clipboard

Move message batching to uproxy social-network code

Open iislucas opened this issue 12 years ago • 6 comments

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. :)

iislucas avatar Jun 12 '14 23:06 iislucas

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.

trevj avatar Jun 17 '14 14:06 trevj

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

iislucas avatar Jun 18 '14 03:06 iislucas

General queue-aggregation code is here: https://github.com/uProxy/build-tools/pull/8

Will work this into giant networking cleanup.

iislucas avatar Jun 24 '14 20:06 iislucas

Batching has been removed from socks-rtc-net land in urpoxy-networking. Now we need to add it again to UI land.

iislucas avatar Sep 08 '14 00:09 iislucas

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.

dborkan avatar Sep 22 '14 22:09 dborkan

Done with https://github.com/freedomjs/freedom-social-xmpp/pull/58

lucyhe avatar Oct 02 '14 15:10 lucyhe