[infinispan-dev] Using nio and/or aio for FileCacheStore
Sanne Grinovero
sanne.grinovero at gmail.com
Wed Feb 9 06:12:13 EST 2011
BTW, keep in mind that .listFiles() is not atomic on POSIX filesystems
(I don't know of others); if you have many files, and in sequence you
add A and *after that* you remove B, it's possible a single
.listFiles() will fail to list either file.
2011/2/9 Tristan Tarrant <tristan.tarrant at gmail.com>:
> Ah, yes, just noticed :)
>
> On Wed, Feb 9, 2011 at 12:08, Sanne Grinovero <sanne.grinovero at gmail.com>
> wrote:
>>
>> 2011/2/9 Tristan Tarrant <tristan.tarrant at gmail.com>:
>> > When you mention btree you mean to overcome potential performance
>> > degradation caused by many files in one directory (at both the
>> > filesystem
>> > level and because the root.listFiles() is used) ?
>>
>> No, that's the filesystem's business. I guess Manik was referring to
>> the internal structure of each file, they use "buckets" containing
>> multiple values.
>
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
More information about the infinispan-dev
mailing list