Little's Law to calculate threads in order to service client's requests.

376 Views Asked by At

I am totally dummy in math so do't mind if my question is silly, but i need help. According to an Article Little's Law can be used to determine number of threads required in the pool to effectively service client's requests. I am confused that how to apply it in the following scenario?

Requests are arriving at a server at the rate of 10 Requests/second. Each request takes 2 seconds to complete. How many threads are required?

L= λ*T -> L=10*2=20

20 threads are required. Is it correct? if not then please let me help.