# Cry for help - make this faster

**URL:** <https://www.ruby-forum.com/t/cry-for-help-make-this-faster/70156>\
**Category:** Ruby\
**Created:** [September 27, 2006, 5:56am UTC](https://www.ruby-forum.com/t/cry-for-help-make-this-faster/70156 "2006-09-27T05:56:02Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [September 27, 2006, 5:56am UTC](https://www.ruby-forum.com/t/cry-for-help-make-this-faster/70156/1 "2006-09-27T05:56:02Z")

</div>

yes, it will require deep ruby and ‘c’ knowledge

[http://codeforpeople.com/lib/ruby/acgi/acgi-0.1.0/README](http://codeforpeople.com/lib/ruby/acgi/acgi-0.1.0/README)

and, obviously

[http://codeforpeople.com/lib/ruby/acgi/](http://codeforpeople.com/lib/ruby/acgi/)

i think it’s a potentially powerful idea. if you know how to make it  
faster,  
please do so and send in a patch. at this point only a factor of 2x is  
need  
to close the gap on fastcgi. at this point the emphasis is on making it  
as  
fast as possible. scalibility and portability might come next.

good luck.

-a

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [September 27, 2006, 3:40pm UTC](https://www.ruby-forum.com/t/cry-for-help-make-this-faster/70156/2 "2006-09-27T15:40:58Z")

</div>

Ara.T.Howard wrote:

> faster,  
> please do so and send in a patch. at this point only a factor of 2x is  
> need  
> to close the gap on fastcgi. at this point the emphasis is on making it as  
> fast as possible. scalibility and portability might come next.
> 
> good luck.
> 
> -a

That looks way cool. I heartily support it. I have some C IPC  
experience, but not in windows.

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [September 27, 2006, 4:03pm UTC](https://www.ruby-forum.com/t/cry-for-help-make-this-faster/70156/3 "2006-09-27T16:03:01Z")

</div>

Ara.T.Howard wrote:

> faster,  
> please do so and send in a patch. at this point only a factor of 2x is  
> need  
> to close the gap on fastcgi. at this point the emphasis is on making it as  
> fast as possible. scalibility and portability might come next.
> 
> good luck.
> 
> -a

this is a great thing - could it make it into ruby 2 std lib ( or did  
i get something wrong) ?

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [September 27, 2006, 4:27pm UTC](https://www.ruby-forum.com/t/cry-for-help-make-this-faster/70156/4 "2006-09-27T16:27:04Z")

</div>

On Wed, 27 Sep 2006, Hans F. wrote:

> > i think it’s a potentially powerful idea. if you know how to make it  
> > but not in windows.  
> > have a whack at it! 😉 i played with threaded versions, non-threaded  
> > versions, versions using mmap, versions using named pipes, versions  
> > using  
> > shared memory (sysv ipc), etc. none were significantly fast than the  
> > simple  
> > version. also, i was trying to make a \*nix impl which at least stood a  
> > chance  
> > of being ported to windows - thus the use of named pipes.

at the moment it’s just a toy, but it could become something.

regards.

-a

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [September 28, 2006, 5:36am UTC](https://www.ruby-forum.com/t/cry-for-help-make-this-faster/70156/5 "2006-09-28T05:36:52Z")

</div>

Ara.T.Howard wrote:

> faster,  
> please do so and send in a patch. at this point only a factor of 2x is  
> need  
> to close the gap on fastcgi. at this point the emphasis is on making it as  
> fast as possible. scalibility and portability might come next.
> 
> good luck.
> 
> -a  
> Hmmm … by portability do you mean “runs on other than Linux?” 🙂

What sort of performance testing framework are you using?

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [September 27, 2006, 4:31pm UTC](https://www.ruby-forum.com/t/cry-for-help-make-this-faster/70156/6 "2006-09-27T16:31:05Z")

</div>

On Wed, 27 Sep 2006, Jonas H. wrote:

> > i think it’s a potentially powerful idea. if you know how to make it  
> > something wrong) ?  
> > i suppose that’s an idea - but at this point it’s far from ready for  
> > prime  
> > time.

cheers.

-a

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [September 28, 2006, 6:20am UTC](https://www.ruby-forum.com/t/cry-for-help-make-this-faster/70156/7 "2006-09-28T06:20:56Z")

</div>

On Thu, 28 Sep 2006, M. Edward (Ed) Borasky wrote:

> > i think it’s a potentially powerful idea. if you know how to make it  
> > faster,  
> > please do so and send in a patch. at this point only a factor of 2x is  
> > need  
> > to close the gap on fastcgi. at this point the emphasis is on making it as  
> > fast as possible. scalibility and portability might come next.
> > 
> > good luck.
> > 
> > -a

> Hmmm … by portability do you mean “runs on other than Linux?” 🙂

i’m afraid so - sigh…

on a side note, i hear 2.6.17 will auto-tune the tcp-ip stack, that  
ought to  
make for a fast web app server…

> What sort of performance testing framework are you using?

just ab 😉

this is still in the proof of concept phase for sure.

cheers.

-a

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [September 28, 2006, 6:41am UTC](https://www.ruby-forum.com/t/cry-for-help-make-this-faster/70156/8 "2006-09-28T06:41:00Z")

</div>

removed\_email\_address@domain.invalid wrote:

> > > [http://codeforpeople.com/lib/ruby/acgi/](http://codeforpeople.com/lib/ruby/acgi/)
> > > 
> > > -a
> 
> > Hmmm … by portability do you mean “runs on other than Linux?” 🙂
> 
> i’m afraid so - sigh…
> 
> on a side note, i hear 2.6.17 will auto-tune the tcp-ip stack, that  
> ought to  
> make for a fast web app server…

I was thinking Tux, actually. 🙂

> > What sort of performance testing framework are you using?
> 
> just ab 😉

There are quite a few out there.
