Re: resources

andrey mirtchovski <mirtchov-o/MP3MtDmzouExZ/[email protected]>
Newsgroups gmane.os.plan9.nine-grid
Message-ID <[email protected]>
On Mon, 25 Aug 2003, ron minnich wrote:

> Now we need a directory of resources. What makes the most sense? It should 
> be decentralized, right? no central place. 

i've been thinking about it. as a centralized resource, unfortunately.

a /srv/ entry somewhere, that when mounted presents the system hierarchy
together with the resources available, sort of:

	% import somewhere /n/9grid /n/9grid
	% cd /n/9grid; ls
	node1
	node2
	...
	nodeX
	ctl
	% cat node1
	location: 136.159.7.68
	arch: 386
	cpuspeed: 1800
	load: 0.00 0.00 0.00
	note: University of Calgary
	<whatever you want here>
	%

each cpu server can run a process that updates its entry on random intervals
(no polling, please) by writing the info to 'ctl'...

just an idea, i really haven't though of it scaling too much, except that it
could be at a local (cluster) level instead of a global one:

	% import ucalgary /n/9grid /n/9grid/calgary
	% import -a somewhere /n/9grid /n/9grid/somewhere
	% cd /n/9grid; ls *
	calgary/node1
	calgary/node2
	somewhere/node1
	...
	%

as you can see, i'm trying to get away with the simplest possible design :)

andrey
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.