From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7d747ac241d5a3d8 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Natasha Kerensikova Newsgroups: comp.lang.ada Subject: Re: Performance techniques used in AWS Date: Tue, 14 Jun 2011 08:28:11 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <4df5a4bc$0$2120$742ec2ed@news.sonic.net> <4DF63AAC.5050708@obry.net> <4df6ee43$0$2131$742ec2ed@news.sonic.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Date: Tue, 14 Jun 2011 08:28:11 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="Mda950WjNwNLAFOE7yJXQw"; logging-data="3427"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18uXlK/zN6DJfFygY2Z2hAU" User-Agent: slrn/0.9.9p1 (FreeBSD) Cancel-Lock: sha1:28lL3k+Yp/CCHxpPhnhDi+2dRkA= Xref: g2news1.google.com comp.lang.ada:19814 Date: 2011-06-14T08:28:11+00:00 List-Id: Hello, On 2011-06-14, R. Tyler Croy wrote: > What I'm trying to work out in my head is how to build an application (in > Ada) that can compete[0] effectively with a libev-based program written in > C. The advantage that libev brings to the table is that this program (in > C) can very easily handle and respond to tens of thousands of concurrent > connections. I don't think that really counts as competing, but I was planning at some point in the future to write a thin Ada binding to libevent2 -- not so much for performance, which is only a happy side-effect, but for the simplicity and homogeneity of the callback-based multiplexing it offers. However I still feel the need for a better mastery of the language before starting such a project. Does anyone have any objection to such an idea? Or would anyone have any hint I could use for such a thin binding, and/or for thickening it? Thanks in advance, Natasha