[infinispan-dev] Native CacheStore implementation?
Galder Zamarreño
galder at redhat.com
Mon Oct 18 12:29:16 EDT 2010
On Oct 18, 2010, at 11:12 AM, 이희승 (Trustin Lee) wrote:
>
>
> Galder Zamarreño wrote:
>> On Oct 14, 2010, at 4:10 PM, Mircea Markus wrote:
>>
>>> On 14 Oct 2010, at 12:39, 이희승 (Trustin Lee) wrote:
>>>
>>>>
>>>> Galder Zamarreño wrote:
>>>>
>>>>> I do have some doubts on whether spending time implementing another cache store impl would be really that useful.
>>>>>
>>>>> When I was in Berlin, rather than implementing another X cache store due to performance, I heard users asking more about whether they could have their existing databases be read by Infinispan cache stores, to avoid having multiple databases, one for a shared JDBC cache store and one for their JPA or similar ORM databases. Granted that this could be done with a Hibernate based cache store but then again you could be wondering whether they should not just use Hibernate directly with a 2LC.
>>>> I think that depends on how solid and fast FileCacheStore is. If it's
>>>> good, more people will use it. For now, not many people seem to use it
>>>> and that might be why we don't hear much about it.
>>> We explicitly discourage people to use file cache store: http://community.jboss.org/wiki/CacheLoaders#Shipped_Implementations
>>
>> I don't think that's totally right actually. JBoss AS has been using the FileCacheStore in JBoss Cache for EJB3 SFSB passivation and HTTP session passivation and afaik, I haven't heard any complaints from them.
>>
>> So, there must be something right about it and we're not talking about sporadic use here. Remember that this is actually part of the supported EAP 5.x as well.
>>
>> Granted that using FCS as shared cache store is crazy, but there's a valid use for local use.
>
> Perhaps stupid question: what does FCS stand for? :)
LOL, read the first word of the next paragraph ;)
>
> FileCacheStore might perform fairly well on a very good filesystem
> implementation such as those available in Linux, but it can be improved
> to perform even better, especially in less optimal filesystems like NTFS.
>
> It's obviously not a high priority task, but I think we need to spend
> some time on it in background for later harvest.
p.s. In case you didn't figure it out, FCS = FileCacheStore ;)
>
> Cheers,
> Trustin
>
> --
> Trustin Lee - http://gleamynode.net/
>
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
--
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache
More information about the infinispan-dev
mailing list