Open divega opened 6 years ago
@bgrainger thanks for volunteering!
@sebastienros I am wondering how to best help @bgrainger get started. I think if we document the steps as we go, it can become a useful template for subsequent providers. This what I believe we will need:
Thanks, that's useful information and we can get the baseline from a Linux machine it's not an issue. I will run it, then give you the numbers of the benchmark with the latest MySQL connector version.
@sebastienros did you have a chance to look at this? It would be great if we can give @bgrainger something to work on :smile:
Just found about this comment. Will run it right away. @bgrainger can you ping me on skype (sebastienros) so we can make faster progress? Latency matters ;)
I was curious to know how close MySqlConnector was to maximum throughput, so I learnt the Registered I/O Networking Extensions for Winsock ("how hard could it be?") and wrote a (Windows-only) client that queries a MySQL Server as quickly as possible using native code and registered I/O.
Compile the code from: https://github.com/bgrainger/MySqlBench
Or download a precompiled binary: https://github.com/bgrainger/MySqlBench/releases
MySqlConnector is an ADO.NET provider for MySQL that is not based on the "official" MySQL provider. It has a few notable characteristics:
Code and issue tracking lives at https://github.com/mysql-net/MySqlConnector.
NuGet package is at https://www.nuget.org/packages/MySqlConnector.