Web services often enforce rate limits on requests to their APIs. Let’s talk about a few use cases for API rate limits.

Cloud providers, like AWS (Amazon Web Services) and GCP (Google Cloud Platform), charge applications per API request and enforce limits based on their service plans.

When building a web service, depending on what types of resources you serve, you may want to ensure that your API provides fair access to your clients.

From a security perspective, rate limiting your service ensures that no single client can spam your endpoints and monopolize access to your resources. The rate limiting…

All publicly-traded companies and certain individuals use EDGAR — the Electronic Data Gathering, Analysis, and Retrieval system — to submit required, time-sensitive documents to the U.S. Securities and Exchange Commission.

Photo by <a href=”https://unsplash.com/@krystagrusseck?utm_source
Photo by <a href=”https://unsplash.com/@krystagrusseck?utm_source
Photo by Christa Dodoo on Unsplash

The Edgar system provides an accesible web interface that allows anyone to search these filings. For those who maybe don’t know what exactly they are searching for or are interested in exploring the data on their own; the SEC provides daily indexes of the data available for download.

Here is how I parsed the text contents of the crawler index files. In the file crawler.20210122.idx, …

Image for post
Image for post

I’ve heard the question since childhood and you probably have too, “Is a glass half empty or is it half full?”. I always accepted this question as an exercise in contemplating the duality of nature. This morning I read a quote by Oprah Winfrey that made me think differently.

Be thankful for what you have; you’ll end up having more. If you concentrate on what you don’t have, you will never, ever have enough.

“Is a glass half empty or is it half full?”

The question is about choice of perspective and attitude.

Consider when you choose to see the…

I recently set up a new project using Phoenix, MySQL, and Docker.

I decided on Phoenix because it has the best out of the box scalability properties of any web framework I know of. I’m a fan of the Elixir programming language and its interoperability with Erlang. It uses the BEAM virtual machine under the hood which has served telecom applications for decades under strict requirements of high availability and fault tolerance.

I went with Docker because it allows me to deploy the project anywhere containers are supported and it’s the container technology I’m most familiar with.

Why not PostgreSQL…

Melia Capital

I’m on a mission to make finance and technology more accessible. I’m a computer programmer, engineer, data and distributed systems enthusiast.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store