English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
async networking
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-02-06 (18:36)
From: Bardur Arantsson <spam@s...>
Subject: Re: async networking
Gerd Stolpmann wrote:
> Maybe you interested in my equeue library for multiplexing I/O. There is
> now a lot of code using equeue (HTTP client, FTP client, RPC
> implementation), so I think it is very stable.
> http://www.ocaml-programming.de/programming/equeue.html

If you want ease of use and all-round stability I can also recommend
Gerd's Equeue. However, if you want very high-performance networking
you'd be better off with something closer to the metal, i.e. something
like a libevent wrapper combined with a memory-mapped ring buffer to
avoid unnecessary copying and minimize the costs associated with string
allocation and GC. I have developed a highly efficient ring buffer 
library (ocaml-rbuffer) which can be downloaded at



Bardur Arantsson

- Sometimes I think Trent just needs a cup of hot chocolate and a
                           Tori Amos commenting on Nine Inch Nails