Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 [server] instead of apache?
Index -> General Programming
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Tony




PostPosted: 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?
Sponsor
Sponsor
Sponsor
sponsor
rizzix




PostPosted: Thu Jan 20, 2005 3:17 pm   Post subject: (No 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?
wtd




PostPosted: Thu Jan 20, 2005 4:10 pm   Post subject: (No 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.
Tony




PostPosted: Thu Jan 20, 2005 5:23 pm   Post subject: (No 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
rizzix




PostPosted: Thu Jan 20, 2005 6:22 pm   Post subject: (No subject)

hmm... i have no idea Laughing

wanna switch? there's always ZOPE.
wtd




PostPosted: Thu Jan 20, 2005 6:35 pm   Post subject: (No 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.
Blade




PostPosted: Thu Jan 20, 2005 8:41 pm   Post subject: (No 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
Tony




PostPosted: Mon Jan 24, 2005 9:45 am   Post subject: (No subject)

Blade wrote:
what about ipaddress:port_number

nope.
localhost or no deal. This is not cool Confused
Sponsor
Sponsor
Sponsor
sponsor
Display posts from previous:   
   Index -> General Programming
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 8 Posts ]
Jump to:   


Style:  
Search: