Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

1
Recommendations for network throttling multi-tenant Flask app?
Post Body

Hello, I currently have a Flask app that is using flask-limiter to throttle requests. I host the app in a docker container per each of my customers so the current throttling mechanism does not need to decipher which client is currently accessing the app. I would like to convert the app into a multi-tenant app so that only one docker container needs to be launched and each tenant will be utilizing the same host. Is there a way (or better alternative) to throttle requests coming from different clients?

To put this in perspective, the clients currently connect using a subdomain e.g. https://myclilent.host.com or https://otherclient.host.com and the app retrieves data based off the subdomain. Any advice will be appreciated! Thanks

Author
Account Strength
90%
Account Age
12 years
Verified Email
Yes
Verified Flair
No
Total Karma
2,201
Link Karma
1,352
Comment Karma
849
Profile updated: 1 month ago
Posts updated: 11 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
5 years ago