Hacker News new | ask | show | jobs
by jstimpfle 1614 days ago
Why do you need lockless atomic updates to a file-backed memory area? Genuinely curious.
1 comments

Because it allows you to do lock free memory based interprocess communication, which can be extremely fast.
There is no need for file-backed memory to do that.
Sounds good, what is your solution and why didn't you explain it in your first reply?
What is my solution to what? To database I/O? I guess that's what the article is about...
I said "lock free memory based interprocess communication"

You said "There is no need for file-backed memory to do that."

If that is true, I want to know what you are talking about, so I'm just asking you to back up the claim you made.

No. _I_ want to know what we're talking about, as my original question clearly indicates.

You can do "lock-free memory based interprocess communication" with memory (obviously). There is no need to back this memory with files, certainly not files on a hard drive that you would otherwise access using read() and write(). Hence my original question.