From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=AWL autolearn=disabled version=3.1.3 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 453E9BC6B for ; Sat, 10 Nov 2007 16:07:52 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAACNYNUfAXQInh2dsb2JhbACBW40nAQEBCAopgQ8 X-IronPort-AV: E=Sophos;i="4.21,398,1188770400"; d="scan'208";a="4095042" Received: from concorde.inria.fr ([192.93.2.39]) by mail2-smtp-roc.national.inria.fr with ESMTP; 10 Nov 2007 16:07:52 +0100 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id lAAF7pcG005300 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Sat, 10 Nov 2007 16:07:51 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAHlXNUfU436rnmdsb2JhbACBW40nAQEBAQcEBgcKGIEP X-IronPort-AV: E=Sophos;i="4.21,398,1188770400"; d="scan'208";a="19139918" Received: from moutng.kundenserver.de ([212.227.126.171]) by mail4-smtp-sop.national.inria.fr with ESMTP; 10 Nov 2007 16:07:51 +0100 Received: from gate.lan.gerd-stolpmann.de (dslb-084-059-127-250.pools.arcor-ip.net [84.59.127.250]) by mrelayeu.kundenserver.de (node=mrelayeu8) with ESMTP (Nemesis) id 0ML31I-1Iqrw53DjM-0003xB; Sat, 10 Nov 2007 16:07:50 +0100 Received: from flakew.lan.gerd-stolpmann.de (fw.lan.gerd-stolpmann.de [192.168.1.1]) by gate.lan.gerd-stolpmann.de (Postfix) with ESMTP id 6F0F9C097; Sat, 10 Nov 2007 16:07:49 +0100 (CET) Subject: Re: [Caml-list] Wink releases caching library From: Gerd Stolpmann To: Joel Reymont Cc: Mika Illouz , caml-list In-Reply-To: References: <1194640344.19355.43.camel@localhost.localdomain> Content-Type: text/plain Date: Sat, 10 Nov 2007 16:07:48 +0100 Message-Id: <1194707268.19355.63.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX19/kBSPAhLj0pK9h9vFBTY4UCmco/mwPkEKnDt ix0Awio5TfXhHyTmBxQCV4bhprCvaedXe+ryZuSFu5y+sBAhVW tPy/PWtlM+xTiuMIVX6nB86ZrgqUVRM X-Miltered: at concorde with ID 4735C947.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; caching:01 gerd:01 stolpmann:01 gerd:01 ocaml:01 ad-hoc:01 caching:01 ocamlnet:01 ocaml:01 ocamlnet:01 stolpmann:01 implements:01 nodes:01 synchronous:01 beginner's:01 Am Freitag, den 09.11.2007, 22:16 +0000 schrieb Joel Reymont: > Gerd, > > Why did you guys roll your own instead of using memcached? We considered using memcached. However, there is no client for OCaml, and especially no asynchronous client, so we would have had to write one. I looked at the protocol, and it turned out to be weird, ad-hoc, and not very extensible. It would have been no fun developing such a client. In contrast, for developing our own caching server, it was not necessary to write any new networking code: By using the SunRPC library of Ocamlnet we got the whole communication stuff for free, and the protocol is now well-structured and easily extensible. Furthermore, we could tailor the features to our requirements, and have the guarantee that we can adapt the server to any changes. Actually, we needed only 1 day for developing the library, and another day for integrating it. This is what other companies spend for evaluating external software they might want to use. So the costs were justified, and we now have exactly the software we wanted. So the essence is: By using good tools (OCaml, Ocamlnet, etc.) we can develop the software ourselves with the same costs as the integration of an external component would have taken. Plus, we have perfectly adapted software, and are on the safe side for the future. Sounds like a good deal, right? Gerd > > Thanks, Joel > > On Nov 9, 2007, at 8:32 PM, Gerd Stolpmann wrote: > > > "Cache implements a caching service for storing arbitrary strings that > > can be located by string keys. The caching service is reachable over > > TCP. The cache can be distributed over several nodes. The cache can be > > saved to disk in regular intervals. A client module is included. Both > > synchronous and asynchronous access methods are defined." > > -- > http://wagerlabs.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 > -- ------------------------------------------------------------ Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany gerd@gerd-stolpmann.de http://www.gerd-stolpmann.de Phone: +49-6151-153855 Fax: +49-6151-997714 ------------------------------------------------------------