2,894 reputation
1017
bio website
location
age
visits member for 5 years, 2 months
seen Aug 1 '12 at 8:09
Hello.

Oct
23
comment What caching strategies can I implement between my web load balancer and my web farm?
One thing to consider is to have the API service served off of a different set of servers from the primary web service. This way, if the API gets really hard, or vice versa, service for other functions is less likely to be interrupted. Otherwise, it's still a good idea to use some sort of reverse proxy to cache something that does not need to be computed every single time e.g. rss feeds.
Oct
21
comment HTTP load balancer with header-based routing?
There are now Windows builds for nginx.
Aug
7
comment Recommend a content delivery network (CDN) for a specific purpose
FWIW, here's a list of CDNs that you can look at mytestbox.com/miscellaneous/content-delivery-networks-cdn-list
Jul
28
comment static only config for nginx?
Ah, that makes sense. I ended up putting a /404.html at the end of the try_files directive and it works.
Jul
17
comment How does Varnish cache handle different domains?
That or it's probably possible to strip the hostname entirely and just use the remainder of the path. YMMV.
Jul
15
comment Gzip vs. Reverse Proxy Cache
Heh. I did not know it was possible to accept an answer without an upvote =) But to your comment, it's not a big deal as nginx is sufficiently lightweight that it just switches accordingly. Additionally, should you grow sufficiently, you could locate the second nginx on a different server, essentially acting as another layer of load balancing/proxying. So still a win.
Jul
15
comment Gzip vs. Reverse Proxy Cache
Also with the static module compiled in, you can pre-compress the file and nginx will just shoot that file over the wire.
Jul
15
comment Behaviour of nginx as proxy
Well, it works as an accelerator in the sense that nginx handles all the static requests leaving the Apache instance free to handle the "heavy" transactions.
Jul
15
comment Gzip vs. Reverse Proxy Cache
I'm not sure where you are getting your numbers from but you might want to check out Paul Buchheit's recent posting about this. gzip really is not that costly compared to the bandwidth savings. paulbuchheit.blogspot.com/2009/04/…
Jul
13
comment The Current State Of Serving a PHP 5.x App on the Apache, LightTPD & Nginx Web Servers?
FWIW, I also find that resource consumption is lower with this setup as compared to Apache.
Jul
12
comment 3rd party RAM for Mac Book Pro
+1 for Other World Computing.
Jun
28
comment Cost efficient e3fs snapshot
Either tar the disk up or dd then gzip. If it's mostly empty space, it should compress nicely.
Jun
25
comment www.example.com vs example.com?
This is because of the Google 'juice' is then split. You want to pick one or the other but not both. The one that is not picked should issue a 302 redirect to the correct name.
Jun
21
comment How do I backup a couple of macs to a Linux sever?
Yup, it is an image. I have had no issues with restoring but YMMV. I have no need to access the files from Linux so have not investigated. Looking at it from the Mac, it looks like a regular volume.
Jun
12
comment How much does using a monitor hurt server performance?
Short answer: No.
Jun
11
comment Setting expires headers for static content served from nginx
You are right. Forgot to clean this up. Edited to reflect this.
Jun
4
comment NGinx Best Practices
Just a note that this does not work for a Magento setup. Still investigating the reasons but I think it has something to do with the query string.
Jun
4
comment Distributed Storage Filesystem - Which one/Is there a ready to use product?
Eons ago, I used to use a variant of AFS (what is now OpenAFS). It worked but was complex and had it's own set of quirks.
May
23
comment netstat tips and tricks
netstat -nt does the same thing (numeric and tcp only)
May
21
comment nginx HTTPS serving with same config as HTTP
nginx is all sorts of WIN.