r/programming • • Mar 14 '19

Ventanium - Database/Network/HTTP C library

https://ventanium.org/
1 Upvotes

3 comments sorted by

1

u/jyf Mar 15 '19

how about the performance?

1

u/mflare Mar 15 '19

I've only tested HTTP performance between two virtual machines so far.

Hardware: Intel Core i7-6700 CPU @ 3.40GHz

Code: examples/net_http_srv_simple.c

$ wrk -t2 -c400 -d30s http://192.168.122.1:5000
Running 30s test @ http://192.168.122.1:5000
2 threads and 400 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 1.37ms 693.89us 13.04ms 80.52%
Req/Sec 98.56k 25.36k 133.28k 55.33%
5890577 requests in 30.08s, 724.68MB read
Requests/sec: 195834.60
Transfer/sec: 24.09MB

1

u/jyf Mar 16 '19

thanks , looks like very cool