by cocktailpeanuts · 10y ago · 0 comments
Do browsing this page feel slow ? Try browsing older pages, too.
It's not slow at all, is it ? And don't forget the database contains more than 16000 links, and it's on a shared host, with 32000 visitors/day for my website alone. And it's still damn fast. Why ?
The data file is only 3.7 Mb. It's read 99% of the time, and is probably already in the operation system disk cache. So generating a page involves no I/O at all most of the time.
http://sebsauvage.net/wiki/doku.php?id=php:shaarli#why_not_u...
links are stored in a file
- compact storage
- no database required
- easy backup: simply copy the datastore file(Basically it should run on anything more complex than a static site host. Though it's also true that sqlite would probably be a cleaner choice for the datastore without losing any of that benefit.)