In 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…
35% Faster Than The Filesystem (2017)
21–30 of 166 posts
Re: 35% Faster Than The Filesystem (2017)
#22For 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…
Re: 35% Faster Than The Filesystem (2017)
#23What 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)
#24Next week on Show HN: `sqlitefs`, the SQLite-backed FUSE filesystem?
Re: 35% Faster Than The Filesystem (2017)
#25Re: 35% Faster Than The Filesystem (2017)
#26Wonder what the number is with "noatime"? Every open is a write on a normal filesystem, but you can turn it off.
Re: 35% Faster Than The Filesystem (2017)
#27What 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)
#28For 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…
Personally I use S3 or similar for this. At the number of files I'm working with storing it in a relational database would be crazy expensive.
Re: 35% Faster Than The Filesystem (2017)
#29https://research.checkpoint.com/select-code_execution-from-u...
Re: 35% Faster Than The Filesystem (2017)
#30For 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…