configurable on/off storage server #168

Closed
opened 2007-10-08 20:10:44 +00:00 by zooko · 6 comments

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

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>
zooko added the
code-nodeadmin
major
enhancement
0.6.0
labels 2007-10-08 20:10:44 +00:00
zooko added this to the undecided milestone 2007-10-08 20:10:44 +00:00

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.
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](wiki/StorageServer) instance, but it will reject all lease requests. We should make several changes here: * if sizelimit==0, don't even create a [StorageServer](wiki/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.
warner modified the milestone from undecided to 0.7.0 2007-10-11 10:19:16 +00:00
zooko added
0.6.1
and removed
0.6.0
labels 2007-10-18 23:22:01 +00:00
zooko self-assigned this 2007-10-18 23:22:01 +00:00
Author

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

We're focussing on an imminent v0.7.0 (see [the roadmap](http://allmydata.org/trac/tahoe/roadmap)) which hopefully has [#197 Small Distributed Mutable Files] and also a fix for [#199 bad SHA-256]. So I'm bumping less urgent tickets to v0.7.1.
zooko added
minor
and removed
major
labels 2007-11-13 19:40:18 +00:00
Owner

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.

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.
Author

Nice!

Nice!
Author

duplicate of #271

duplicate of #271
zooko added the
duplicate
label 2008-01-23 02:50:35 +00:00
zooko closed this issue 2008-01-23 02:50:35 +00:00
Author

Milestone 0.7.1 deleted

Milestone 0.7.1 deleted
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#168
No description provided.