reimplementing scalog from scratch
Run the go build
command to build Scalog, and go test -v ./...
to run
unit-tests.
To run the server side code, we have to install goreman
by running
go get github.com/mattn/goreman
Use goreman start
to run the server side code. The goreman configuration is
in Procfile
and the Scalog configuration file is in .scalog.yaml
To run the client, we should use
./scalog client --config .scalog.yaml
After that, we can use command append [record]
to append a record to the
log, and use read [GlobalSequenceNumber] [ShardID]
to read a record.