Search code examples
performanceperformance-testingquery-performance

How much tps should i achieve on a single node api?


I just did coding a service with all working functionality, now I am starting to worry about performance. without any change to current code, I get around 500-600 tps. And then I started to enhance my code and get around 1100-1200 tps(just code without increasing vm specs). Is this enough? my answer is "I am not sure". can anybody give me a clue how much tps is ideally for a service node?

PS : it runs on 2 core and 2 GB ram VM. service that I worked on is CRUD with medium logic calculation in it, using golang


Solution

  • It is related with your rps(request per second) check out several simulation in link below

    What's the "average" requests per second for a production web application?

    Personally I think over 1000 tps for a service is already good.