I am getting only - 29 k req/sec, can you please help me as Redis document 
says it support 80 k+ req/sec reads not sure if I am doing any wrong

Machine - 8 core with 57 gb ram + ssd
Go - 1.6.2 linux/amd64
Ubuntu - 15.10
DB - Redis 
Plugin - gopkg.in/redis.v3
Key - only "hello" value
Webservice - Gin framework

Sysctl - 

file-max = 5752905
file-nr = 1888 0 5752905

net.core.rmem_max = 134217728

net.core.wmem_max = 134217728

net.ipv4.tcp_rmem = 4096 87380 67108864

net.ipv4.tcp_wmem = 4096 65536 67108864

net.core.netdev_max_backlog = 250000

net.ipv4.tcp_congestion_control=htcp

net.ipv4.tcp_mtu_probing=1

ulimits - 200000



wrk -t10 -c500 http://xx/testkey

Running 10s test @ http://xx/testkey

  10 threads and 500 connections

  Thread Stats   Avg      Stdev     Max   +/- Stdev

    Latency    18.84ms   16.90ms 309.98ms   58.24%

    Req/Sec     2.93k   382.13     4.46k    76.62%

  293282 requests in 10.08s, 42.51MB read

Requests/sec:  29090.62

Transfer/sec:      4.22MB


Thanks,


Abhi


-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to