"Leslie P. Polzer" <[email protected]> writes:

> John Fremlin wrote:
>
>> The tpd2 benchmark (11k requests/second) was for a full connection open
>> and closing (not a persistent connection which tends to crash
>> apachebench) with tpd2 on one core of my laptop and apachebench on the
>> other core. Although the page was small, it was dynamic and a complete
>> page.
>
> So why is it faster than Hunchentoot by a factor of about 100?

Because I worked really hard on it. Everybody said it was impossible
based on the performance of Lisp webservers at that time. I'd be very
pleased to see another competitive server in Lisp :-)

tpd2 was designed for performance. For example, I had to write my own
text handling (not using strings), see
http://common-lisp.net/project/cl-irregsexp/

I've given a couple of talks about it. http://john.freml.in/shibuya-talk-tpd2

Lisp is not well suited to high performance networking, but if you
reimplement enough of the basic stuff then it can be faster than less
well written implementations in faster languages :-)

I think Attila Lendvai has a Lisp HTTP server that is only a few times
slower than tpd2, though it can easily be DoS'd by a single client,
unlike tpd2.

[...]
> I think you're on a completely wrong path here, for two reasons. :)
>
> Reason one being that there aren't even enough people taking a look
> at Weblocks (or considering Common Lisp at all) right now to say
> "documentation is insufficient". Least some megacorp or well-funded
> startup.

Chicken and egg?

> Reason two is that a corp with some financial backing could well just
> invest hiring me (or someone else who's capable) a month just for
> writing complete docs and that would be it.

Yes, that would be great.

[...]


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"weblocks" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/weblocks?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to