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 filePHP has SQLite built-in, which has the same single-file property with a lot better durability, portability, and stability guarantees.
For the stability guarantees, shaarli exists since 2011 and is used in production by many (several hundred) people without trouble.
(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.)