In this article, we build and simple application using Uvicorn and perform load testing using the locust framework

Stay at the end for bonus on how to scale the server to run on multiple cores


Uvicorn is a lightning-fast ASGI server implementation, using and .


An open-source load testing tool. Define user behaviour with Python code, and swarm your system with millions of simultaneous users.


->| will contain our server code will contain locust test configuration
User1 and are to simulate dummy users
Install required Libraries
pip install uvicorn
pip install locust

Go ahead and paste this code in

This may look bigger…

In this article we are going to take a look at very important interview point of view problem (Maze problem) and how to solve that problem step by step in python.

If you are here just for the program scroll at the end of the article

A maze is a 2D matrix in which some cells are blocked. One of the cells is the source cell, from where we have to start. And another one of them is the destination, where we have to reach. …

Part 1:DFS using recursion <=You are here

Part2: DFS using iteration

Part3: Leetcode and Binarysearch problem solving using DFS

Part 4: BFS tree traversal

Part 5: Leetcode and Binarysearch problem solving using BFS

While preparing for coding interviews and competitive programming trees are very important and must know data structure. One should be comfortable with tree operations such as inserting a node in a tree and delete a node from tree and tree traversals. Speaking of traversal there are two ways to traverse a tree DFS(depth-first-search) and BFS(breadth -first-search) . …

Nikhil Chauhan

Python enthusiast, love to explore and perform experiments on python projects

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