caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Anders Fugmann <anders@fugmann.net>
To: William Le Ferrand <William.Le-Ferrand@polytechnique.edu>
Cc: caml users <caml-list@inria.fr>
Subject: Re: [Caml-list] Storing ocaml values outside ocaml's heap
Date: Thu, 08 Dec 2011 10:29:52 +0100	[thread overview]
Message-ID: <4EE08390.7090203@fugmann.net> (raw)
In-Reply-To: <CAGS5m-nYMnR13XFvJHzs=Z0y4qJJ7nOKpJfwrpnYOsSbG8rqMg@mail.gmail.com>

On 12/08/2011 09:56 AM, William Le Ferrand wrote:
> Hi Anders!
>
> How're you doing ?
>
> Thanks for the suggestion. We actually have a solution in production
> right now (www.besport.com <http://www.besport.com>) that relies on
> netshm. Unfortunately, the serialization / deserialization is killing
> the performance : about 200ms for a full request against 7ms for a
> simple Hashtbl lookup on our hardware.
200 ms seems too much - Nothing takes 200ms on modern hardware. not even 
on AWS :-)

Maybe the system was swapping or some other noise polluted your 
statistics. Which serialization format did you use? ocaml's standard 
marshaling, or did your write your own?


  > ocaml-everlasting did solve this performance bottleneck but we get
> unacceptable segmentation faults, and before debugging this library I'd
> rather learn about other approaches :)
What type of performance do you get with ocaml-everlasting?

Regards
Anders

  reply	other threads:[~2011-12-08  9:30 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-08  4:35 William Le Ferrand
2011-12-08  6:04 ` Stéphane Glondu
2011-12-08  8:19   ` William Le Ferrand
2011-12-08  9:04     ` Anil Madhavapeddy
2011-12-08  9:07       ` William Le Ferrand
2011-12-08 11:03       ` oliver
2011-12-08 17:02         ` Goswin von Brederlow
2011-12-08  9:40   ` Gaius Hammond
2011-12-08  8:49 ` Anders Fugmann
2011-12-08  8:56   ` William Le Ferrand
2011-12-08  9:29     ` Anders Fugmann [this message]
2011-12-08  9:12 ` Gerd Stolpmann
2011-12-08 10:33 ` Goswin von Brederlow

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EE08390.7090203@fugmann.net \
    --to=anders@fugmann.net \
    --cc=William.Le-Ferrand@polytechnique.edu \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).