EldoS | Feel safer!

Software components for data protection, secure storage and transfer

MaxReadWriteBlockSize issue

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
Posted: 12/18/2013 10:25:10
by Richard Hauer (Basic support level)
Joined: 12/05/2013
Posts: 26

I'm setting

cbfs.MaxReadWriteBlockSize = 4 * 1024 * 1024; // 4MB

but OnWriteFile still sends chunks of 65536 bytes.

Am I missing something?
Posted: 12/18/2013 10:31:06
by Eugene Mayevski (EldoS Corp.)

As the name suggests, it's *Max* size, not minimal. If the application writes data byte by byte, you'll get this data as it is passed from the application, i.e. byte by byte.

File caching should have grouped this data into larger blocks. Don't know but it's possible that the application performs file flush after each block.

Sincerely yours
Eugene Mayevski



Topic viewed 572 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!