Re: [mongrel2] The In-Progress Python Library
- From:
- Sebastian Otaegui
- Date:
- 2010-07-13 @ 23:37
I did some small changes to your mongrel2-cpp
http://github.com/feniix/mongrel2-cpp/commit/e4b28ce4d71feb33c2093e72ef4a9ca3d36b4a27
<http://github.com/feniix/mongrel2-cpp/commit/e4b28ce4d71feb33c2093e72ef4a9ca3d36b4a27>I
also sent you a pull request
On Tue, Jul 13, 2010 at 4:34 PM, Andreas Krennmair <ak@synflood.at> wrote:
> * Zed A. Shaw <zedshaw@zedshaw.com> [2010-07-13 19:00]:
> >Just in case you missed it, I announced the little python library I
> >cooked up last night:
> >
> >http://sheddingbikes.com/posts/1279007133.html
>
> Nice. :-)
>
> I was so bored today that I translated this code into C++:
> http://github.com/akrennmair/mongrel2-cpp
>
> Did some basic tests with it, works fine so far. I'm planning to use this
> as a
> basis to develop handlers to plug legacy protocols like CGI into Mongrel2.
>
> I also must say that I'm starting to really like the Mongrel2 architecture.
> The use of 0mq as backend protocol feels so... right. Somehow like FastCGI,
> but
> done right, and with instant scalability built in.
>
> Regards,
> Andreas
>
--
Those who do not understand Unix are condemned to reinvent it, poorly.
Any sufficiently recent Microsoft OS contains an ad hoc,
informally-specified, bug-ridden, slow implementation of half of Unix.
Re: [mongrel2] The In-Progress Python Library
- From:
- Zed A. Shaw
- Date:
- 2010-07-13 @ 22:23
On Tue, Jul 13, 2010 at 11:34:24PM +0200, Andreas Krennmair wrote:
> * Zed A. Shaw <zedshaw@zedshaw.com> [2010-07-13 19:00]:
> >Just in case you missed it, I announced the little python library I
> >cooked up last night:
> >
> >http://sheddingbikes.com/posts/1279007133.html
>
> Nice. :-)
>
> I was so bored today that I translated this code into C++:
> http://github.com/akrennmair/mongrel2-cpp
Damns, that's tight. Mind if I pimp it a bit?
> Did some basic tests with it, works fine so far. I'm planning to use this as a
> basis to develop handlers to plug legacy protocols like CGI into Mongrel2.
Ah, that'll be handy. I've got a few friends who are hacking away at
this too, connecting it to some pretty odd stuff. Terminal emulators
and shells and stuff.
> I also must say that I'm starting to really like the Mongrel2 architecture.
> The use of 0mq as backend protocol feels so... right. Somehow like FastCGI, but
> done right, and with instant scalability built in.
Exactly, that was my goal and I'm loving how it's turning out. Totally
architecture and language agnostic and easy to do. I mean, if I can
crank out a little handler library in a few hours in Python, and you can
do a C++ in about the same time, then it's definitely the way to go.
Keep me updated on this. Looking very cool.
--
Zed A. Shaw
http://zedshaw.com/
Re: [mongrel2] The In-Progress Python Library
- From:
- Andreas Krennmair
- Date:
- 2010-07-14 @ 20:11
* Zed A. Shaw <zedshaw@zedshaw.com> [2010-07-14 00:30]:
>On Tue, Jul 13, 2010 at 11:34:24PM +0200, Andreas Krennmair wrote:
>> * Zed A. Shaw <zedshaw@zedshaw.com> [2010-07-13 19:00]:
>> >Just in case you missed it, I announced the little python library I
>> >cooked up last night:
>> >
>> >http://sheddingbikes.com/posts/1279007133.html
>>
>> Nice. :-)
>>
>> I was so bored today that I translated this code into C++:
>> http://github.com/akrennmair/mongrel2-cpp
>
>Damns, that's tight. Mind if I pimp it a bit?
Please, go ahead.
>Keep me updated on this. Looking very cool.
OK, I got the first version of my CGI handler to work (same URL as above), but
it's mostly untested, as I only tried it out with some naive test scripts.
Also, too much copying of CGI script output is happening right now, I will
have to clean that up, too.
Regards,
Andreas