Is the LiteSpeed Ruby LSAPI my best choice?

travisbell

Well-Known Member
#1
Hey guys,

I've been using the LiteSpeed Ruby LSAPI and it works very well. Here's my question though, in another Apache environment I am really enjoying Mongrel and was wondering, with LiteSpeed, has anyone ever done any performance testing with different servers like Mongrel?

This just an open ended question really...
 

travisbell

Well-Known Member
#3
Cool. Thanks.

I am curious. In regards to scalibilty and RoR, would it better to use LiteSpeeds built in load balancing OR something like Capistrano (or even Mongrel for that matter)?

I've been using LiteSpeed for over 2 months and do love it, don't mistake my questions here as anything but love.

Cheers,
 

mistwang

LiteSpeed Staff
#4
It is the best choice to use LiteSpeed + Ruby LSAPI, no need of load balancing if it is only one server setup.
Mongrel will require mongrel_cluster + load balancing capable web server in production, LiteSpeed is one of those, however it is not recommended due to configuration complexities and lower performance.
 

travisbell

Well-Known Member
#5
It is the best choice to use LiteSpeed + Ruby LSAPI, no need of load balancing if it is only one server setup.
Right but what I am wondering is as my app grows and I DO need to scale it, is my best route LiteSpeed balancing? Or somethig like Capistrano? I have no problem paying for a good product.

Ie. scale just Rails, or is it wiser to scale the LiteSpeed environment? In this example lets assume all I have running on these systems is LiteSpeed. No mail, no DB...
 

mistwang

LiteSpeed Staff
#6
In a load balancing environment, we still recommend using LiteSpeed + LSAPI on each cluster node, should be faster than running Mongrels.
Capistrano does not do the load balancing directly, it manages all Mongrel instances in a cluster. It can be used to manage a LiteSpeed cluster as well.

Please take a look at:
http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:capistrano

For load balancing, our load balancer product will be released in a few days. :)
 

mistwang

LiteSpeed Staff
#9
It is a layer7 content aware, session aware load balancer, which support HTTP, LSAPI, FCGI and AJP backends. It can direct request to different backend based on domain names, URL, Session, etc. It supports URL rewrite and request filtering.
Load balancing algorithms are: round-robin, least load, least session on top of either stateful or stateless load balancing.

Actaully, it has been used by a few large sites pumping out hundreds of requsts per second, even before its official launch. :)
 
#13
Documentation for Balancer?

Awesome!

I notice the documentation is not out yet, and I have a few questions. Any ETA on the documentation?

Thanks,

Dirk

:)
 

mistwang

LiteSpeed Staff
#14
The web site will have some major updates. the document of LSLB will be available on the web site after the new site is ready.
The documentation is in the LB package already, just download the package and refer to the doc/ directory there. People will be pretty comfortable with the LB if they are familiar with our web server product. :)
 
Top