TPS = connections / latency

By | January 5, 2020
Share the joy
  •  
  •  
  •  
  •  
  •  
  •  

If one connection supports 5TP, then 5 connection supports 25TPS. In another word, if a connection supports 5TPS, that means request latency is 200ms. We have:

TPS = number_of_connection / request_latency

So TPS relates to TPS per connection and number of connection.

How to find max TPS?

  1. set connection to 1, literally increase TPS from 0 to 10, 20, 40, …. Find the service max TPS
  2. set connection to 2, literally increase TPS from 0 to 10, 20, 40, …. Find the service max TPS
  3. set connection to 4, literally increase TPS from 0 to 10, 20, 40, …. Find the service max TPS
  4. set connection to 8, literally increase TPS from 0 to 10, 20, 40, …. Find the service max TPS
  5. set connection to 16, literally increase TPS from 0 to 10, 20, 40, …. Find the service max TPS

In that case, find the max TPS by different connection.