Tonight's update eliminates a major bottleneck in generation of Members website pages. This site's CGI is written in perl, employing a powerful object-oriented framework architected by Deadron. Each time a page is generated, a new perl instance must load all of these modules and compile the code before it can begin executing. That's a lot of redundant processing and disk accesses for every page view.
FastCGI solves our problem by keeping the perl instance running, servicing new CGI requests from the same process. That means no more perl startup overhead per page. My tests show that under normal circumstances, this can save an average of 500-600% off running time per page view. Pretty snappy! You may not notice the speed increase normally, but it should help tremendously during peak load times.
Since FastCGI changes the way the script operates in certain fundamental ways, there's always the outside chance that something funny might happen. We've tested pretty thoroughly, but please report any unexpected results - just report the url you accessed and a screenshot of what you got.
In other speed-related news, BYOND 3.5 Beta 5 is already helping to reduce our server's load as worlds report their status directly to the hub. Combined with recent hub optimizations made last week, this eliminates a substantial number of redundant location reports. We've already measured a noticeable improvement in hub response time this past week, as compared with the week before it. Huzzah!
ID:9822
Mar 13 2006, 9:31 pm
|
|
Mar 13 2006, 10:43 pm
|
|
Yeah its been much better, hurrah.
|
New pager for Mac for Ishy... >:( Let's see... Mac pager benefits about 4 people (you, me, Deadron, SilkWizard). Server optimizations benefit several thousand. Can someone help me prioritize this? |
I saw you had a simple one built in like, your first message on BYOND Labs, what's the problem with just letting that one out? -.-
Or even better, tell me what you use to make it, and I'll devote my life to learning how to program in that/those language(s) and make it for you. That or I'll higher someone to do it. o.O |
And... Me.
New pager for Mac for Ishy... >:( Let's see... Mac pager benefits about 4 people (you, me, Deadron, SilkWizard). Server optimizations benefit several thousand. Can someone help me prioritize this? |
I saw you had a simple one built in like, your first message on BYOND Labs, what's the problem with just letting that one out? It doesn't send pages. Many features are not implemented. Pretty much useless. |
It doesn't send pages. Many features are not implemented. Pretty much useless. Okay, so we proceed to step 2 in my post. *shrugs* |
Speaking of the hub, how's that new review functionality coming? :D I've been sucking, so new site functionality hasn't been progressing. But I think I'm back in the saddle, so more should be coming from my end at least related to new site features (Mike has been steadily working away on his ToDo list though). We do have prototype pages for people new to the site that should make a big difference. Those will come out once Mike gets a chance to do his magic on them. (For some parts of the site, I tend to hack out some godawful thing that basically gives an idea, then Mike manages to turn the pig into bacon, or however that goes. You really don't want to know what the default Member blog looked like before it was wrestled from my hands...) |
Deadron:
You really don't want to know what the default Member blog looked like before it was wrestled from my hands...) Is there a screenie? |
Is there a screenie? I looked around but didn't find one...but there may be one lurking around somewhere. |