MicrosoftStudentChapter / Linky

An open source URL shortener server with custom URLs, expiry dates being developed in GoLang
6 stars 16 forks source link

testing the limits #24

Open utkarsh-1905 opened 3 months ago

utkarsh-1905 commented 3 months ago

can somebody write a bash script to benchmark the server and see what max concurrent load it can handle

akshat-nathani commented 3 months ago

ill be taking this issue

utkarsh-1905 commented 3 months ago

Great, I will expect to read a detailed plan before you start creating something, will help to understand your methodology

akshat-nathani commented 3 months ago

if possible can you please tell me where should i start with so that i can start to learn and work on this

utkarsh-1905 commented 3 months ago

@kyzolia you can start by using apache benchmark to test the api calls and their performance, and then look for concurrency based issue, locking issues in redis, basically what happens when 2 requests come with same parameters, i.e they clash at the same time? Think about similar cases where the server can break, try writing unit tests in go to test out capabilities of different function, discuss this with others to get more insight

akshat-nathani commented 3 months ago

okay thanks for the help, ill now start to work on this issue

Harshit24401 commented 3 months ago

Add me to this issue please

utkarsh-1905 commented 3 months ago

@kyzolia, what's the progress?

akshat-nathani commented 3 months ago

im learning more about it harshit will be helping me with it

DEEPESH-845 commented 3 months ago

add me to this issue please