I also tried to have the buffer bigger, because there's never enough
performance. The tests are not mind-blowingly faster, but also not
slower. And in _general_ bigger buffer (4k -> 32k in this case
(https://github.com/cincuranet/FirebirdSql.Data.FirebirdClient/commit/ca24546ba96b55cf2122e8be6984bd
Async is not a problem either. There's still one pipe to server to work
with.
I did some preliminary testing and so far it works. Let's see where it
ends.
--
Mgr. Jiří Činčura
Independent IT Specialist
On Thu, Sep 17, 2015, at 16:13, Геннадий Забула wrote:
> I've also looked at these streams
I've also looked at these streams but had left them alone.
Network stream works well with both Read and Write. But still not sure
about multithreaded Read/Write. BufferedStream internally uses one
buffer for both.
From
https://github.com/dotnet/coreclr/blob/master/src/mscorlib/src/System/IO/Buffer
HI *,
I'm looking at
https://github.com/cincuranet/FirebirdSql.Data.FirebirdClient/blob/master/NETProvider/src/FirebirdSql.Data.FirebirdClient/Client/Managed/Version10/GdsConnection.cs#L136
and wondering why there's two streams? The underlying network stream
(https://github.com/cincuranet/Firebird