From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 6B542BBAF for ; Sun, 24 Oct 2010 14:51:59 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AisBAM/Iw0zRVda0kGdsb2JhbACTQDGNawgVAQEBAQkJDAcRAx+efYlYgheFIC6IVwEBAwWFQwSKTQ X-IronPort-AV: E=Sophos;i="4.58,231,1286143200"; d="scan'208";a="84281635" Received: from mail-iw0-f180.google.com ([209.85.214.180]) by mail1-smtp-roc.national.inria.fr with ESMTP; 24 Oct 2010 14:51:58 +0200 Received: by iwn37 with SMTP id 37so3209199iwn.39 for ; Sun, 24 Oct 2010 05:51:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=skXzlGpGvjEABcLwkOyom7jzicBOdhnLTcvWV7a3dWs=; b=s3QRRq/qAgk6TTHRxs3I23Ie2heOZDzq53JY+x8JZXSQVJiXpQEBB2pNYoLbDpG73N tIm9NOq2dcyF4x3ngpZlmEOo2327VKqvjXTJxI2KQbL2fgQlQM+GXwVqz6woma/g0oE5 JCl47eFk/qKaXvWbP584jMYYFIhTFTetnZZB4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=TBmnpe3L6HTWjdPSQB5yLqXJT0ZCkplzID1X3UXoq794E4P1V22KTBhAzYIGJ/xYX1 fY3rAyPswq8RAuluZG1Dbj/I3eNgmrZUQSumg6w2xJGhyEl6hUTZhtWqZuJPM2JbIWLO e+oUctwqmX1PR8/zPZWfhsYks1SQZfXVnSPqE= MIME-Version: 1.0 Received: by 10.42.211.201 with SMTP id gp9mr3805444icb.278.1287924718061; Sun, 24 Oct 2010 05:51:58 -0700 (PDT) Received: by 10.231.145.65 with HTTP; Sun, 24 Oct 2010 05:51:57 -0700 (PDT) In-Reply-To: <044101cb7367$10f94b30$32ebe190$@com> References: <044101cb7367$10f94b30$32ebe190$@com> Date: Sun, 24 Oct 2010 14:51:57 +0200 Message-ID: Subject: Re: [Caml-list] Asynchronous IO programming in OCaml From: philippe To: caml-list@yquem.inria.fr Content-Type: text/plain; charset=ISO-8859-1 X-Spam: no; 0.00; ocaml:01 ocaml:01 beginner's:01 bug:01 frog:98 threads:01 beginners:01 wrote:01 caml-list:01 caml-list:01 bin:01 caml:02 caml:02 archives:02 caml-bugs:02 Not an answer to your exact question, but there's something ressembling the reactor pattern in ocaml-nae, ocnae, which is a pattern to look at when that kind of use become prevalent. On Sun, Oct 24, 2010 at 12:34 PM, Jon Harrop wrote: > Is there a tutorial on using something like LWT for asynchronous programming > in OCaml? I'm looking for an example like an echo server that handles > clients concurrently without blocking threads, so it can handle thousands of > clients without significant performance degradation. > > -- > Dr Jon Harrop, Flying Frog Consultancy Ltd. > http://www.ffconsultancy.com > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs >