Caching to shared folder

Topics: General
Feb 21, 2013 at 7:51 AM
Edited Feb 22, 2013 at 5:42 AM
I was wondering if it's possible to store cached maps in shared directory, so multiple client applications can use a single cache simultaneously via network.
I'm going to test this soon enough anyway, but i thought i might as well try asking here.
Feb 21, 2013 at 3:33 PM
any sql server as secondary cache would work just fine
Feb 22, 2013 at 5:39 AM
Edited Feb 22, 2013 at 5:52 AM
Radioman, could you please clarify 2 questions.
  1. Is it really necessary to set up secondary cache? In my environment it's not good - application setup should be as simple as possible. And only one mode - CacheOnly should be enabled, because there is no internet connection in my environment - so there is no any reason to write something to shared cache from different clients.
  2. If sql setup is absolutely required, is it possible to import saved cache from Data.gmdb to sql instance?
Feb 26, 2013 at 3:07 PM
if it's CacheOnly mode, you can try use SQLite cache provider on network share as secondary cache, it should work
Feb 27, 2013 at 9:47 AM
Doesn't PrimaryCache already use SQLite by default? If that is the case, then why do you suggest using our own instance of SQLite server with SecondaryCache. What's the difference?
Feb 27, 2013 at 11:57 AM
primary cache is only for local computer, in case network fails or something, network cache is for seeding the maps to the clients
Feb 27, 2013 at 12:03 PM
It's not clear - why we can't use primary cache with shared folder in CacheOnly mode. Could you explain please? Why do we need secondary cache, if primary is not supposed to be updated in any case?
Feb 27, 2013 at 12:42 PM
it's faster, it's better.
Feb 27, 2013 at 5:16 PM
Sorry for importunity, but why it's faster and better? What is the difference between using only primary cache? As I understand - database is the same - SQLite, shared forlder is the same too, CacheOnly is enabled and nobody should write into cache. So, what is the point of secondary cache in such scenario?
Feb 27, 2013 at 5:18 PM
do as you wish..
Feb 27, 2013 at 5:20 PM
:) actually. I wish to do with understanding
Feb 27, 2013 at 5:50 PM
i've explained, and if you want to know the details, check the code
Feb 27, 2013 at 5:54 PM
ok, thank you