Posts with keyword: apache


Raising Events Asynchronously

Adding the ability to process events asynchronously has huge benefits for performance in an event processing system. With a small change to the code, we've enabled asynchronous events and made the event engine more performant in important situations.
Continue reading {Raising Events Asynchronously}


Xen, VLANs, and Load Balancing

I want to create a setup on XEN that has one or more machines load balancing for a number of other machines on a private network. This diagram shows roughly what I'm thinking: The idea is that some machines will be connected to both the public network and the private LAN and other machines will only be connected to the VLAN. This offers some security benefits and reduces the number of public IP numbers I need. The catch is I want to do this all virtually. Does anyone know of the recommended way to do this with XEN? I
Continue reading {Xen, VLANs, and Load Balancing}


Brad Nicholes on Apache 2.2 Configuration

I'm in Brad Nicholes' session on configuring Apache 2.2. First up he starts talking about MPM (multi-processor modules). MPMs control the multi-processing that happens on in Apache (servers and threads). If you install Apache, the default is the pre-fork MPM that doesn't include threads. You have to install the Worker MPM to get threads. the pre-fork MPM is more stable, but slower. The Worker MPM won't play well with mod_perl and other modules that aren't thread friendly. Brad recommends using include files to modularize configuration. I've never done this (habit) preferring to have everything in one place so I
Continue reading {Brad Nicholes on Apache 2.2 Configuration}


Limit Simultaneous Connections in Apache

Yesterday I wrote about the comment storms that were happening on my blog. Many people made some great suggestions and I plan on implementing many of them in the coming weeks. I found something, however, that was pretty simple and, so far, seems to be working beautifully. Mod_limitipconn is a small Apache module that allows you to limit the number of simultaneous connections from any given IP address for any particular resource or mime-type. It built and installed without a hitch--within 15 minutes I was in business. Here's the configuration I'm using to limit connections to the comment CGI:
Continue reading {Limit Simultaneous Connections in Apache}