Ticket #30 (closed patch: fixed)

Opened 1 year ago

Last modified 2 months ago

Use Unix domain sockets + fork to acheive greater scalability

Reported by: cmdrclueless Assigned to: evanweaver
Priority: minor Milestone: 1.4
Component: Mongrel Keywords: last minute, lastminute, egipt, kreta, wczasy, wakacje
Cc:

Description

Using unix domain sockets (UNIXSocket::socketpair) plus fork to improve scalability. This work was done on behalf of my employer: Raritan Computer, Inc. Due to the nature of the patch it is probably only relevant to system that allow file descriptors to be passed via a unix domain socket pair.

The work falls under the existing Mongrel license (the Ruby license).

THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE

Attachments

mongrel_changes.diff (29.4 kB) - added by cmdrclueless on 05/05/08 22:34:09.
Patch file for mongrel
mongrel_patch_20080507.diff (42.0 kB) - added by cmdrclueless on 05/07/08 12:31:13.
Here is an updated patch which includes adapted tests for the unix dispatch server.
mongrel_patch_stable_1-1.20080624-rev_1028.patch (32.7 kB) - added by cmdrclueless on 06/24/08 10:30:13.
This is a patch against revision 1028 for 1.1 stable

Change History

05/05/08 22:34:09 changed by cmdrclueless

  • attachment mongrel_changes.diff added.

Patch file for mongrel

05/05/08 22:39:07 changed by evanweaver

Wow, great. Do you have any tests for the new functionality? This will be important on Ruby 1.9 which supports copy-on-write properly.

05/05/08 23:54:11 changed by cmdrclueless

No, I don't have any test cases for the new functionality. I spent the better part of a day and a half hammering the code using our application. It continued to pass all the existing test; not that it absolves me from writing addition test cases. Unfortunately the time I have to spend on this is really dictated by my employer at this point. I simply don't have the time outside of work to spend on mongrel.

Please review the patch throughly. I did my best not to break any existing functionality. It doesn't mean I didn't miss something critical though.

05/06/08 16:14:26 changed by cmdrclueless

FYI, I'm working on a new patch with fixes and tests adapted from the HttpServer? test. I should have it ready in the next day or so.

05/07/08 12:31:13 changed by cmdrclueless

  • attachment mongrel_patch_20080507.diff added.

Here is an updated patch which includes adapted tests for the unix dispatch server.

06/24/08 10:30:13 changed by cmdrclueless

  • attachment mongrel_patch_stable_1-1.20080624-rev_1028.patch added.

This is a patch against revision 1028 for 1.1 stable

08/10/08 02:59:13 changed by airforce1

I'm closing it according to the last comment.
----------
dancing air jordan

08/12/08 09:43:27 changed by add

http://www.salewroughtiron.cn installing metal stair rails Interior stair handrail installing metal stair rails Interior stair handrail exterior baluster Glass wood stainless wrought CONTEMPORARY designs stairways aluminum modern log banister DECK outdoor price posts vinyl curved rails http://www.china-made-door.com.cn door gate http://www.beijing-door.cn wrought CONTEMPORARY designs stairways installing metal stair rails Interior stair handrail exterior baluster Glass wood stainless wrought CONTEMPORARY designs stairways aluminum modern log banister DECK outdoor price posts vinyl curved rails http://www.hebei-railings.cn aluminum modern log banister DECK outdoor price installing metal stair rails Interior stair handrail exterior baluster Glass wood stainless wrought CONTEMPORARY designs stairways aluminum modern log banister DECK outdoor price posts vinyl curved rails posts vinyl curved rails

09/12/08 01:30:06 changed by add

china tour Apparel shoes bags Kitchen Food and Wine Furniture) Flowers and Gifts Wall Art Computer Components

I still prefer a wiki like approach since the php (or mysql) docs are very cluttered when you have to take their comments in account. On the other hand they are professionally maintained imho, since they are *much* better than KDE documentation. KDE is by far larger and has so many different apps, which need screenshots and end user not dev/api docs, that more help is needed as long as the devs prefer to code than to write nice docs. And it is their choice to some degree imo. Technically interested but non-dev end users, which are plenty out there, are the users of and the best contributers to the docs, since they know what to write about. And they are certainly more than devs

10/07/08 21:01:03 changed by add

10/07/08 21:01:28 changed by add

11/12/08 02:27:34 changed by xiaoying

mongrel_changes.diff (29.4 kB) - added by cmdrclueless on 05/05/08 22:34:09. Patch file for mongrel mongrel_patch_20080507.diff (42.0 kB) - added by cmdrclueless on 05/07/08 12:31:13. Here is an updated patch which includes adapted tests for the unix dispatch server. mongrel_patch_stable_1-1.20080624-rev_1028.patch (32.7 kB) - added by cmdrclueless on 06/24/08 10:30:13. This is a patch against revision 1028 for 1.1 stable

01/29/09 04:56:42 changed by brag

  • status changed from new to closed.
  • resolution set to fixed.

I checked my calories yesterday. We bought our furniture last year. They had great poems when I checked. My business received grants 3 years ago, Steve. His big dogs are too wild. I don't know...cats are too boring. Tasha, my myspace layouts are the bomb! We drank great wine last night. We, also bought beer later. Yesterday, I was cooking and sleeping. My MAC makeup looks so cute girl. They had so many nurses on night shift, yesterday.

03/12/09 00:20:18 changed by storney

Using unix domain sockets (UNIXSocket::socketpair) plus fork to improve scalability. This work was done on behalf of my employer: Raritan Computer, Inc. Due to the nature of the patch it is Emails Posts Wikis Blogs Publish probably only relevant to system that allow file descriptors to be passed via a unix domain socket pair.

The work falls under the existing Mongrel license (the Ruby license).

THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE

04/28/09 19:41:40 changed by sneakeralley

  • keywords set to Nike Air Force One, Air Force 1, Air Force One, Air Force Shoes, Nike Air Force 1.

05/15/09 12:13:45 changed by last minute

  • keywords changed from Nike Air Force One, Air Force 1, Air Force One, Air Force Shoes, Nike Air Force 1 to last minute, lastminute, egipt, kreta, wczasy, wakacje.