Headers: W3 Total Cache/0.9.2.4 So he's serving a static page 90% of the time? I'd love to see how this thing operates without a cache.
Running ab -n 1000 -c 20 http://pipress.vo3.net/wp-login.php\?action\=lostpassword Seems to have killed it. The site came back when I killed the process. Sorry jstalin but I had to do it! For science!
Wordpress site running on Raspberry Pi
11–20 of 37 posts
Re: Wordpress site running on Raspberry Pi
#12Headers: W3 Total Cache/0.9.2.4 So he's serving a static page 90% of the time? I'd love to see how this thing operates without a cache.
Running ab -n 1000 -c 20 http://pipress.vo3.net/wp-login.php\?action\=lostpassword Seems to have killed it. The site came back when I killed the process. Sorry jstalin but I had to do it! For science!
Re: Wordpress site running on Raspberry Pi
#13Wow. Front page of Hacker News and it's still up. (granted, it's only been 19 minutes...)
Most people who have their site go down aren't using proper caching so their Wordpress sites are evaluating the PHP and querying the MySQL database with each page load. This is extremely wasteful of processor cycles and memory, hence the site goes down when the server gets overloaded. The proper way to do it is to have caching in place such that it evaluates once and saves the result as a static HTML page. Then the s…
I officially dub it the cutest webserver.. in the world.
Re: Wordpress site running on Raspberry Pi
#14Re: Wordpress site running on Raspberry Pi
#15Re: Wordpress site running on Raspberry Pi
#16I'm working on a project where I have a rails site running on a beaglebone, it is populating its database with data coming from a usb device (~200 byte/s continuous). I am finding that the SD card with all of the data and the OS fails quite quickly (scale of weeks). Are SD cards just not up to the task?
Re: Wordpress site running on Raspberry Pi
#17I'm working on a project where I have a rails site running on a beaglebone, it is populating its database with data coming from a usb device (~200 byte/s continuous). I am finding that the SD card with all of the data and the OS fails quite quickly (scale of weeks). Are SD cards just not up to the task?
Yes, SD cards are not designed as disks. 'SSD' drives work by selling you 4 - 10x the amount of flash as 'advertised' and replacing failed pages from the excess over time. They are more like light bulbs than switches in that way (finite lifetime).
Re: Wordpress site running on Raspberry Pi
#18Earlier quoted context omitted.
Yes, SD cards are not designed as disks. 'SSD' drives work by selling you 4 - 10x the amount of flash as 'advertised' and replacing failed pages from the excess over time. They are more like light bulbs than switches in that way (finite lifetime).
I figured as much, thanks for the input. It would be wise then for the OP to make sure that noatime (turns off date accessed) is set in fstab for the filesystem, you don't want to write to that SD card on every read.
Re: Wordpress site running on Raspberry Pi
#19He should try it, as he is getting errors with Varnish.
Re: Wordpress site running on Raspberry Pi
#20Earlier quoted context omitted.
Isn't that how WP scaling works, though? It creates static pages.
Not by default and especially not once you start adding any sort of add-ons. A typical wordpress site will hit your MySQL database a TON.