35% Faster Than The Filesystem (2017)
11–20 of 166 posts
Re: 35% Faster Than The Filesystem (2017)
#12Re: 35% Faster Than The Filesystem (2017)
#13In the past I've had huge speedups by moving simple single-table databases that had grown a bit (e.g., time series data) from sqlite to postgres. Insert performance is also quite bad forcing you to write applications with extra caching layers to be able to do a bunch of inserts at once. Sqlite is great for many applications but it's speed is somewhat oversold. I really wish the postgres engine was embeddable into app…
Re: 35% Faster Than The Filesystem (2017)
#14For small- to mid-sized projects, I’ve always realized huge gains in simplicity by haves “Files” tables to store various assets. It means instances in a web-farm can pull the files down when they initialize easily, it means files are automatically versioned, it provides an obvious place to put the files when they are being uploaded on the Admin panel. It means all the files are getting backed up as part of the databa…
Easily solved by having two separate databases. One for dynamic content, one for static files, which is probably good practice regardless.
Re: 35% Faster Than The Filesystem (2017)
#15Re: 35% Faster Than The Filesystem (2017)
#16While an impressive feat on SQLite’s end, I sincerely hope no engineers see this and take it at face value. The filesystem is slower because it is more flexible, and I would imagine that once you have concurrent reads and writes to your thumbnails, a filesystem is to prefer.
Re: 35% Faster Than The Filesystem (2017)
#17Re: 35% Faster Than The Filesystem (2017)
#18Is it cool? Sure. Is it sexy? Maybe. Is it needed? Nope.
Do boring stuff. Use files. If you send your small files over the internet via web and you need to squeeze additional performance, do boring stuff again: use Varnish.
Re: 35% Faster Than The Filesystem (2017)
#19What if you create something that is optimized for performance without offering the full SQL language? Just a container to store small files with padding to avoid the expensive open/close calls.
Re: 35% Faster Than The Filesystem (2017)
#20Next week on Show HN: `sqlitefs`, the SQLite-backed FUSE filesystem?