edht

module
v0.0.0-...-d807755 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2014 License: GPL-2.0

README

#EDHT

##Elastic Distributed Hash Table

our repo for the CS5412 project

###Prerequisites:

golang distributon

packages:

github.com/mad293/mlog
github.com/peterbourgon/diskv

###Building it:

go install EDHT/coordinator go install EDHT/daemon

###Running it: coordinator [options]

no options needed by default but import ones is the data directory that stores where you want to put the saved state, by default it wants to make a new directory with the time. You can specify which port you want to bind to, your address that you put is where other servers in the system will try and access you, so if you want to be somewhere other than the localhost you will have to put your hostname/ip-address.

if you are not connecting to an already established system you will probably need to specify the number of shards you want to have in the system and the number of faults you want to handle.

Directories

Path Synopsis
Usage of coordinator:
Usage of coordinator:
CoordinatorGroup/group
All group memebership chagnes must go through this group
All group memebership chagnes must go through this group
This files is all rpc wrappers for each daemon method.
This files is all rpc wrappers for each daemon method.
This file presents a generic two phase commit type with associated method calls
This file presents a generic two phase commit type with associated method calls
Simple web interface for adding and retrieving key value pairs
Simple web interface for adding and retrieving key value pairs

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL