Posts

nginx cache in tmpfs

· Linux, Software, www

Probably won’t change a lot to my performance, but I’ve mounted the nginx reverse proxy cache in a tmpfs mount.

none on /var/cache/nginx/blog type tmpfs (rw,size=512m)
none  512M   47M  466M   4% /var/cache/nginx/blog

Let’s see what performance boosts this will give. :P

Mac OS X + SSD tweaks

· Apple, Hardware, Software

Came across a pretty cool howto to tweak your SSD on a Mac. Only thing I noticed is setting the hibernate mode to 0 made my mac randomly wake up a few seconds after it went to sleep (and happened most often when closing the lid, less often when clicking the sleep button; randomly closing apps seemed to sometimes fix this problem; usually closing Skype and VLC solved this…) Set it the hibernate mode 7 now (which was the default I think)

Maxim of the day

· Misc

#14: Do your part to make the world a better place; even if the outcome will be limited.

One

· Hardware, Linux

Big grats to One, with its one year uptime. ;) And been running for over 1500 days ! Old server is getting old. :(

(The 2nd one from the top ;), resting on that Xserve)

This is an old dual P3 I got off eBay years ago. This blog is running on that server. It's running Gentoo as OS.

Next up is Four and about an hour after that Two! Geekyness!

nginx reverse proxy with caching

· Linux, Networking, Software, www

Playing around and searching the web I enabled some decent caching now.

Here are some stats: image+html and php. Note that the php on apache (recompiled each request, about 1.5-2sec between every request) versus the cached output has a huge difference. Difference between images and static text files aren’t that huge. Also note that nginx has gzip enabled. The downside is that nginx caches all pages (HTTP code 200) for one hour and isn’t notified when pages are modified (yet).