Spike runs on commodity Linux servers and is based on Google's network load balancer, Maglev.
- Make sure that your go workspace
is set up properly, and that the spike repository is in
$GOPATH/src/github.com/sipb/spike
. - Clone and build the snabb repository.
- Run
go get github.com/dchest/siphash
. - Run
make
.
It should now be possible to run the health check demo (demo.exe
), as
well as the snabb integration demo (forward/runspike
).
You can run the tests with make test
.
Contributing guidelines are here.
Spike is available under the MIT License. See the LICENSE
file for
more details.
maglev
was adapted from
dgryski/go-maglev, which is
used under the terms of the MIT License, and
kkdai/maglev, which is used under the
terms of the Apache License version 2.0.