Enhance the quality of your API calls with Client-Side Throttling

If you are a backend engineer and work with high load environment you should be familiarized with the old Server-Side Rate Limit, mainly for security concerns. Didn’t you ever heard about Server-Side Rate Limit? It is a technique to limit the amount of requests that the server or API can handle in a defined period of time, and that limit can be set per user or not. Throttling is often used to limiting traffic on the server, mainly as a way to protect against DOS Attack. Read More…

Speeding up your MongoDB queries up to 30 times with Tornado

Sometime ago, I was facing a problem using MongoDB to perform heavy operations like Aggregations over a considerable amount of documents. Fortunately, most of them were repeating, like when your projects are fetching contents from database to make the same menu structure, it doesn’t change every second. We already know how is the recipe to solve that: Cache it. I was using Tornado and it’s common to use Motor to perform async database operations over MongoDB. Read More…