#168 closed enhancement (duplicate)

configurable on/off storage server

Reported by: zooko Owned by: zooko
Priority: minor Milestone:
Component: code-nodeadmin Version: 0.6.1
Keywords: Cc:
Launchpad Bug:

Description

It would be nice if you could run a Tahoe client without running a storage server.

http://allmydata.org/pipermail/tahoe-dev/2007-October/000189.html

Change History (9)

comment:1 Changed at 2007-10-11T09:57:57Z by warner

so, you can mostly do this, by writing "0" into a file named 'sizelimit'. If you do that, you still wind up with a StorageServer? instance, but it will reject all lease requests.

We should make several changes here:

  • if sizelimit==0, don't even create a StorageServer?. We need to modify the peer-selection code to not complain when callRemote("get_service", "storage") fails, so that this doesn't cause a lot of noise in the logs on both ends.
  • Add a --no-storage or --storage or --storage-size-limit option to 'create-client', to make it easy to set this value at node-creation time.

comment:2 Changed at 2007-10-11T10:19:16Z by warner

  • Milestone changed from undecided to 0.7.0

comment:3 Changed at 2007-10-18T23:22:01Z by zooko

  • Milestone changed from 0.7.0 to 0.6.2
  • Owner set to zooko
  • Status changed from new to assigned
  • Version changed from 0.6.0 to 0.6.1

comment:4 Changed at 2007-11-01T17:25:44Z by zooko

  • Milestone changed from 0.6.2 to 0.7.1

We're focussing on an imminent v0.7.0 (see the roadmap) which hopefully has Small Distributed Mutable Files and also a fix for bad SHA-256. So I'm bumping less urgent tickets to v0.7.1.

comment:5 Changed at 2007-11-13T19:40:18Z by zooko

  • Priority changed from major to minor

comment:6 Changed at 2008-01-05T01:58:56Z by robk

Brian and I just had a long discussion, incited by this ticket, about refactoring introduction.

Of the ideas discussed, the best seems to be to split introduction into publish and subscribe aspects (so that, e.g., storage servers can publish without subscribing, and storageless clients can subscribe without publishing) and along with that most probably to add 'type' information, so that objects published to the introducer are published as a specific type ('storage', 'login', 'encoder', 'checker' etc) and then consumers can subscribe to notifications of the types they're interested in.

This then retains a single-point of entry for configuration simplicity, while providing a flexible method for handling discovery of disparate types of services, and hence later extensions to new types of service.

comment:7 Changed at 2008-01-05T02:36:02Z by zooko

Nice!

comment:8 Changed at 2008-01-23T02:50:35Z by zooko

  • Resolution set to duplicate
  • Status changed from assigned to closed

duplicate of #271

comment:9 Changed at 2008-01-23T03:21:23Z by zooko

  • Milestone 0.7.1 deleted

Milestone 0.7.1 deleted

Note: See TracTickets for help on using tickets.