9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] cpu(1) design...
Date: Fri,  9 Nov 2007 10:57:06 -0500	[thread overview]
Message-ID: <1e02bca77cfa379ac48a1b4830204a78@quanstro.net> (raw)
In-Reply-To: <13426df10711090746l41449933ya48792efc15885b3@mail.gmail.com>

>>
>> I was imagining somthing like the load balancing code I have seen for Unix,
>> each box multicasts a load estimate regularly and a local daemon picks these up
>> and answers "which is the least loaded machine" requests; obviously I also
>> imagined a much more elegant solution for a plan9 environment...
> 
> see andrey's thesis. Mount a mon server and you have a file system of
> servers. Then you can just read the files, pick the least loaded one,
> and run on it.
> 
> Along with the other 400 people who just picked that least-loaded node
> but hey, that's the inherent race conditions you get. :-)

why not move the decision of who picks up the job to the cpu server?
this would solve the race.

- erik


  reply	other threads:[~2007-11-09 15:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-09 12:50 Steve Simon
2007-11-09 14:40 ` Anthony Sorace
2007-11-09 14:45   ` roger peppe
2007-11-09 14:55     ` Anthony Sorace
2007-11-09 15:33       ` Steve Simon
2007-11-09 15:46         ` ron minnich
2007-11-09 15:57           ` erik quanstrom [this message]
2007-11-09 14:52   ` erik quanstrom

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=1e02bca77cfa379ac48a1b4830204a78@quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@cse.psu.edu \
    /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).