Downloading GRAPES
A preliminary version of the library was shipped with the
experimental P2P streamers.
The current GRAPES version is v0.2;
you can download a gzipped tarball, and
uncompress it with tar xvzf grapes-v0.2.tgz
Here is a list of all the GRAPES releases:
The changes between v0.1 and v0.2 include a new topology management module, a huge number of bugfixes, some improvements to the peer sampling module, and the implementation of a new peer sampling mechanism (based on the CYCLONE algorithm) that can be used as an alternative to the default one.
Building GRAPES
After uncompressing the package, you find a GRAPES
directory containing:
include
The public headers to be included in applications using GRAPESTests
Some tests and examples for the library. Used both for testing the library functionalities and to show how to use the library's APITopologyManager
The code for the peer sampling APIPeerSet
...ChunkBuffer
...ChunkIDSet
...ChunkTrading
...
The library can be compiled by just typing "make
".
This will create a file called libgrapes.a
that
can be linked to applications needing the GRAPES services.
The tests and examples can be compiled by using
make tests
, while make clean
and
make allclean
can be used to remove the built
files from the GRAPES tree.