Hi, wonder if you managed to find this issue.
I'm using sshnet to provide port forwarding for mysql backend of client application, and that does work great.
Recently, we decided to do some more processing on server side, and as mysql is not capable of dealing with more complicated stored procedures I have decided to try scripts.
Unfortunately on existing mysql connection I can process nearly 300 queries per second, while same calculation using .RunCommand() or async .BeginExecute() does avg 20 calls per sec. it is also very unstable, in a way that it does not keep one rate, rather sinusoid between 10-200.
For test I used command:
mysql: SELECT {0} * 2
script: "echo -n $(({0} * 2))"
Is there any way make sshnet process script calls faster?
Thanks
J
I'm using sshnet to provide port forwarding for mysql backend of client application, and that does work great.
Recently, we decided to do some more processing on server side, and as mysql is not capable of dealing with more complicated stored procedures I have decided to try scripts.
Unfortunately on existing mysql connection I can process nearly 300 queries per second, while same calculation using .RunCommand() or async .BeginExecute() does avg 20 calls per sec. it is also very unstable, in a way that it does not keep one rate, rather sinusoid between 10-200.
For test I used command:
mysql: SELECT {0} * 2
script: "echo -n $(({0} * 2))"
Is there any way make sshnet process script calls faster?
Thanks
J