-
1. Re: Infinispan hybrid distributed cache (data grid)?
feci Jul 29, 2010 9:28 AM (in response to feci)too weird use case? :-)
or there is no one, who can give me simple answer?
-
2. Re: Infinispan hybrid distributed cache (data grid)?
manik Jul 30, 2010 5:35 AM (in response to feci)Not sure if I understand what you mean by Hybrid.
I presume you want a client tier which connects to a remote data grid tier? So your client tier could use RemoteCache instances (Hot Rod client library), ad the remote data grid nodes could each be running a Hot Rod server. The remote grid nodes would also be configured to use distribution + a cache store to spill over to disk. Is this what you had in mind?
-
3. Re: Infinispan hybrid distributed cache (data grid)?
feci Aug 2, 2010 6:43 AM (in response to manik)By hybrid I mean, that if the cache will be requested for data, it returns the data no matter what. I mean it returns it even when the data are not in memory, or it's persistent storage. The cache will also retrieve data from some datasource. Let say TeraBytes of flat files, from which it will read.
Let say I have stock price data, terabytes of them. I will not use RDBMS, or some key value store, as I can implement reading of time series data more efficiently. So I was thinking about creating own cache loader and combine it with cache solution.
If client requests data, if they are in memory, they will be returned, if not, loader loads them to memory and returns to client...
And I want to have contgrol over cache instances in a way, that I want to embed it in my cluster app. Is hot rod embeddable?
-
4. Re: Infinispan hybrid distributed cache (data grid)?
manik Aug 2, 2010 7:58 AM (in response to feci)Yes, you can write your own custom cache store.
If you need the cache to be embedded, then don't use Hot Rod - just use the Cache and CacheManager API classes directly from your code - much simpler!
-
5. Re: Infinispan hybrid distributed cache (data grid)?
galder.zamarreno Aug 3, 2010 7:41 AM (in response to manik)Following on what Manik said, you might wanna have a read to http://community.jboss.org/docs/DOC-15557