caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Mattias Waldau" <mattias.waldau@abc.se>
To: "Caml list" <caml-list@inria.fr>
Subject: [Caml-list] Will Ocaml use a  4-way SMP box without splitting the program into separate processes?
Date: Fri, 13 Jul 2001 21:59:39 +0200	[thread overview]
Message-ID: <AAEBJHFJOIPMMIILCEPBCEOKCNAA.mattias.waldau@abc.se> (raw)

As I understand it, Ocaml has one master lock for handling threading.

Doesn't this mean that a process can never use more than one processor?

And if that is true, following Xavier Leroy idea "Using
separate processes for the HTTP server/servlet container and for the
servlets (but not starting a new servlet process on each request like
CGI does)" is the only scalable way to go.

Because, I don't think a solution that doesn't use a SMP-machine effectively
is a good solution.

> [mailto:owner-web-caml@quatramaran.ens.fr]On Behalf Of William Chesters
> Depends on the kind of market you are thinking of.  The performance we
> get out of Melati+postgres on a cheap PC is adequate for the great
> majority of all known websites, without really trying.  If you put a
> good ocaml-based equivalent on a 4-way SMP box talking to a database
> on another box, you would be comfortably into the hundreds of hits per
> second I reckon.

What have I misunderstood?

/mattias

-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


             reply	other threads:[~2001-07-13 19:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-13 19:59 Mattias Waldau [this message]
2001-07-15 11:32 ` Xavier Leroy
2001-07-15 12:15   ` William Chesters
2001-07-17  1:59   ` Alexander V. Voinov
2001-07-20 14:01     ` Xavier Leroy

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=AAEBJHFJOIPMMIILCEPBCEOKCNAA.mattias.waldau@abc.se \
    --to=mattias.waldau@abc.se \
    --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).