# README
hello
The "hello world" of grid applications.
What You Will Learn
- How to start a gird application
- How to define a leader actor
- How to discovery peers in the application
- How to start other actors besides the leader
Prerequisite, Etcd
The grid library requires a V3 etcd server to be running, and this example requires that it run on its default port number. You can get etcd running by doing:
$ go get github.com/coreos/etcd
$ cd github.com/coreos/etcd
$ ./build
$ bin/etcd
Running the Example
In a terminal run the following command from inside the hello directory:
$ go run main.go -address localhost:7777
You can run as many of these processes as you want, but each will need a different port number.
# Structs
LeaderActor is the entry point of the application.
WorkerActor started by the leader.