Skip to content

afrantisak/nds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##nds network dictionary service

####Status: Build Status

The dictionary is essentially a multimap of string to strings. Each entry(key) can have multiple definitions(values). The networking is modeled after the ZeroMQ "Brutal Shotgun Massacre" pattern, in that the client sends out identical requests to all servers. The first server to respond wins, and all subsequent responses are ignored.

  • Use cases:
    1. Client requests definitions for an entry. Server returns all definitions for that entry.
    2. Client pushes a new definition for an entry. Server returns all definitions for that entry (plus the new definition).
    3. Client removes a definition for an entry. Server returns all definitions for that entry (minus the one that was removed)
    4. Client requests all definitions for all entries. Server returns all definitions for all entries. This happens on server startup to handle server late-join or restart scenarios. The server in this case acts like a client and requests the dictionary dump from its peers.

About

network dictionary service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages