repositorypackage
0.0.0-20241216115302-8919ddcf23ab
Repository: https://github.com/chn0318/scalog.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# README
scalog
reimplementing scalog from scratch
Build Scalog
Run the go build
command to build Scalog, and go test -v ./...
to run
unit-tests.
Run the code
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.