Re: CachingFileDataStore vs DataStoreBlobStore

2020-02-24 Thread Amit Jain
Hi, Yes you should be using OakFileDataStore. You should be able to just instantiate with this. Thanks Amit On Tue, Feb 25, 2020 at 12:04 PM Marco Piovesana wrote: > Hi Amit, thanks for the clarification. Right now I'm using Oak with the > FileDataStore wrapped into a DataStoreBlobStore.

Re: CachingFileDataStore vs DataStoreBlobStore

2020-02-24 Thread Marco Piovesana
Hi Amit, thanks for the clarification. Right now I'm using Oak with the FileDataStore wrapped into a DataStoreBlobStore. Should I change it to OakFileDataStore then? If yes, do I have to do an upgrade for that or I just need to instantiate my storage with the new class? Marco. On Tue, Feb 25,

Re: CachingFileDataStore vs DataStoreBlobStore

2020-02-24 Thread Amit Jain
Hi, OakFileDataStore is an extension of the JR2 FileDataStore and implements required methods to work in Oak to support DSGC etc. So, in Oak OakFileDataStore should only be used. Thanks Amit On Tue, Feb 25, 2020 at 6:01 AM Marco Piovesana wrote: > Hi guys, > what's the difference between the

Re: CachingFileDataStore vs DataStoreBlobStore

2020-02-24 Thread Marco Piovesana
Hi guys, what's the difference between the FileDataStore and the OakFileDataStore? I've seen that the one is an extension of the other and it implements the SharedDataStore interface, but I did not found other documentation on it. Is it just the oak implementation of the same storage? Or there are

Re: CachingFileDataStore vs DataStoreBlobStore

2020-02-24 Thread Amit Jain
Hi, CachingFileDataStore is only a sort of wrapper to cache files locally (and upload async) when the actual backend is some sort of NFS and is slow for the parameters you care about. OakFileDataStore is what'll work for your purpose if you don't care about local caching. >> it feels like this

Re: CachingFileDataStore vs DataStoreBlobStore

2020-02-22 Thread jorgeeflorez .
Hi Matt, Just be sure that any Oak instances sharing the same file location belong > to the same logical cluster. > > Sharing the same file location between multiple logical instances should > "work", but certain capabilities like data store GC won't work well in that > scenario. > > That doesn't

Re: CachingFileDataStore vs DataStoreBlobStore

2020-02-21 Thread Matt Ryan
Hi Jorge, On Fri, Feb 21, 2020 at 3:40 PM jorgeeflorez . wrote: > Hi Matt, thanks a lot for your answer. > > If your storage is "local" (meaning it appears as a local filesystem to > > Oak), I'd probably use OakFileDataStore. It implements SharedDataStore > so > > you can share the same

Re: CachingFileDataStore vs DataStoreBlobStore

2020-02-21 Thread jorgeeflorez .
Hi Matt, thanks a lot for your answer. If your storage is "local" (meaning it appears as a local filesystem to > Oak), I'd probably use OakFileDataStore. It implements SharedDataStore so > you can share the same location with multiple instances. For example if > you create a file share on a NAS

Re: CachingFileDataStore vs DataStoreBlobStore

2020-02-21 Thread Matt Ryan
Hi, I think I probably will need a bit more information about your use case to know how to help you best; can you provide a bit more detail about your environment and what you are hoping to accomplish? If your storage is "local" (meaning it appears as a local filesystem to Oak), I'd probably use

Re: CachingFileDataStore vs DataStoreBlobStore

2020-02-21 Thread jorgeeflorez .
Ok, I meant DataStoreBlobStore wrapping a FileDataStore and DataStoreBlobStore wrapping a CachingFileDataStore (I am still confused I guess)... El vie., 21 feb. 2020 a las 16:03, jorgeeflorez . (< jorgeeduardoflo...@gmail.com>) escribió: > Hi, > I am trying to pick one data store with the