Computer Science Canada

[server] instead of apache?

Author:  Tony [ Thu Jan 20, 2005 2:45 pm ]
Post subject:  [server] instead of apache?

Well I'm running Rails and its blazing fast as long as apache is off. Turning apache on slows a page down to 10~15 seconds, which is redicilous.

Now the tradeoff is that without apache I can no longer connect to the server outside of the localhost:port . Is there an alternative for vertual hosting that would point to the Rails directory when connected to over the network?

Author:  rizzix [ Thu Jan 20, 2005 3:17 pm ]
Post subject: 

how does rails work if apache is off?... either way... one thing is for sure.. Ruby is hell slow anyways specially the ruby regex engine.. but u say that apache affects it eh?

Author:  wtd [ Thu Jan 20, 2005 4:10 pm ]
Post subject: 

rizzix wrote:
how does rails work if apache is off?... either way... one thing is for sure.. Ruby is hell slow anyways specially the ruby regex engine.. but u say that apache affects it eh?


Rails has it's own webserver, built solely with Ruby. Rails defaults to using this.

Yes, Ruby's regex engine is slow. That's why it's being rewritten. There's nothing inherently "slow" about Ruby itself, though. On a mainstream machine it's limited primarily by input and output operations, as with most any other programming language.

Author:  Tony [ Thu Jan 20, 2005 5:23 pm ]
Post subject: 

problem is that computerName:port_number does not respond, although localhost:port_number does..

what about ipaddress:port_number instead of computerName:port_number


sorry, blade edited this ... explanation below

Author:  rizzix [ Thu Jan 20, 2005 6:22 pm ]
Post subject: 

hmm... i have no idea Laughing

wanna switch? there's always ZOPE.

Author:  wtd [ Thu Jan 20, 2005 6:35 pm ]
Post subject: 

rizzix wrote:
hmm... i have no idea Laughing

wanna switch? there's always ZOPE.


Ugh... I've dealt with Zope. That was not pleasant.

Author:  Blade [ Thu Jan 20, 2005 8:41 pm ]
Post subject: 

tony wrote:
.. problem is that computerName:port_number does not respond, although localhost:port_number does..

what about ipaddress:port_number instead of computerName:port_number




edit: awwww crap, sorry i didnt know i could edit posts in here until now, i thought i hit "quote" Sad

Author:  Tony [ Mon Jan 24, 2005 9:45 am ]
Post subject: 

Blade wrote:
what about ipaddress:port_number

nope.
localhost or no deal. This is not cool Confused


: