3 ms·
Why not use a real database ? Files are slow ! Do browsing this page feel slow ? Try browsing older pages, too. It's not slow at all, is it ? And don't forget
by bigbugbag 10y ago
Why not use a real database ? Files are slow !
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_use_a_real_database_files_are_slow http://sebsauvage.net/wiki/doku.php?id=php:shaarli#why_not_u...