Re:Introducing Raspberry Pi B+
by 72deluxe on Monday July 14, 2014 @04:30AM
(#8030024)
I am running a web server on mine using PipaOS and Lighttpd, but I rewrote my database system to SQLite instead of MySQL. Granted, this meant I had to reimplement some stored procedures that I had written in PHP instead (for parent/child page traversal and navigation building) but it returns pages much faster. I know that reading from a file all the time is likely to harm the attached USB drive's read count, but I'm not getting many hits!
I intend to rewrite the system using C++ instead (using an old Mongoose C++ web server edition) and load the SQLite database into SQLite :memory: (without a disk backup) instead, which means that it'll return pages much faster; it'll only touch the "disk" database on program startup.
I see from the others that they have put PHP and MySQL and a host of other things on theirs but for simple sites, that is probably somewhat overkill.
I intend to rewrite the system using C++ instead (using an old Mongoose C++ web server edition) and load the SQLite database into SQLite :memory: (without a disk backup) instead, which means that it'll return pages much faster; it'll only touch the "disk" database on program startup.
I see from the others that they have put PHP and MySQL and a host of other things on theirs but for simple sites, that is probably somewhat overkill.
I also use mine as an SSH gateway.