Y
Hacker News
new
|
ask
|
show
|
jobs
by
e12e
960 days ago
If you can live with "fits on disk" mmap() is a viable option? Unless you truly need streaming (early handling of early data, like a stream of transactions/operations from a single JSON file?)
1 comments
mannyv
960 days ago
In general, JSON comes over the network, so MMAP won't really work unless you save to a file. But then you'll run out of disk space.
I mean, you have a 1k, 2k, 4k buffer. Why use more, because it's too much work?
link
I mean, you have a 1k, 2k, 4k buffer. Why use more, because it's too much work?