element-hq / riot-meta

A place to experiment with tracking features at a higher level than Riot web/iOS/Android.
25 stars 6 forks source link

Multiple invite support #2

Open lampholder opened 7 years ago

lampholder commented 7 years ago

If I understand it correctly:

The chosen solution is to implement retries. In Riot Web, if we receive a 'M_LIMIT_EXCEEDED' response, we queue the request up to try again in 5 seconds.


Linking for reference:

lampholder commented 7 years ago

@dbkr - can you confirm my understanding of the problem + solution is correct?

Additionally, solving this problem client-side could be implemented quite differently across different clients (exponential vs fixed window, retry counts, client-side rate limiting, etc). How much do we care about Riot Web and iOS/Android solving this in the same way?