VelocityDB & VelocityGraph

Object and Graph Database - ask us, share & let us know what you need.

ServerClientSession slow performance.

We have the issues with slow usage of ServerClientSession in local network. Version of VelocityDb is 3.13.1. Toggled TcpClient.NoDelay does not help.

First of all, let me to show some benchmarks made by Database Benchmark 2.0.3 . I've just added benchmark for ClientServerSession leading to localhost (same PC with client) and second one leading to remote host (in same network as client).

Write speed

Read speed

Secondary read speed

As you can see, result of ServerClientSession connecting to remote host is very slow. Do you have any benchmark results for ServerClientSession?

There is the source code of an example, the usage of session and classes in it are similar to my models in web application. The program also runs very slow on the network (especially for read of 10 objects on wire). There are the profiler results. You can see that the huge bottleneck occurs in network code (like Socket.Receive). Elapsed time in hundreds milliseconds is not so acceptable.

What can you suggest? Or maybe is there some bottleneck in requests loop in VelocityDbServer or something like that?