From normalperson at yhbt.net Tue Feb 1 16:41:17 2011 From: normalperson at yhbt.net (Eric Wong) Date: Tue, 1 Feb 2011 13:41:17 -0800 Subject: multiple Transfer-Encodings? Message-ID: <20110201214117.GA4059@dcvr.yhbt.net> Hi all, are there real-world examples of people using multiple Transfer-Encodings in the same request? rfc2616 seems to allow it as long as chunked is also used, but we don't have support for anything other than chunked. Heck, the only example I can think of for chunked requests in the request is "curl -T-" to make PUT requests from stdin (I use that every single day, but I don't think the rest of the world does). -- Eric Wong From normalperson at yhbt.net Tue Feb 1 21:58:11 2011 From: normalperson at yhbt.net (Eric Wong) Date: Tue, 1 Feb 2011 18:58:11 -0800 Subject: preliminary reverse proxy Rack application Message-ID: <20110202025811.GA26963@dcvr.yhbt.net> Hi all, since some folks have been interested in reverse proxies, I just pushed this out to rainbows.git http://bogomips.org/rainbows.git/commit/?id=130d086666ccd825fcb13c It's a fairly big patch but basically works assuming the backend is behaving and terminating requests. ----------- commit message ------------- This can be a starting point for developing Cool.io or EventMachine-based reverse proxy applications on Rainbows! Eventually Rainbows! could replace nginx for Unicorn users! Just don't consider this code production ready, yet, at all, it doesn't handle any sort of failover and has no automated tests, yet. --- The RDoc in lib/rainbows/reverse_proxy.rb explains the rest examples/reverse_proxy.ru | 9 ++ lib/rainbows.rb | 1 + lib/rainbows/reverse_proxy.rb | 185 +++++++++++++++++++++++++++ lib/rainbows/reverse_proxy/coolio.rb | 61 +++++++++ lib/rainbows/reverse_proxy/ev_client.rb | 39 ++++++ lib/rainbows/reverse_proxy/event_machine.rb | 46 +++++++ lib/rainbows/reverse_proxy/multi_thread.rb | 6 + lib/rainbows/reverse_proxy/synchronous.rb | 21 +++ 8 files changed, 368 insertions(+), 0 deletions(-) create mode 100644 examples/reverse_proxy.ru create mode 100644 lib/rainbows/reverse_proxy.rb create mode 100644 lib/rainbows/reverse_proxy/coolio.rb create mode 100644 lib/rainbows/reverse_proxy/ev_client.rb create mode 100644 lib/rainbows/reverse_proxy/event_machine.rb create mode 100644 lib/rainbows/reverse_proxy/multi_thread.rb create mode 100644 lib/rainbows/reverse_proxy/synchronous.rb -- Eric Wong From normalperson at yhbt.net Wed Feb 2 21:54:15 2011 From: normalperson at yhbt.net (Eric Wong) Date: Wed, 2 Feb 2011 18:54:15 -0800 Subject: Page request roundtrip time increases substantially after a bit of use In-Reply-To: <20110125213835.GA9421@dcvr.yhbt.net> References: <571697.98064.qm@web63303.mail.re1.yahoo.com> <20110124215440.GA25489@dcvr.yhbt.net> <20110125001107.GA1921@dcvr.yhbt.net> <288407.18061.qm@web63303.mail.re1.yahoo.com> <20110125035048.GA8124@dcvr.yhbt.net> <20110125213835.GA9421@dcvr.yhbt.net> Message-ID: <20110203025415.GA3812@dcvr.yhbt.net> Eric Wong wrote: > Let me know if you or anybody else can reproduce this more reliably or > if you figured it was something unique to your setup. Is this still a problem? Silence implies that it's not a problem with Rainbows! :> -- Eric Wong From kristopolous at yahoo.com Wed Feb 2 23:44:34 2011 From: kristopolous at yahoo.com (chris mckenzie) Date: Wed, 2 Feb 2011 20:44:34 -0800 (PST) Subject: Page request roundtrip time increases substantially after a bit of use In-Reply-To: <20110203025415.GA3812@dcvr.yhbt.net> References: <571697.98064.qm@web63303.mail.re1.yahoo.com> <20110124215440.GA25489@dcvr.yhbt.net> <20110125001107.GA1921@dcvr.yhbt.net> <288407.18061.qm@web63303.mail.re1.yahoo.com> <20110125035048.GA8124@dcvr.yhbt.net> <20110125213835.GA9421@dcvr.yhbt.net> <20110203025415.GA3812@dcvr.yhbt.net> Message-ID: <19884.93017.qm@web63304.mail.re1.yahoo.com> I don't know who is to blame. I know how to keep rainbows happy though. So what I do is make sure that rainbows is tasked with closing all connections ... the client doesn't cut off the long polls; that goes pretty far. Then there are a few other tricks I believe I used ... but I don't remember. ----- Original Message ---- From: Eric Wong To: Rainbows! list Sent: Wed, February 2, 2011 6:54:15 PM Subject: Re: Page request roundtrip time increases substantially after a bit of use Eric Wong wrote: > Let me know if you or anybody else can reproduce this more reliably or > if you figured it was something unique to your setup. Is this still a problem? Silence implies that it's not a problem with Rainbows! :> -- Eric Wong _______________________________________________ Rainbows! mailing list - rainbows-talk at rubyforge.org http://rubyforge.org/mailman/listinfo/rainbows-talk Do not quote signatures (like this one) or top post when replying From graham at rightscale.com Mon Feb 7 21:02:36 2011 From: graham at rightscale.com (Graham Hughes) Date: Mon, 7 Feb 2011 18:02:36 -0800 Subject: Fwd: Patch to fix use in Rainbows! with arguments In-Reply-To: References: Message-ID: Hello. ?I found an annoying error in Rainbows after 0.97 that I traced down to inaccurate scoping in one of the modules; I think this never came up in your tests because you don't test use in config.rb with arguments: we were running the following: Rainbows! do ??use :NeverBlock, :pool_size => 50 ??worker_connections 100 end which broke. Enclosed is a patch which fixes this issue. Graham >From 366ab17b95c0c618f9f49c6ff20ff3218cc26344 Mon Sep 17 00:00:00 2001 From: Graham Hughes Date: Mon, 7 Feb 2011 16:49:31 -0800 Subject: [PATCH] Actually use the Rainbows::O constant for use --- ?lib/rainbows/http_server.rb | ? ?4 ++-- ?1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/rainbows/http_server.rb b/lib/rainbows/http_server.rb index 71ed192..ab214c3 100644 --- a/lib/rainbows/http_server.rb +++ b/lib/rainbows/http_server.rb @@ -63,8 +63,8 @@ class Rainbows::HttpServer < Unicorn::HttpServer ?? ? ? raise ArgumentError, "concurrency model #{model.inspect} not supported" ?? ? args.each do |opt| ?? ? ? case opt - ? ? ?when Hash; O.update(opt) - ? ? ?when Symbol; O[opt] = true + ? ? ?when Hash; Rainbows::O.update(opt) + ? ? ?when Symbol; Rainbows::O[opt] = true ?? ? ? else; raise ArgumentError, "can't handle option: #{opt.inspect}" ?? ? ? end ?? ? end -- 1.7.4 From normalperson at yhbt.net Mon Feb 7 22:37:45 2011 From: normalperson at yhbt.net (Eric Wong) Date: Mon, 7 Feb 2011 19:37:45 -0800 Subject: Fwd: Patch to fix use in Rainbows! with arguments In-Reply-To: References: Message-ID: <20110208033745.GA15989@dcvr.yhbt.net> Graham Hughes wrote: > Enclosed is a patch which fixes this issue. Thanks Grant! Applied and pushed out to rainbows.git along with another commit for a test case. Expect a new release sometime this week, but you should be able to build a pre-release gem from rainbows.git just by running "make gem". In the future can you use "git send-email" so your patch doesn't get mangled? There are some MUA-specific hints in Documentation/SubmittingPatches[1] from git.git, too Thanks again! [1]- http://git.kernel.org/?p=git/git.git;f=Documentation/SubmittingPatches;a=blob -- Eric Wong From graham at rightscale.com Tue Feb 8 02:03:14 2011 From: graham at rightscale.com (Graham Hughes) Date: Mon, 7 Feb 2011 23:03:14 -0800 Subject: Patch to fix use in Rainbows! with arguments In-Reply-To: <20110208033745.GA15989@dcvr.yhbt.net> References: <20110208033745.GA15989@dcvr.yhbt.net> Message-ID: <1F5F44F9-A5AE-477C-A701-73FB1DE3D3EB@rightscale.com> On Feb 7, 2011, at 19:37, Eric Wong wrote: > Graham Hughes wrote: >> Enclosed is a patch which fixes this issue. > > Thanks Grant! Applied and pushed out to rainbows.git along with another > commit for a test case. Expect a new release sometime this week, but > you should be able to build a pre-release gem from rainbows.git just by > running "make gem". > > In the future can you use "git send-email" so your patch doesn't get > mangled? There are some MUA-specific hints in > Documentation/SubmittingPatches[1] from git.git, too Thank you, and I will investigate send-email in future. Graham > From normalperson at yhbt.net Fri Feb 11 06:37:10 2011 From: normalperson at yhbt.net (Eric Wong) Date: Fri, 11 Feb 2011 11:37:10 +0000 Subject: [ANN] Rainbows!+Zbatery 3.1.0 sleepy servers for sleepy apps Message-ID: <20110211113710.GB26556@dcvr.yhbt.net> Rainbows! is an HTTP server for sleepy Rack applications. It is based on Unicorn, but designed to handle applications that expect long request/response times and/or slow clients. Zbatery is Rainbows! for people without enough memory to fork() * http://rainbows.rubyforge.org/ * http://zbatery.bogomip.org/ (no that's not missing an "s", Zbatery is single process, get it?) * rainbows-talk at rubyforge.org - both project share the same mailing list * git://bogomips.org/rainbows.git * git://bogomips.org/zbatery.git (Shorter git URLs than before \o/) Changes: Small bug fixes that have been sitting around, not much but it's already been one month since our last release. * Unicorn dependency updated to 3.4.0, so we get IPv6 support and Kgio.autopush support for ":tcp_nopush => true" users. * Optional :pool_size argument is fixed for NeverBlock and CoolioThreadPool users. * Mostly minor internal code cleanups * Sunshowers support removed, it was out-of-date and unmaintained. Cramp remains supported for now. * X-Rainbows-* response headers support removed, nobody used it. There are several new features in this release not documented here. Consider any new features not mentioned in these release notes to be subject to removal/renaming in future releases. -- Eric Wong From ganrendetain79daias at yahoo.com Fri Feb 18 14:25:38 2011 From: ganrendetain79daias at yahoo.com (Jason) Date: Sat, 19 Feb 2011 03:25:38 +0800 Subject: =?GB2312?B?RGlnaXRhbCBQaG90byBFZGl0aW5nIFNlcnZpY2VzIC0gUGhvdG8gQ3V0b3V0?= Message-ID: <325cc0c2-4682-44cb-9fc9-7e65a2f97f9d@LJO-SBS1.ljonj.local> Digital Photo Editing Services : We are a China based Imaging Professionals. We offer basic and advanced digital photo Editing services and solutions like photo Cutout, morphological photo Editing, photoshop photo Editing, satellite photo Editing, color photo Editing and vector photo Editing using latest techniques. Our strength in providing Editing solutions for digital images like photo masking, photo re-touching, back ground cleaning & cloning, sharpening & restoration of color, all this derive from our vast experience. Our dedicated team of highly skilled and experienced professionals serves the photo Editing requirements of our clients. An in house quality checking mechanism assures value addition and delivers perfect job. Our team can deliver your job overnight or in time bounded fashion irrespective of job size. Our mainly services are: 1. Photo Cutout 2. Photo Enhancement 3. Photo Retouching 4. Vector Conversion 5. Pop Art 6. Images Masking 7. Clipping Path 8. Photo Restoration 9. Web Design Photo Editing Services: Our Photo Editing services includes advanced photo cutouts/clippings, balancing brightness / contrast in an image, repair of minor scratches, creases, minor dust, and spot removal to removal of major scratches, cracks, creases, and stains in all areas. We also repair seriously faded/damaged photographs and make it print ready. Best regards, Jason Jasodaondeson Imaging Professionals Contact: rickcontact at yeah.net Send address to photoremove at yeah.net for remove From zhaozhongxian44gxixi at msn.com Wed Feb 23 22:35:26 2011 From: zhaozhongxian44gxixi at msn.com (Louis) Date: Thu, 24 Feb 2011 11:35:26 +0800 Subject: =?GB2312?B?M0QvMkQgQW5pbWF0aW9uIHNlcnZpY2VzIA==?= =?GB2312?B?LSBDYXJ0b29uIE1vdmllIC0gM0QgbW9kZQ==?= =?GB2312?B?bGluZw==?= Message-ID: You are receiving this email because we wish you to use our 3D/2D animation services. We are a China based animation studio. We are specialized in providing 3D designing/modelling/animation services across the globe. We utilize the finest equipment available in the industry, offer efficient data delivery and unrivaled quality and work until the client is fully satisfied with the end product. We pushed past the limitations of technology and hardware to bring 3D walk-through animations and animated effects to the Web, VHS, DVD and now High-Definition. 3d Animation services 3D Modeling Character.Set.Props. Modeling , and Environment Creation Painting Textures layout Uv,painting the Colour.Bump. Normal Map .etc 3D Animation Rigging.Skinning.Aanimation for game and film Custom 3D Modeling Whether you're looking for an inexpensive alternative to 3D model conversion software or just need your latest creative masterpiece to import correctly into your new favorite software, we can help! Architectures Services Interior/exterior architecture rendering Architecture animation Core Offerings 3D Animation 4D Animation 3D Modelling 3D Rendering 2D Animation 2D/3D Game Animation 2D/3D Game Development Cartoon Architecture Visualization Character Animation Animated Commercial Product Modelling Animated Presentation Walkthrough Animation Flash Presentation Logo Animation Flash Animation Flash Games Product Demos Medical Animation Animated Movies Flash Gateways Animated Wallpapers Animated Graphics Best regards, Louis Tanfeffson Animation Services Contact: ibanicontact at yeah.net Pls send address to aniremove at yeah.net for remove