Hi,

I am writing a redis client [1] for rust but somehow TCP performance seems to be veery slow. I basically just sent a string to redis and read the response (I commented out parsing). Doing this 10_000 times takes about 4.5 seconds, while doing the same in Ruby takes just 0.7 seconds.
Is there anything I can do about it, or is this a known issue?

I use methods TcpSocket.{write,read}.

Best,

  Michael


[1]: https://github.com/mneumann/rust-redis
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to