Member-only story

Employ simple command “ab” to choose perfect Web-framework

Nikhil Verma
5 min readJan 28, 2020

Choosing the web framework for a new application to be laid down to use, is really an important decision to be made; from the perspective of traffic it can handle and response time of requests coming to it. But problem comes to choose the best framework that could both suite your application and could really be robust enough to handle concurrent requests without being fed to problems like C10K.

What is C10K problem ?

  • It was a challenge for web servers to begin handling ten thousand concurrent connections as requirement for modern web.
  • The initial public release solving this issue was made in 2004, meeting this goal by relying on an asynchronous, events-driven architecture

But before everything else lets brush up our knowledge on how web works? Attached is cycle followed by requests raised by users like us:-

Looking at most vulnerable part of above figure i.e. Application, knowledge of Web Framework and how it performs is really important before putting one into deployment. The problem become worst when there are plethora of options available and you need to compare them all in a Mesh kind of fashion.

One of the many possible solutions at such times is to employ load testing tools as Apache Bench marking tool(“ab”)…

--

--

Nikhil Verma
Nikhil Verma

Written by Nikhil Verma

Knowledge shared is knowledge squared | My Portfolio https://lihkinverma.github.io/portfolio/ | My blogs are living document, updated as I receive comments

No responses yet