GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Is this server powerful enough for hosting TGPs? (https://gfy.com/showthread.php?t=918494)

Darrell 07-28-2009 12:28 PM

Is this server powerful enough for hosting TGPs?
 
I have a 1x Intel Dual Core Xeon 3050 with 4GB DDR2 server that I'm using to load the thumbs for several TGPs. TGP traffic is about 120k a day and bandwidth is usually 22-25Mbps. At peak traffic times the thumbs can take 3 or 4 seconds before they start loading or they just load in slow.

Can anyone tell me if the server is not powerful enough for the job? Or maybe it just needs some tweaking to get better performance for loading small files.

Any advice would be appreciated.

Thanks :)

Klen 07-28-2009 12:29 PM

It will work fine,but you will need to optimize it.

Cyandin 07-28-2009 12:30 PM

Quote:

Originally Posted by Darrell (Post 16115720)
I have a 1x Intel Dual Core Xeon 3050 with 4GB DDR2 server that I'm using to load the thumbs for several TGPs. TGP traffic is about 120k a day and bandwidth is usually 22-25Mbps. At peak traffic times the thumbs can take 3 or 4 seconds before they start loading or they just load in slow.

Can anyone tell me if the server is not powerful enough for the job? Or maybe it just needs some tweaking to get better performance for loading small files.

Any advice would be appreciated.

Thanks :)


This is PLENTY powerful for this task. If you have any specific questions on tuning/setup, please feel free to ICQ me. :)

EDIT: For small files, I recommend using ReiserFS and a raid scheme to improve total IOPS of diskperformance. You could also consider mounting the memory as a ramdisk, depending on the total amount of thumbs being served. Lots of good tweaking options here!

Darrell 07-28-2009 12:32 PM

Quote:

Originally Posted by KlenTelaris (Post 16115725)
It will work fine,but you will need to optimize it.

Wow quick reply thanks :thumbsup

Can you point me towards any forums/sites that I can read that will give me some tips?

CYF 07-28-2009 12:43 PM

First of all, what OS are you running on the server?

Klen 07-28-2009 01:09 PM

Quote:

Originally Posted by Darrell (Post 16115742)
Wow quick reply thanks :thumbsup

Can you point me towards any forums/sites that I can read that will give me some tips?

I can give you tips over icq if you want.In exchange you can force some traffic from your sites(we already trade but i could use some more trades and traffic)

blazin 07-28-2009 01:15 PM

Try using nginx instead of apache.. and cache your thumbs in memory instead of serving them from disk

raymor 07-29-2009 11:34 AM

Near the top of your Apace config file you'll find about 40 LoadModule directives.
Those load up various modules so you can do all kinds of nifty things with Apache.
mod_speling, for example, automatically fixed typos in URLs. Most of those modules
are things you'll never use in your life, and all of them make the server slower.
If this server is serving only thumbs, not running the PHP, probably 38 of those
40 modules can be commented out and the server will be MUCH faster - up to the
point where your network connection is the bottleneck. The top 2 to comment out
if you aren't using them are mod_php and mod_perl. Both are big, powerful modules
and by being big they slow things down.

There are several other configuration directives to tweak too.

The initial idea for nginx looked promising, but I'm not at all impressed with it.
The idea was to make a very small, fast web server, making it fast by leaving
out 96% of the features that a Apache has. Well, people wanted more features,
of course, so they were added, and now nginx doesn't perform any better
than Apache does if you simply don't load unneeded modules. nginx and a bare
Apache are extremely similar, but with Apache when you need to add a feature
later you simply uncomment the relevant module. With nginx, the feature simply
isn't available, period.

San 07-29-2009 12:09 PM

depends how much traffic you're going to get

sandman! 07-29-2009 12:31 PM

i disagree i know many people that have gone from a striped down apache to nginx for static content apache will never in a million years match nginx for static content.

This is assuming you know how to setup nginx properly.



Quote:

Originally Posted by raymor (Post 16119585)
Near the top of your Apace config file you'll find about 40 LoadModule directives.
Those load up various modules so you can do all kinds of nifty things with Apache.
mod_speling, for example, automatically fixed typos in URLs. Most of those modules
are things you'll never use in your life, and all of them make the server slower.
If this server is serving only thumbs, not running the PHP, probably 38 of those
40 modules can be commented out and the server will be MUCH faster - up to the
point where your network connection is the bottleneck. The top 2 to comment out
if you aren't using them are mod_php and mod_perl. Both are big, powerful modules
and by being big they slow things down.

There are several other configuration directives to tweak too.

The initial idea for nginx looked promising, but I'm not at all impressed with it.
The idea was to make a very small, fast web server, making it fast by leaving
out 96% of the features that a Apache has. Well, people wanted more features,
of course, so they were added, and now nginx doesn't perform any better
than Apache does if you simply don't load unneeded modules. nginx and a bare
Apache are extremely similar, but with Apache when you need to add a feature
later you simply uncomment the relevant module. With nginx, the feature simply
isn't available, period.


dubsix 07-29-2009 06:29 PM

Quote:

Originally Posted by sandman! (Post 16119876)
i disagree i know many people that have gone from a striped down apache to nginx for static content apache will never in a million years match nginx for static content.

This is assuming you know how to setup nginx properly.

ditto, for static nginx will stomp apache.

tiger 07-29-2009 07:59 PM

Thats a piece of cake for a server like that. Sounds like you have a config problem.


All times are GMT -7. The time now is 06:29 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123