similar to: Fastest Way to run Rails

Displaying 20 results from an estimated 4000 matches similar to: "Fastest Way to run Rails"

2006 Jul 24
22
which webserver to use in production?
Apologies in advance if this ignites a war of comflicting opinions.... I''m a few days away from going live with my first RoR application. It is completely database centric and each user will have his own queries so cacheing will not really help. I have a dedicated linux server being built by my hosting provider and I need to tell them which webserver to use. The databse is MySQL
2006 May 02
4
recommended setup of Mongrel_cluster + SSL for multiple apps?
I''d like to use Mongrel_cluster with SSL on a green-field application (it can be configured however is best - initially, "ease of setup" is important, but then soon after will be scaling and response time). I''ve read a lot of emails on this topic, and checked out the Mongrel pages, etc, but I''m left with this question of what is recommended: For a
2006 Jul 12
11
ruby rails performance
Hi- We just finished our app and I tested for performance with httperf. Our setup is browser -> apache2.2-> mod_poxy balancer-> mongrel cluster -> 3 mongrel servers. I have noticed that the total request per second is is about 7.5. When I increase the no of mongrel to 5, it inches up to 8 req/s. My question is how bad or good this number is? We are on a old dell 2400 machine
2006 Jun 12
15
Mongrel Now Recommended Setup?
I see that the RubyOnRails.com site has migrated to Mongrel with Apache as a front-end proxy. Is that now the/a recommended setup for Rails apps? We''re still using FCGI but I''m always interested to learn more about other folk''s successful deployment choices. Across all of our sites we''re pumping out about 300k pages per day so anything that saves memory or has
2008 Jun 17
6
x_send_file sends a 1 byte file
Hello, sorry if creating a dupe... I''m trying to download files to authenticated users in my app. I''ve set up x_send_file. All seems to be correct to me, however when I try to download any file, I get a 1-byte long file downloaded. I am getting this already in development - so no Apache, no lighthttpd, just a mongrel_rails start in the root of my app. Any help/hint would be
2006 May 22
6
which kind of deployment has the best performance
In the following deployment of web app on ONE pc-based server,running linux,which can support the most amount of concurrent users as well as the shortest latency? 1 apache+mongrel 2 apache+mongrel_cluster 3 lighthttpd+mongrel 4 lighthttpd+mongrel_cluster 5 lighthttpd+fastcgi Thanks charlie -- Posted via http://www.ruby-forum.com/.
2006 Jul 07
8
Going to production soon, need server advice
I''ve got a RoR app that will be going to production soon (in the next month or so) and would like to get some feedback on what kind of web server setup people have had good luck with. I''m looking for something that is: 1. Stable 2. Easy to setup 3. Secure (sorry but Windows is ruled out here) My deployment will either be on Fedora Core 5 or possible Mac OS X Server.
2006 Apr 20
21
Can someone please explain Lighttpd + Mongrel + Rails.
I know that Mongrel is a web server that hosts rails applications. But i don''t understand what part Lighttpd (or Apache) has in the setup. I know that you can use Mongrel on its own. What does Lighttpd improve on? Thanks, Chris -- Posted via http://www.ruby-forum.com/.
2006 Sep 08
2
URL authentication
Does your instance of icecast have CURL support compiled in? Without it authentication doesn't work I think. Furthermore, if you're running icecast in a chroot jail then you need to make sure the curl shared libraries are installed in the chroot jail as well. Regards, KJ Peter Bengtson wrote: > The icecast server isn't on a Mac, it just connects to a Mac for the >
2010 Apr 02
5
Could not retrieve mirror list while using yum command
Hi I wanted to download and install the net-snmp package. Usually on my other CentOS boxes i use the following command to do it: yum install net-snmp I was able to successfully install net-snmp on 4 of my CentOS boxes but not on one of them. It reports me the following error message: [root at localhost yum.repos.d]# yum install net-snmp Loaded plugins: fastestmirror Determining fastest
2006 Apr 06
4
Lighthttpd not working as default (configuration?)
Hi, On the api doc it is written that if lighttpd is installed, rails will use it as its web server instead of WebBrick. I have installed lighthttpd and verified it works (for example on the default port 80) but when lauching script/server, it still uses WebBrick. I wondering if I need to edit /etc/lighttpd/lighthttpd.conf myself or configure something else. Any idea? Thanks Oscar
2006 Aug 29
15
Setup with Apache 2.2 proxy balancer : timeout during uploads
Hi all, I encounter timeout errors during file uploads in my Rails application. I think the problem may be in the Mongrel configuration. Here is my setup: * Load balancer (Cisco CSM, my provider''s Catalyst 6509) * Apache 2.2.3 with mod_proxy_balancer * Mongrel 0.3.13.3 * Rails 1.1.6 * Ruby 1.8.4 * MySQL 5.0.22 * file_column I host an application in which users may upload medium files
2006 Mar 12
3
Apache, fastcgi, ruby-on-rails etc.
Hi all, I've read a bit about fastcgi, and wondered if it might be an interesting solution for e.g. running php in a user-switched environment or running ruby-on-rails etc. But I wonder why nobody (searched on Google) seems to use CentOS with mod_fastcgi for Apache 2.x. And I also wonder why people actually using Apache 2.x and ruby-on-rails with CentOS did run a lighthttpd-fastcgi
2007 Oct 15
24
Design flaw? - num_processors, accept/close
Rails instances themselves are almost always single-threaded, whereas Mongrel, and it''s acceptor, are multithreaded. In a situation with long-running Rails pages this presents a problem for mod_proxy_balancer. If num_processors is greater than 1 ( default: 950 ), then Mongrel will gladly accept incoming requests and queue them if its rails instance is currently busy. So even
2006 Sep 08
4
URL authentication
I had similar problems when my auth.php was on password protected http server...but after applying the following configuration i've got it working: <mount> <mount-name>/Test</mount-name> <authentication type="url"> <option name="listener_add" value="http://user:pass@127.0.0.1/auth/action.php"/> <option
2007 Oct 28
6
high cpu load
Hi all, My mongrel server (1.0.3), with a very low usage, is taking more than 10% of cpu usage all the time (no background tasks were defined by me). This is very annoying and it is preventing me from being able to thing about good cluster configuration. Any idea on why this is happening? cheers and regards, Danilo -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Sep 02
2
URL authentication
I can't get URL authentication to work. The notification script is never called by icecast (v 2.3.1). This is the mount point: > <mount> > <mount-name>/tp.mp3</mount-name> > <max-listeners>499</max-listeners> > <hidden>1</hidden> > <no-yp>1</no-yp> > <authentication
2006 Sep 07
9
LiteSpeed
Yo Zed, Just curious -- what do you think of the LiteSpeed server? Is it better than Lighty? Does it (gasp!) also serve Rails apps like Mongrel? I think I read that LiteSpeed doesn''t have proxying support. Thanks, Joe __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
2008 Oct 19
1
Does anybody out there use Litespeed?
I''ve heard good things about Litespeed but all the documentation I''ve found doesn''t reflect the new 3.3 version. The older 2 and 1 versions are just so different. I''ve gone down the road with the old docs and it''s always a dead end. I''d be happy to pay or trade code or some kind of programming favors for some help in this area. I''ve
2006 Jun 18
4
MongrelDay Documentation -- Memoirs Of A Web Server
Happy RailsDay! While everyone else was out having fun with RailsDay I spent my time wisely and wrote up tons of documentation for Mongrel and cleaned out some of the docs I''ll never write anyway. I also took the time to apply some nice patches from Jonas Pfenniger for easily setting up redirects in Mongrel. Some of the highlighted documents people will be interested in are: *