Emulation64.com  ::  EmuTalk.net  ::  DCEmu.co.uk     About  ::  Hosting  ::  Donate 
Home Files Forums Reviews Guides Articles Interviews

Welcome to the Emulation64 Network

 


    Wednesday, September 12, 2012
Server optimization continued


This will be a long post. I don't post often but when I do, I post a long rant. Bewarded. ;)

Earlier this year we invested in a new dedicated server: An Intel Core i7-3930k Sandy Bridge (6 cores @ 3.2 Ghz) machine with 64 GB DDR3 RAM and 2 x 3000 GB SATA-III harddrives in RAID 1 (mirrored). A bit over the top for our needs perhaps but I prefer to go with top of the line. We only use about 10-15% of the server's capacity. ;)

Like our previous servers we decided to go with Debian (6.0) and Plesk Control Panel and apart from the general optimizations like PHP opcode cacher (Xcache) and mod_deflate (for compressing the pages), two major changes were made:

1. Varnish Cache


"Varnish Cache is a web application accelerator also known as a caching HTTP reverse proxy. You install it in front of any server that speaks HTTP and configure it to cache the contents. Varnish Cache is really, really fast. It typically speeds up delivery with a factor of 300 - 1000x, depending on your architecture. A high level overview of what Varnish does can be seen in the video attached to this web page."


In our case we have installed Varnish in front of Apache and the result has been staggering. I actually started out with Nginx but replaced it with Varnish because of performance. So to recap:

Dynamic content is served with Varnish and static content (images, html pages etc.) is served with Apache.

2. Sphinx Search


"Sphinx is an open source full text search server, designed from the ground up with performance, relevance (aka search quality), and integration simplicity in mind. It's written in C++ and works on Linux (RedHat, Ubuntu, etc), Windows, MacOS, Solaris, FreeBSD, and a few other systems.

Sphinx lets you either batch index and search data stored in an SQL database, NoSQL storage, or just files quickly and easily — or index and search data on the fly, working with Sphinx pretty much as with a database server."


We're using Sphinx Search for all the vBulletin forums (including EmuTalk and DCEmu Forums) and normally a search takes about 0.10 seconds instead of a few seconds. Our server is capable of doing thousands of search queries per second.

3. So what's new?

I upgraded to the latest version of Varnish Cache (3.0.3) about a week ago and if it was because of the new version I'm not sure but we've had some issues with it. From time to time it crashed and looking at the syslog yesterday I think I found the culprit. I increased the storage size from 8GB to 16GB and moved it from the file system to RAM along with some other configuration changes. So far it's looking good and even faster.



 

File Releases

Cemu_1.21.3
No Description in database.

cemu_1.21.2
No Description in database.

cemu_1.21.1
No Description in database.

Cemu_1.21.0
No Description in database.

Cemu_1.20.2
No Description in database.



Latest Forum Posts

Introducing Project64 ...
Last Reply: NES_player4LIFE
Replies: 1

2021-04-02 Recent Rel ...
Last Reply: Robbbert
Replies: 0

mGBA v0.9.0 released!
Last Reply: spotanjo3
Replies: 0

2021-03-26 Recent Rel ...
Last Reply: spotanjo3
Replies: 1

no$gba v3.04 released ...
Last Reply: spotanjo3
Replies: 0


Latest Reviews

NDS - Okamiden
Created by WhiteX

Wii - deBlob 2
Created by WhiteX

Wii: The Conduit
Created by WhiteX

NDS: Hotel Dusk - Room ...
Created by WhiteX

NDS: Elite Beat Agents
Created by WhiteX


Support Guides

PCSX2
Created by Martin

Dolphin Emulator
Created by Martin

Nintendo DS Homebrew.
Created by WhiteX

PSX Plugins: Lewpy's Gl ...
Created by Dark Watcher

PSX Plugins: P.E.Op.S S ...
Created by Dark Watcher


Our Affiliates

AEP-Emu.de
DCEmu.co.uk
PSemu.pl


47,413,947 Visitors To The Emulation64 Network

Copyright 1999 - 2024 www.emulation64.com