Welcome Guest, Not a member yet? Register   Sign In
Using the Caching Driver with files or MySQL
#3

[eluser]Unknown[/eluser]
Aken,

Do you know how the Caching Driver handles concurrency? I.e. does it use flock() and what does it do if it can't get a lock?

In attempting to write my own cache class I see there's a lot to think about here Smile For example if you open the cache file with an exclusive lock, how long do you wait to receive the lock and what should you do if you can't get the lock. I've been looking at a lot of PHP cache classes and many don't handle this very well.

Thanks,
-NorthK


Messages In This Thread
Using the Caching Driver with files or MySQL - by El Forum - 06-23-2011, 01:37 PM
Using the Caching Driver with files or MySQL - by El Forum - 06-23-2011, 02:25 PM
Using the Caching Driver with files or MySQL - by El Forum - 06-23-2011, 02:49 PM
Using the Caching Driver with files or MySQL - by El Forum - 06-23-2011, 04:30 PM



Theme © iAndrew 2016 - Forum software by © MyBB