News for hackers. Stuff that matters.
Re:What are the best non-database solutions you've seen? Wha... by bls on Saturday April 21, 2007 @09:13AM (#15465)
That is exactly what the operating system's virtual memory system does. But, there comes a point where there is too much swapping.
Re:What are the best non-database solutions you've seen? Wha... by dfranke on Saturday April 21, 2007 @01:54PM (#15503)
The OS isn't very smart about it because it quantizes everything along page boundaries and has no semantic understanding of the data. That works fine in the typical desktop-system case where you have 100 processes using a few megabytes each and at any given time only one or two are active. When you're running one server process that uses all the system's memory, you can be a lot more efficient by handling it yourself.