Re: why kafka index file use memory mapped files ,however log file doesn't

2018-02-13 Thread YuFeng Shen
ive (it isn't), that memory mapping is always cheap (it isn't cheap)," A bit vague on my part, but HTH anyway jan On 12/02/2018, YuFeng Shen <v...@hotmail.com> wrote: > Hi jan , > > I think the reason is the same as why index file using memory mapped file. > > As t

Re: why kafka index file use memory mapped files ,however log file doesn't

2018-02-12 Thread YuFeng Shen
t sure I can answer your question, but may I pose another in return: why do you feel having a memory mapped log file would be a good thing? On 09/02/2018, YuFeng Shen <v...@hotmail.com> wrote: > Hi Experts, > > We know that kafka use memory mapped files for it's index files ,how

why kafka index file use memory mapped files ,however log file doesn't

2018-02-08 Thread YuFeng Shen
Hi Experts, We know that kafka use memory mapped files for it's index files ,however it's log files don't use the memory mapped files technology. May I know why index files use memory mapped files, however log files don't use the same technology? Jacky