Is the LiteSpeed Ruby LSAPI my best choice?

Discussion in 'Ruby/Rails' started by travisbell, Mar 28, 2007.

  1. travisbell

    travisbell New Member

    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...
  2. mistwang

    mistwang LiteSpeed Staff

  3. travisbell

    travisbell New Member

    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,
  4. mistwang

    mistwang LiteSpeed Staff

    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.
  5. travisbell

    travisbell New Member

    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...
  6. mistwang

    mistwang LiteSpeed Staff

    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. :)
  7. travisbell

    travisbell New Member

    Awesome!

    Thanks for the clarification.
  8. dirkbj

    dirkbj New Member

    Any news on load balancer?

    I'd love to hear more about this.

    Dirk
  9. mistwang

    mistwang LiteSpeed Staff

    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. :)
  10. dirkbj

    dirkbj New Member

    Any release date?

    I'd like to try it on a Rails deployment.

    Dirk
  11. mistwang

    mistwang LiteSpeed Staff

    Should be soon. In the final packing stage.
    Will let you known when the package is ready.
  12. mistwang

    mistwang LiteSpeed Staff

    LiteSpeed Load balancer has been release.
  13. dirkbj

    dirkbj New Member

    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

    :)
  14. mistwang

    mistwang LiteSpeed Staff

    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. :)

Share This Page