[erlang-questions] Managing a huge binary file
Max Lapshin
max.lapshin@REDACTED
Tue Apr 30 14:32:12 CEST 2013
It is a myth that mmap helps you to read file faster.
I've believed in this myth and packed mmap.erl with erlyvideo. But later it
happened that 3 Gbps are served from disk with plain file:read and mmap is
MUCH worser because it breaks scheduling.
So, file:read can give you several gbps.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130430/3ae6c164/attachment.htm>
More information about the erlang-questions
mailing list