unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [ANN] unicorn 3.0.0 - disable rewindable input!
@ 2010-11-20  2:47  6% Eric Wong
  2010-11-20 17:50  7% ` Michael Guterl
  0 siblings, 1 reply; 7+ results
From: Eric Wong @ 2010-11-20  2:47 UTC (permalink / raw)
  To: mongrel-unicorn

Changes:

Rewindable "rack.input" may be disabled via the
"rewindable_input false" directive in the configuration file.
This will violate Rack::Lint for Rack 1.x applications, but can
reduce I/O for applications that do not need a rewindable
input.

This release updates us to the Kgio 2.x series which should play
more nicely with other libraries and applications.  There are
also internal cleanups and improvements for future versions of
Rainbows!

The Unicorn 3.x series supercedes the 2.x series
while the 1.x series will remain supported indefinitely.

* http://unicorn.bogomips.org/
* mongrel-unicorn@rubyforge.org
* git://git.bogomips.org/unicorn.git

-- 
Eric Wong
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying


^ permalink raw reply	[relevance 6%]

* Re: [ANN] unicorn 3.0.0 - disable rewindable input!
  2010-11-20  2:47  6% [ANN] unicorn 3.0.0 - disable rewindable input! Eric Wong
@ 2010-11-20 17:50  7% ` Michael Guterl
  2010-11-21  4:05  6%   ` Eric Wong
  0 siblings, 1 reply; 7+ results
From: Michael Guterl @ 2010-11-20 17:50 UTC (permalink / raw)
  To: unicorn list

On Fri, Nov 19, 2010 at 9:47 PM, Eric Wong <normalperson@yhbt.net> wrote:
> Changes:
>
> Rewindable "rack.input" may be disabled via the
> "rewindable_input false" directive in the configuration file.
> This will violate Rack::Lint for Rack 1.x applications, but can
> reduce I/O for applications that do not need a rewindable
> input.
>
> This release updates us to the Kgio 2.x series which should play
> more nicely with other libraries and applications.  There are
> also internal cleanups and improvements for future versions of
> Rainbows!
>
> The Unicorn 3.x series supercedes the 2.x series
> while the 1.x series will remain supported indefinitely.
>
We've been using Unicorn 1.x very successfully for some time with a
Rails 2.3 application.  Would you recommend upgrading to Unicorn 3.x?

Best,
Michael Guterl
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying

^ permalink raw reply	[relevance 7%]

* Re: [ANN] unicorn 3.0.0 - disable rewindable input!
  2010-11-20 17:50  7% ` Michael Guterl
@ 2010-11-21  4:05  6%   ` Eric Wong
  2010-11-21 16:29  7%     ` Jeremy Evans
  2010-11-23 17:34  7%     ` Michael Guterl
  0 siblings, 2 replies; 7+ results
From: Eric Wong @ 2010-11-21  4:05 UTC (permalink / raw)
  To: unicorn list

Michael Guterl <mguterl@gmail.com> wrote:
> We've been using Unicorn 1.x very successfully for some time with a
> Rails 2.3 application.  Would you recommend upgrading to Unicorn 3.x?

Yes if you're running a recent Linux (>= 2.6.28), it might help somewhat
with performance (but may not be noticeable with a particular app).
I haven't done extensive benchmarking, but the reduction of syscalls
should help a bit, and newer versions will exploit some of that more.

I don't expect (m)any regressions on recent Linux, and any will be found
and fixed quickly (usually within 24-48 hours).

If you're willing to help iron out portability bugs to other kernels,
then please upgrade and report back :)


On the other hand, if you're going to be losing a lot of
money/users/lives in case of failure, stick to what works for you :)

-- 
Eric Wong
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying


^ permalink raw reply	[relevance 6%]

* Re: [ANN] unicorn 3.0.0 - disable rewindable input!
  2010-11-21  4:05  6%   ` Eric Wong
@ 2010-11-21 16:29  7%     ` Jeremy Evans
  2010-11-21 23:49  7%       ` Eric Wong
  2010-11-23 17:34  7%     ` Michael Guterl
  1 sibling, 1 reply; 7+ results
From: Jeremy Evans @ 2010-11-21 16:29 UTC (permalink / raw)
  To: unicorn list

On Sat, Nov 20, 2010 at 8:05 PM, Eric Wong <normalperson@yhbt.net> wrote:
> Michael Guterl <mguterl@gmail.com> wrote:
>> We've been using Unicorn 1.x very successfully for some time with a
>> Rails 2.3 application.  Would you recommend upgrading to Unicorn 3.x?
>
> Yes if you're running a recent Linux (>= 2.6.28), it might help somewhat
> with performance (but may not be noticeable with a particular app).
> I haven't done extensive benchmarking, but the reduction of syscalls
> should help a bit, and newer versions will exploit some of that more.
>
> I don't expect (m)any regressions on recent Linux, and any will be found
> and fixed quickly (usually within 24-48 hours).
>
> If you're willing to help iron out portability bugs to other kernels,
> then please upgrade and report back :)
>
>
> On the other hand, if you're going to be losing a lot of
> money/users/lives in case of failure, stick to what works for you :)

Just an anecdotal data point here, using OpenBSD-current.  Moving from
Unicorn 1.0 to 2.0 sped up the scaffolding_extensions integration test
suite by a factor of 3 (~10 seconds to ~3 seconds).  I'm guessing this
is due mainly to the use of kgio.  Hoping to upgrade to Unicorn 3.0
today.

Jeremy
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying


^ permalink raw reply	[relevance 7%]

* Re: [ANN] unicorn 3.0.0 - disable rewindable input!
  2010-11-21 16:29  7%     ` Jeremy Evans
@ 2010-11-21 23:49  7%       ` Eric Wong
  2010-11-22  1:21  7%         ` Jeremy Evans
  0 siblings, 1 reply; 7+ results
From: Eric Wong @ 2010-11-21 23:49 UTC (permalink / raw)
  To: unicorn list

Jeremy Evans <jeremyevans0@gmail.com> wrote:
> On Sat, Nov 20, 2010 at 8:05 PM, Eric Wong <normalperson@yhbt.net> wrote:
> > Michael Guterl <mguterl@gmail.com> wrote:
> >> We've been using Unicorn 1.x very successfully for some time with a
> >> Rails 2.3 application.  Would you recommend upgrading to Unicorn 3.x?
> >
> > Yes if you're running a recent Linux (>= 2.6.28), it might help somewhat
> > with performance (but may not be noticeable with a particular app).
> > I haven't done extensive benchmarking, but the reduction of syscalls
> > should help a bit, and newer versions will exploit some of that more.
<snip>
> > If you're willing to help iron out portability bugs to other kernels,
> > then please upgrade and report back :)
> 
> Just an anecdotal data point here, using OpenBSD-current.  Moving from
> Unicorn 1.0 to 2.0 sped up the scaffolding_extensions integration test
> suite by a factor of 3 (~10 seconds to ~3 seconds).  I'm guessing this
> is due mainly to the use of kgio.  Hoping to upgrade to Unicorn 3.0
> today.

Wow!  I didn't expect that kind of performance improvement![1]  What
is this test doing?  I'm actually suspicious there could be a bug
somewhere in Unicorn or kgio causing wrong results :)

Let us know how 3.0 goes, thanks!

[1] - dalli reported 10-20%, which is closer to what I expected
      (1-10%).

-- 
Eric Wong
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying


^ permalink raw reply	[relevance 7%]

* Re: [ANN] unicorn 3.0.0 - disable rewindable input!
  2010-11-21 23:49  7%       ` Eric Wong
@ 2010-11-22  1:21  7%         ` Jeremy Evans
  0 siblings, 0 replies; 7+ results
From: Jeremy Evans @ 2010-11-22  1:21 UTC (permalink / raw)
  To: unicorn list

On Sun, Nov 21, 2010 at 3:49 PM, Eric Wong <normalperson@yhbt.net> wrote:
> Jeremy Evans <jeremyevans0@gmail.com> wrote:
>> On Sat, Nov 20, 2010 at 8:05 PM, Eric Wong <normalperson@yhbt.net> wrote:
>> > Michael Guterl <mguterl@gmail.com> wrote:
>> >> We've been using Unicorn 1.x very successfully for some time with a
>> >> Rails 2.3 application.  Would you recommend upgrading to Unicorn 3.x?
>> >
>> > Yes if you're running a recent Linux (>= 2.6.28), it might help somewhat
>> > with performance (but may not be noticeable with a particular app).
>> > I haven't done extensive benchmarking, but the reduction of syscalls
>> > should help a bit, and newer versions will exploit some of that more.
> <snip>
>> > If you're willing to help iron out portability bugs to other kernels,
>> > then please upgrade and report back :)
>>
>> Just an anecdotal data point here, using OpenBSD-current.  Moving from
>> Unicorn 1.0 to 2.0 sped up the scaffolding_extensions integration test
>> suite by a factor of 3 (~10 seconds to ~3 seconds).  I'm guessing this
>> is due mainly to the use of kgio.  Hoping to upgrade to Unicorn 3.0
>> today.
>
> Wow!  I didn't expect that kind of performance improvement![1]  What
> is this test doing?  I'm actually suspicious there could be a bug
> somewhere in Unicorn or kgio causing wrong results :)
>
> Let us know how 3.0 goes, thanks!
>
> [1] - dalli reported 10-20%, which is closer to what I expected
>      (1-10%).

Looks like it must have been some other change that caused this speed
up, as after testing again with 1.x, I'm getting about the same in
terms of performance.  Sorry for the misinformation.

Jeremy
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying


^ permalink raw reply	[relevance 7%]

* Re: [ANN] unicorn 3.0.0 - disable rewindable input!
  2010-11-21  4:05  6%   ` Eric Wong
  2010-11-21 16:29  7%     ` Jeremy Evans
@ 2010-11-23 17:34  7%     ` Michael Guterl
  1 sibling, 0 replies; 7+ results
From: Michael Guterl @ 2010-11-23 17:34 UTC (permalink / raw)
  To: unicorn list

On Sat, Nov 20, 2010 at 11:05 PM, Eric Wong <normalperson@yhbt.net> wrote:
> Michael Guterl <mguterl@gmail.com> wrote:
>> We've been using Unicorn 1.x very successfully for some time with a
>> Rails 2.3 application.  Would you recommend upgrading to Unicorn 3.x?
>
> Yes if you're running a recent Linux (>= 2.6.28), it might help somewhat
> with performance (but may not be noticeable with a particular app).
> I haven't done extensive benchmarking, but the reduction of syscalls
> should help a bit, and newer versions will exploit some of that more.
>
> I don't expect (m)any regressions on recent Linux, and any will be found
> and fixed quickly (usually within 24-48 hours).
>
> If you're willing to help iron out portability bugs to other kernels,
> then please upgrade and report back :)
>
>
> On the other hand, if you're going to be losing a lot of
> money/users/lives in case of failure, stick to what works for you :)

Thanks Eric, we'll probably stick with 1.x for the time being.
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying

^ permalink raw reply	[relevance 7%]

Results 1-7 of 7 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2010-11-20  2:47  6% [ANN] unicorn 3.0.0 - disable rewindable input! Eric Wong
2010-11-20 17:50  7% ` Michael Guterl
2010-11-21  4:05  6%   ` Eric Wong
2010-11-21 16:29  7%     ` Jeremy Evans
2010-11-21 23:49  7%       ` Eric Wong
2010-11-22  1:21  7%         ` Jeremy Evans
2010-11-23 17:34  7%     ` Michael Guterl

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/unicorn.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).