Recent Posts
Building nginx from source and installing it
Today I was trying out the latest version of nginx. I was trying to build it from scratch on my MacOS machine, and it seemed pretty straight forward to build and use :D Let’s see what I did
Note: I assume that you have development tools like make installed. I installed them by doing xcode-select --install
For detailed docs on configuration for compilation, check https://nginx.org/en/docs/configure.html
The latest version of nginx as of this writing is 1.
read more
Rate Limiting Basics
In this post, I wanna jot down my thoughts on rate limiting while I ponder about it and learn more about it and understand the why, what, how
So, what’s rate limiting? Before going there to answer that question, let’s see a scenario that can happen in the realy world
Let’s say you build a service. It’s a long running service that responds to network requests, for example HTTP requests to an HTTP API served by your service
read more
Mocking APIs and embedding code snippets for API usage
Recently I was checking out Kong’s Open Source Kong API Gateway and Kong’s documentation on services and routes when I stumbled upon Mockbin, an interesting service by Kong, and it’s open source! mockbin source code is here - https://github.com/Kong/mockbin . According to their website, in short what Mockbin does is - Mockbin allows you to generate custom endpoints to test, mock, and track HTTP requests & responses between libraries, sockets and APIs.
read more