EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Blocking calls

Also by EldoS: Callback File System
Create virtual file systems and disks, expose and manage remote data as if they were files on the local disk.
#19915
Posted: 04/24/2012 22:51:56
by Cristian Prundeanu (Basic support level)
Joined: 04/24/2012
Posts: 8

Hello,

I'm trying to use CallbackDisk with some sort of Internet storage. Since the documentation recommends to execute any callback as quickly as possible, how should I handle the long delays associated with Internet access, without freezing the entire system? Caching should help, but there will still be read misses that have to wait for the data to be downloaded...
#19916
Posted: 04/25/2012 00:02:18
by Eugene Mayevski (EldoS Corp.)

No other ways. As CallbackDisk emulates the disk device, which the OS expects to be local, to be fast is the only option.


Sincerely yours
Eugene Mayevski
#19918
Posted: 04/25/2012 01:04:44
by Cristian Prundeanu (Basic support level)
Joined: 04/24/2012
Posts: 8

How long is the timeout for the callback? (After which the driver returns an error to the caller instead of waiting).
#19921
Posted: 04/25/2012 02:05:08
by Volodymyr Zinin (EldoS Corp.)

You can specify it. See the parameter Timeout of the CBDisk.MountMedia method.
#19924
Posted: 04/25/2012 02:53:12
by Cristian Prundeanu (Basic support level)
Joined: 04/24/2012
Posts: 8

Thank you! It seems that there is enough flexibility with the timeout to accomodate for longer read times.

While the driver is waiting for the callback to return, is the entire system frozen, or just the calling application?
#20060
Posted: 05/05/2012 23:45:05
by Eugene Mayevski (EldoS Corp.)

Looks like your question has been overlooked. The OS is not frozen, but there are some system-wide locks acquired so certain operations in other threads and processes might be blocked by the lock until the lock is released.


Sincerely yours
Eugene Mayevski
#20061
Posted: 05/06/2012 11:00:47
by Cristian Prundeanu (Basic support level)
Joined: 04/24/2012
Posts: 8

Ah, thank you for the details!

I also read about the "Network Mounting Point" flag, which might make it work better with data transfer delays.
#21932
Posted: 10/11/2012 05:11:34
by Volodymyr Zinin (EldoS Corp.)

Quote
Cristian Prundeanu wrote:
I also read about the "Network Mounting Point" flag, which might make it work better with data transfer delays.

In the case of "Network Mounting Point" the system decreases quantity of requests to the disk. For example Explorer not so "aggressively" as for the local disks reads file meta-information when if wants to show thumbnails for files.
Also by EldoS: SecureBlackbox
200+ components and classes for digital security, signing, encryption and secure networking.

Reply

Statistics

Topic viewed 4362 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!