How to setup a load test via Locust

Walkthrough of how we can use Locust to set up a simple test for a mocked API Locust.io website Hello there, Recently at my workplace, we had to ship the rewrite of an API from Ruby on rails to Go. This was a critical API for the business and we wanted to see how it … Continue reading How to setup a load test via Locust

Duck Typing in python

Quite simply put, Duck typing gives a programmer the ability to not worry about the type of a class rather perform the required operations. Let's take a simple code example as below: https://gist.github.com/gaurav-singh/f82126b921e80519c9fb19d95f6556e7 If we execute this code: QuackedLouder QuackTraceback (most recent call last): File "/Users/gaurav/personal/development/grasp-python/base/advanced/duck_typing.py", line 33, in <module> MakeItQuack(Eagle()) File "/Users/gaurav/personal/development/grasp-python/base/advanced/duck_typing.py", line 29, … Continue reading Duck Typing in python