Go Back   vb.org Archive > Community Discussions > Forum and Server Management
  #1  
Old 06-08-2010, 12:25 PM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default NGINX VS. LiteSpeed

Recently read about these two, not sure which one i should switch to from Apache....im looking into optimization of my server and forums.....appreciate feedback
Reply With Quote
  #2  
Old 06-08-2010, 02:00 PM
Speysider's Avatar
Speysider Speysider is offline
 
Join Date: Apr 2009
Posts: 1,029
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I believe litespeed has a restriction of no content like warez, porn or other illegal activity on the server where it is installed.

nginx has almost no restrictions. Don't take my word for it though.
Reply With Quote
  #3  
Old 06-08-2010, 04:55 PM
kawe kawe is offline
 
Join Date: Aug 2008
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

CentOS + Nginx + xCache + most powerfull combination for me
Reply With Quote
  #4  
Old 06-09-2010, 12:15 AM
Angel-Wings's Avatar
Angel-Wings Angel-Wings is offline
 
Join Date: Sep 2007
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Stay with Apache and remove not required modules. Specially since - like on Litespeed's example configuration, using Apache's prefork MPM and then comparing this non-threaded against threaded webservers is well - not really compareable.
Specially with FastCGI worker is the right MPM to use.

And Xcache and other PHP Optimizer's are maybe a bit more placebo-ware than a real help in the most cases.

Just saying - by changing some software there won't be maybe much speedup. Do benchmarks yourself and see what fits your needs best, not just Webserver related, also PHP, MySQL and whatever else is running + the OS of course
Reply With Quote
  #5  
Old 06-10-2010, 12:51 PM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What modules you suggest i remove on Apache?
Reply With Quote
  #6  
Old 06-11-2010, 07:51 AM
Angel-Wings's Avatar
Angel-Wings Angel-Wings is offline
 
Join Date: Sep 2007
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That depends on your configuration and if you maybe run other sites on the server and if any modules have been built in. VB itself won't need much.

Quote:
LoadModule auth_basic_module libexec/apache22/mod_auth_basic.so
LoadModule authn_default_module libexec/apache22/mod_authn_default.so
LoadModule authn_file_module libexec/apache22/mod_authn_file.so
LoadModule authz_host_module libexec/apache22/mod_authz_host.so
LoadModule authz_user_module libexec/apache22/mod_authz_user.so
LoadModule charset_lite_module libexec/apache22/mod_charset_lite.so
LoadModule log_config_module libexec/apache22/mod_log_config.so
LoadModule logio_module libexec/apache22/mod_logio.so
LoadModule mime_magic_module libexec/apache22/mod_mime_magic.so
LoadModule unique_id_module libexec/apache22/mod_unique_id.so
LoadModule setenvif_module libexec/apache22/mod_setenvif.so
LoadModule mime_module libexec/apache22/mod_mime.so
LoadModule dir_module libexec/apache22/mod_dir.so
LoadModule actions_module libexec/apache22/mod_actions.so
LoadModule alias_module libexec/apache22/mod_alias.so
LoadModule rpaf_module libexec/apache22/mod_rpaf.so
LoadModule auth_form_module libexec/apache22/mod_auth_form.so
These are mine but even this can be stripped down - really depends on your server configuration. Except rpaf / auth_form all modules are Apache's own ones.
Rpaf is used because of my reverse caching proxy, auth_form handles SSL encrypted logins for VB.

The easy way is maybe removing one-by-one on your test environment - not the production machine - until something is broken.
And check the official Apache documentation - mod_alias will be needed if you use any "alias" directives, if you don't, no need to use this module.

And - additionally - don't forget PHP and MySQL. Won't give a much better perfomance if your Webserver can deliver pages lightning-fast if the Database slows down everything. But for PHP and MySQL - depends on your usage.

tuning-primer / mysqltuner can help for MySQL and maybe some Profiling tool for MySQL to see if any Addons cause problems with long queries.

And for PHP - you won't need the openssl extension as example if you only use VB and don't use any SSL / TLS - e.g. for sending mails over a SSL / TLS connection. And a memory_limit of 128 MB might look good, but is pretty useless in the most cases.

If you still have some spare resources, a reverse proxy might help to speed up things - specially static content like JS / Images and there, yes, Nginx might be a good choice.

Sorry if there's no clear answer, really all depends on how your site and VB are used.
Reply With Quote
  #7  
Old 06-11-2010, 09:23 AM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for all the info dude. Appreciate everything will look into this.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:45 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03804 seconds
  • Memory Usage 2,207KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete