Displaying 20 results from an estimated 12000 matches similar to: "Unix Domain Sockets + Fork for improved scalability"
2006 Sep 20
15
Why Rails + mongrel_cluster + load balancing doesn''t work for us and the beginning of a solution
We have been searching for a Rails deployment architecture which works for
us for some time. We''ve recently moved from Apache 1.3 + FastCGI to Apache
2.2 + mod_proxy_balancer + mongrel_cluster, and it''s a significant
improvement. But it still exhibits serious performance problems.
We have the beginnings of a fix that we would like to share.
To illustrate the problem, imagine a
2008 Jan 23
14
Again: Workaround found for request queuing vs. num_processors, accept/close
Hello all.
I too found out that I sometimes have some action that can take up to 10
seconds in my rails application. I''ve read all arguments Zed made about
polling/and inbox strategies, and I think I just can''t work around my feeling
that a "wrong" request that takes up too much time should be able to lock
subsequent requests in mongrels queue. That''s what
2011 Oct 18
3
haproxy ssl
hello list,
I am attempting to load balance SSL web servers using haproxy on centos 5.7.
I am using HA-Proxy version 1.4.18
Here is the stanza in the config regarding SSL:
listen https 192.168.1.200:443
mode tcp
balance roundrobin
option forwardfor except 192.168.1.200
option redispatch
maxconn 10000
reqadd X-Forwarded-Proto:\ https
2013 Feb 01
3
Cannot get puppetlabs-haproxy to do what I want
I''ve been having a mess of a time using this module, which stinks because
its behavior is EXACTLY what I am looking for... whenever I bootstrap new
rabbitMQ nodes I want to add them to our HAProxy instance.
Here''s my relevant site.pp entries:
node /^rabbit.*/ inherits basenode {
@@haproxy::balancermember { $fqdn:
listening_service => ''messaging00'',
2007 Apr 20
2
order of registering uri''s matters for URIClassifier ?
Hi all,
I''m playing around with mongrel handlers and I came across a behaviour
that seems abnormal to me with regard to the Configurator#uri calls. It
appears that order matters.
For instance:
...
listener do
uri "/icons", :handler => DirHandler.new("/var/www/icons")
uri "/", :handler =>
2008 Jan 03
23
deployment survey
Hello Mongrels,
Building on the last messages about Fastthread, can we get a detailed
survey of the different ways people are deploying their applications?
It will help with near-future Mongrel development.
Please include the following things:
* Framework, if any (Camping, Merb, Rails, Nitro, Ramaze, IOWA, Rack...)
* Mongrel version
* Mongrel handlers used (rails, dirhandler, camping,
2007 Oct 11
7
1.0.2 release candidates
Hello Mongrels,
Release candidates for Mongrel 1.0.2 and its dependencies are now
available. Note that gems are now signed, so please add the Mongrel
public certificate via:
$ wget http://rubyforge.org/frs/download.php/25325/mongrel-public_cert.pem
$ gem cert --add mongrel-public_cert.pem
Now you can verify and install the candidates via gem install:
$ sudo gem install mongrel
2007 Jan 26
2
Most reliable setup for mongrel
I''m looking for the most reliable setup for Mongrel. Reliable meaning
avoiding things like sending too many requests to a single mongrel
process, or sending requests to a mongrel process that has hung for
some reason. The handler will most likely be rails, but it might be a
custom handler. SSL is also a requirement, which limits the options a
bit but it can''t be done away
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
2007 Mar 02
6
Multiple apps on the same server, all should be able to survive slashdotting
Dear all,
I am researching solutions for "how do you squeeze as many Rails apps as you
can on a cluster" problem.
Environment constraints are as follows:
* 4 commodity web servers (2 CPUs, 8 Gb of RAM each)
* shared file storage and database (big, fast, not a bottleneck)
* multiple Rails apps running on it
* normally, the load is insignificant, but from time to time any of these
apps
2007 Nov 08
26
Mongrel wiki?
Dear Mongrels,
The same questions keep coming up over and over on the list, which is
ok, but not really optimal. If we added a wiki to the Mongrel site to
handle FAQs, what wiki should it be?
Required features would be:
* Spam protection
* Doesn''t look shitty
I would probably spring for Trac (and also migrate the bugtracker) if
noone else has opinions, but I''m sure some of
2006 Sep 01
11
mongrel thread safety and global variables
In environment.rb file, I initialize a connection to some data vending
servers, through TCP sockets.
The connection object is global and hence the code:
#environment.rb
$generic_connection = ConnectionClass.instance (singleton class)
$generic_connection.connect_me( this call will make the connection)
The above approach is to make sure that, only one connection is made to the
data vending
2007 Oct 22
30
TST is right out
Hi Zed,
I checked in a pure-Ruby URI classifier to Mongrel trunk. Ola''s Java
port of the TST had some bug, and I don''t think it''s necessary in the
first place. The Ruby classifier is around 25 lines instead of the
400-odd lines for the C extension and the 200-odd for the Java
extension. It uses a Regexp which is perhaps shady:
@matcher = Regexp.new(routes.map do
2007 Dec 15
6
1.1.2
Hi all,
There is a bug with Mongrel on JRuby 1.0.3 that the JRuby guys want
fixed before they release it.
If it''s ok with people I''d like to fix that, revert (at least for now)
the proxy response change, and tag that as 1.1.2 and release it.
Anything wrong with this plan?
Evan
--
Evan Weaver
Cloudburst, LLC
2007 Oct 27
20
problems with ''localization simplified''
Hi you all! I''ve got Mongrel saying this when I use the localization
simplified plug-in: any idea?
** Loading any Rails specific GemPlugins
Exiting
/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/source_index.rb:92:in
`load_specification'':
/Users/stratboy/Documents/05_SAMPLES/RAILS/newser/vendor/plugins/l10n-simplified-0.8/lib/localization_simplified.rb:13:in
`gsub!'':
2007 Dec 11
54
1.9
Hey so,
People are asking about Mongrel Ruby 1.9 compatibility. Isn''t the
point of 1.9 for library developers to have time to get ready for 2.0?
It''s not like 1.9 is a production release.
Evan
--
Evan Weaver
Cloudburst, LLC
2007 Dec 31
7
"mongrel_rails --version" reporting 1.1.2 instead of 1.1.3
FYI.
--
- Brian Gupta
http://opensolaris.org/os/project/nycosug/
2007 Oct 22
6
weird error - stream closed
Hi all,
few days ago mongrel start crashing on one of my sites, i upgraded to
latest version (1.0.1) but problem still exists.
When i try to load page in browser random elements are missing or page
is blank (empty html). In mongrel.log i''m getting:
Mon Oct 22 01:10:47 +0200 2007: ERROR: stream closed
Mon Oct 22 01:10:47 +0200 2007: ERROR: closed stream
Mon Oct 22 01:10:47 +0200 2007:
2006 Nov 24
2
Mongrel + Apache 1.3 + OpenBSD
Hello,
I want to install a bunch mongrel servers with an apache in fronthead,
all that on OpenBSD. But OpenBSD is released with a homemade Apache
1.3.29 patched by the OpenBSD team. I really want to keep this version
of apache and I don''t want to change it to Apache 2.x (because of the
security and the license but it''s not the point here). But for having
mongrel, it has to be
2007 Oct 29
9
Problems with mongrel on NetBSD
I seem to have a (recent) problem with mongrel on NetBSD. I''m running
a development release of NetBSD (called NetBSD-current 4.99.34).
When I start mongrel, it listens on the IPv6 wildcard address, but not
on the IPv4 wildcard:
=> Booting Mongrel (use ''script/server webrick'' to force WEBrick)
=> Rails application starting on http://0.0.0.0:3000
=> Call with