Hello, Denis. AFAIK CRC calculated:
1. For each page that are readed or written to the persistence store [1]. 2. For each read or write of WAL record [2]. [1] https://github.com/apache/ignite/blob/master/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/file/FilePageStore.java#L372 [2] https://github.com/apache/ignite/blob/master/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/wal/serializer/RecordV1Serializer.java#L422 В Пн, 13/08/2018 в 12:10 -0700, Denis Magda пишет: > Hello Evgeniy, > > What is PureJavaCrc32 used for in Ignite? Is it on a critical path > somewhere? > > -- > Denis > > On Mon, Aug 13, 2018 at 12:08 PM Евгений Станиловский > <arzamas...@mail.ru.invalid> wrote: > > > Hi, igniters, i wrote a simple bench, looks like PureJavaCrc32 has > > performance problems in compatible with zip.CRC32. > > > > Benchmark Mode Cnt Score Error Units > > BenchmarkCRC.Crc32 avgt 5 1088914.540 ± 368851.822 ns/op > > BenchmarkCRC.pureJavaCrc32 avgt 5 6619408.049 ± 3746712.210 ns/op > > > > thoughts? > >
signature.asc
Description: This is a digitally signed message part