nylas / nylas-mail

:love_letter: An extensible desktop mail app built on the modern web. Forks welcome!
https://nylas.com/nylas-mail/
MIT License
24.8k stars 1.38k forks source link

Rate limit spikes in request to n1Cloud endpoints #3506

Closed flyingclimber closed 7 years ago

flyingclimber commented 7 years ago
Are there any related issues?

No

What operating system are you using?

N1 Cloud

What version of Nylas Mail are you using?

All Bug?

Do you have any third-party plugins installed? If so, which ones?

Unrelated

Is the issue related to a specific email provider (Gmail, Exchange, etc.)?

No

n1Cloud service should protect itself by limiting concurrent streaming connections and other requests per n1 ID/IP

We have code that does this in the Python codebase using a connection count held in Redis and should be able to mimic the same strategy for n1Cloud.