# Cannot get 1M TPS on Amazon EC2

**URL:** <https://discuss.aerospike.com/t/cannot-get-1m-tps-on-amazon-ec2/510>\
**Category:** How Developers Are Using Aerospike\
**Tags:** aws\
**Created:** [November 13, 2014, 8:54am UTC](https://discuss.aerospike.com/t/cannot-get-1m-tps-on-amazon-ec2/510 "2014-11-13T08:54:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lyn5466](https://avatars.discourse-cdn.com/v4/letter/l/e5b9ba/32.png) [@lyn5466](https://discuss.aerospike.com/u/lyn5466)\
**Post date:** [November 13, 2014, 8:54am UTC](https://discuss.aerospike.com/t/cannot-get-1m-tps-on-amazon-ec2/510/1 "2014-11-13T08:54:43Z")

</div>

Hello,

We are currently surveying high performance NoSQL databases on EC2 and saw [1 Aerospike Server X 1 Amazon EC2 Instance = 1 Million TPS For Just $1.68/Hour](http://highscalability.com/blog/2014/8/18/1-aerospike-server-x-1-amazon-ec2-instance-1-million-tps-for.html) which shows promising result so we decided to give it a try. We followed the instructions on the article to setup benchmarking environment but only got about 300K TPS. Could you give us a hand to see what might go wrong?

Some strange things happened during our test. First, we could not make a single client to produce 250K TPS when we set the thread numbers to 40 (-z 40) as instructed. We tried setting it to 70, then 250K TPS was achieved. Second, no matter how the number of threads was (-z 40~100), the TPS each client got decreased when a new client joined. And finally, the server could only process total 300K TPS. We have no idea where the problem came from. Maybe it’s network or the limitation of server? Any suggestion woulb be appreciated. Thanks a lot.

---

<div class="post-metadata">

**Author:** ![lucien](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/lucien/32/2065_2.png) [@lucien](https://discuss.aerospike.com/u/lucien)\
**Post date:** [November 13, 2014, 5:54pm UTC](https://discuss.aerospike.com/t/cannot-get-1m-tps-on-amazon-ec2/510/2 "2014-11-13T17:54:31Z")

</div>

Hi,

Aerospike has detail intructions at the following link which may be able to help guide you:

Please try : [http://www.aerospike.com/docs/operations/tune/instructions1mtps/](http://www.aerospike.com/docs/operations/tune/instructions1mtps/)

---

<div class="post-metadata">

**Author:** ![lyn5466](https://avatars.discourse-cdn.com/v4/letter/l/e5b9ba/32.png) [@lyn5466](https://discuss.aerospike.com/u/lyn5466)\
**Post date:** [November 14, 2014, 1:51am UTC](https://discuss.aerospike.com/t/cannot-get-1m-tps-on-amazon-ec2/510/3 "2014-11-14T01:51:48Z")

</div>

Thank you very much! 1M TPS has been achieved by tuning the network setting in the detailed guide!

---

<div class="post-metadata">

**Author:** ![meher](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/meher/32/1644_2.png) [@meher](https://discuss.aerospike.com/u/meher)\
**Post date:** [November 14, 2014, 2:07am UTC](https://discuss.aerospike.com/t/cannot-get-1m-tps-on-amazon-ec2/510/4 "2014-11-14T02:07:23Z")

</div>

Thanks for the feedback!
