Linked by Thom Holwerda on Sat 11th May 2013 21:41 UTC
Windows "Windows is indeed slower than other operating systems in many scenarios, and the gap is worsening." That's one way to start an insider explanation of why Windows' performance isn't up to snuff. Written by someone who actually contributes code to the Windows NT kernel, the comment on Hacker News, later deleted but reposted with permission on Marc Bevand's blog, paints a very dreary picture of the state of Windows development. The root issue? Think of how Linux is developed, and you'll know the answer.
Permalink for comment 561461
To read all comments associated with this story, please click here.
RE[10]: Too funny
by satsujinka on Mon 13th May 2013 19:34 UTC in reply to "RE[9]: Too funny"
satsujinka
Member since:
2010-03-11

How would implementing an SQL database on top of plain text be less flexible and less accessible than SQL? That is plainly a contradiction.

A CSV variant (i.e. DSV) is already understood by the standard tools. So considering MySQL uses CSV, there's no reason why we couldn't implement a query engine that can co-exist with the standard tools. And why not provide that compatibility if we can? After all, for simple searches grep will be easier to use than SQL (simply due to having less syntax.) Is this important? No. I live with systemd. But there's no reason to isolate our logs from the tools we use with the rest of the system.

Performance issues are a different matter. For log files, there probably won't be any problem... however, as I've said already; you can do indexing on plain text. You just have to add the appropriate semantics to your text format.

As you point out yourself, if a hacker has already compromised your system (such that they can manipulate the logs) there really isn't much that can be done. It is always possible for them to modify the files; regardless of whether or not they're plain text, have checksums, or are completely binary. However, consider locks on doors. A lock doesn't prevent a burglar from getting in. It's trivial to go through a window instead. However, a lock does keep people from just randomly wandering into your home. Checksums or binary provide this type of security; in that someone who doesn't know what they're doing can't easily remove traces of what they did.

Reply Parent Score: 4