Displaying 20 results from an estimated 2000 matches similar to: "[CFT] multi server failover setup"
2009 Oct 09
0
unicorn 0.93.3 - OpenBSD compatibility
Unicorn is a HTTP server for Rack applications designed to only serve
fast clients on low-latency, high-bandwidth connections and take
advantage of features in Unix/Unix-like kernels. Slow clients should
only be served by placing a reverse proxy capable of fully buffering
both the the request and response in between Unicorn and slow clients.
* http://unicorn.bogomips.org/
* mongrel-unicorn at
2008 Feb 24
6
ANNC: qrp - queueing reverse proxy
Hi, I''ve started a new project that uses Mongrel. It basically
lets you defer requests to it until other Mongrels in your (Rails)
pool becomes free.
Rubyforge project page:
http://rubyforge.org/projects/qrp/
gems, tarballs and git repo in case they haven''t hit the mirrors yet:
http://bogomips.org/ruby/
I should also add that nginx 0.6.7 or later is required for the
2019 Apr 30
1
CFT: FreeBSD Package Base
David Chisnall wrote on 2019/04/30 10:22:
> On 29/04/2019 21:12, Joe Maloney wrote:
>> With CFT version you chose to build, and package individual components
>> such as sendmail with a port option.? That does entirely solve the
>> problem of being able to reinstall sendmail after the fact without a
>> rebuild of the userland (base) port but perhaps base flavors could
2012 Dec 04
2
403 Forbidden from nginx when unicorn started in debug mode
I am using nginx with unicorn as a reverse proxy.
Has been fantastic, but needed to look through some code
for first time.
Using ruby 1.9.3p194 with rails 3.2.9, development mode with ssl enabled,
I start unicorn with -d
...and it does not get served up by nginx.
Any ideas, or more information needed?
Thanks!
Jet
Below is my unicorn.rb for developent:
# config/unicorn.rb
env =
2019 Apr 30
3
CFT: FreeBSD Package Base
On 29/04/2019 21:12, Joe Maloney wrote:
> With CFT version you chose to build, and package individual components such as sendmail with a port option. That does entirely solve the problem of being able to reinstall sendmail after the fact without a rebuild of the userland (base) port but perhaps base flavors could solve that problem assuming flavors could extend beyond python.
This sounds very
2011 Sep 03
0
Nightmare! - an nginx alternative for unicorn
This is a slow client buffering layer which may be used instead
of nginx to protect Unicorn from slow clients.
Nightmare! will _never_ beat nginx in raw throughput nor
performance. It /may/ be easier to setup than nginx and a
suitable alternative to Rainbows! for users who do not wish to
maintain a thread-safe/async-safe Rack application.
Code changes to the existing Unicorn codebase are
2011 Jun 25
3
Unicorn and streaming in Rails 3.1
Streaming works with Unicorn + Apache. Both with and without deflating.
My understanding is that Unicorn + Apache is not a good combination
though because Apache does not buffer, and thus Unicorn has no fast
client in front. (I don''t know which is the ultimate technical reason
Unicorn puts such an emphasis on fast clients, but will do some
research about it.)
I have seen in
2012 Jun 08
2
File creation mode in Rails + Unicorn
Hi,
I''m currently giving Nginx + Unicorn a try, to eventually replace Apache + Passenger. So far so good.
I have a Rails 3.2.5 app behind Unicorn, itself behind Nginx.
In this Rails app, I have set page caching for some resources. They are created in Rails.root/public/ to be directly available to Nginx.
When I first hit such a page, the static cache file is not present, so the Rails
2009 Oct 13
7
Unicorn Nginx Issue
I''ve setup nginx with this
server {
listen 80;
server_name unicorn.local;
location / {
proxy_pass http://unicorn;
}
}
upstream unicorn {
server unix:/Users/mattmongeau/projects/test/unicorn/tmp/sockets/unicorn.sock;
}
When I run unicorn_rails -c config/unicorn.rb -E development I can
access the application just fine on unicorn.local
When I run unicorn_rails -c
2011 Jul 11
6
Unicorn vs Apache
Hello all,
I have always deploys rails apps with unicorn and nginx as a reverse
proxy in the past. However, I am working with a new firm and they would
like to use Apache with mod_pagespeed in front of unicorn.
We will be deploying a rails 3.1 app with streaming. To me,
mod_pagespeed does not seem like a magic bullet, as it appears to be a
collection of best practices which have to be rewritten
2011 Nov 14
3
nginx + unicorn deployment survey
Hello all, I''m wondering if you deploy nginx:
1) on the same machine that runs unicorn (exclusively proxying to that)
2) on a different machine that doesn''t run unicorn
3) both, nginx could forward to either to localhost
or another host on the same LAN
And of course, the reason(s) you chose what you chose. I''m inclined
to believe many folks are on 1) simply
2012 Dec 08
0
unicorn 4.5.0 (final) - check_client_connection option
Changes:
The new check_client_connection option allows unicorn to detect
most disconnected local clients before potentially expensive
application processing begins.
This feature is useful for applications experiencing spikes of
traffic leading to undesirable queue times, as clients will
disconnect (and perhaps even retry, compounding the problem)
before unicorn can even start processing the
2010 Aug 15
1
unicorn behind apache with file uploads
Hi,
For one of our apps we switched to unicorn from mongrel.
The unicorn server use to run behind an apache with timeout of 300sec,
as sometime the customer may do a large file upload.
After we made the switch we started getting lots of
Unicorn::ClientShutdown occurred in photos#flash_upload
bytes_read=2762663 (pr some other number)
We were not able to recreate it in our tests, but support was
2010 Feb 14
6
Nginx Sock And Rails Envinroment Error
Hi There,
Im running an amazon instance with nginx proxying to a unicorn sock.
For some reason, even though i specify the production environment, when being visited by nginx, the site shows errors in development form.
Interestingly, when running on a port rather than a sock, if i visit that port, the errors are rendered as normal with a 500 page, the same port, throught nginx, shows errors
2009 Oct 09
1
While we're on the topic
First - Thanks! We''re loving Unicorn.
I''m serving about 200K API requests a day on a few linux servers
running Unicorn. We have the API calls, and also some admin stuff
that has a UI. I have a pair of F5 load balancers in front of the
setup with two pools. The API pool passes directly to the unicorns,
while the UI pool passes to nginx which passes to unicorn. At
2011 Jun 07
2
[PATCH] examples/nginx.conf: add ipv6only comment
IPv4 addresses started looking very ugly the first time I got
IPv6 working on bogomips.org. In case somebody else can''t stand
how IPv4-mapped-IPv6 addresses look, the workaround is to use
two listeners and ensure the IPv6 one is ipv6only.
Unicorn itself supports IPv6, too, but nobody uses/needs it.
I''ll add :ipv6only support shortly (probably tomorrow).
>From
2013 Oct 16
1
Issue with Deploying a Rails app on VPS - cannot load such file -- unicorn/launcher
I am trying to deploy a rails application to a digitalocean VPS droplet. I
have the following setup Ruby on Rails on Ubuntu 12.10 (Nginx + Unicorn). I
have installed Ruby ruby-2.0.0-p247 and rails Rails 4.0.0 via rvm but when
I try to restart Unicorn I get the following error.
/usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems
/core_ext/kernel_require.rb:45:in
2010 Oct 22
4
502 bad gateway on nginx with recv() failed
Hi,
I''m serving the puppetmaster application with its config.ru through
unicorn - proxied by nginx.
I''m using unix sockets, 4 workers, and 2048 backlog.
The clients - after their typical "puppet run" - send back a report to
the master in YAML.
Some clients whose reports tend to be large (close to 2mb) get a 502
bad gateway error and error out.
nginx log:
2010/10/22
2012 Nov 07
1
select(): Interrupted system call from curb when stopping unicorn
Hi,
We''ve just migrated one of our rails applications from nginx/passenger
running on REE 1.8.7 Ubuntu 8.04 to unicorn running on MRI 1.9.3 on
Ubuntu 10.04. The app makes a number of calls to internal services
using curb.
Our deployment script stops unicorn by sending SIGQUIT to the unicorn
master, sleeps for a few seconds to ensure that HAProxy has taken the
node out of service and
2007 Mar 23
0
cft 0.2.0
I am pleased to announce the release of cft-0.2.0; the major new feature
in this release is that cft now tracks package operations, so that
things like
yum -y install httpd
rpm -e evolution
will be reflected in the generated manifest.
Details and downloads can be found at http://cft.et.redhat.com/
RPM''s for Fedora and RHEL are available at
http://people.redhat.com/dlutter/yum