Difference between using the pre-built Ruby vhost template and disptach.lsapi?

travisbell

Well-Known Member
#1
I have noticed much better performance when using dispatch.lsapi rather than the RoR vhost templates, and was just wondering why the templates don't use dispatch.lsapi. Is there a drawback to it that I don't realize?

Thanks!
 

mistwang

LiteSpeed Staff
#2
Are you sure?
The RoR vhost templates uses RailsRunner.rb, which is like a universal dispatch.lsapi, performance should be the same.
 

travisbell

Well-Known Member
#3
I have definitely noticed better performance, so for you to say they should be the same is interesting... I might have to do some better testing and see what's up.

Thanks,
 
Top