[erlang-questions] why is mmap so darn difficult

Max Lapshin <>
Wed Jun 12 10:02:29 CEST 2013


Of course, mmap is not a fast write.

Look at mongodb: it becomes absolutely unpredictable database, when
you need to write data due to mmap.

You never know how much time write will take.

So, file:pwrite, file:pread are ok. Don't be afraid of them.



More information about the erlang-questions mailing list