Pitchfork is part of bfs, it's for probe Store and feed back to Directory
- Mostly probe all store nodes and feed back to all directorys
- Adaptive Designs when store nodes change or pitchfork nodes change
- High-low coupling pitchfork feed back to directory through zookeeper
Pitchfork contains unique id of pitchfork
Store contains unique id, rack position in zookeeper and accessed host
just pull Terry-Mao/bfs
from github using go get
:
$ go get github.com/Terry-Mao/bfs
$ cd $GOPATH/github.com/Terry-Mao/bfs/pitchfork
$ go build
Have Fun!