Integritee worker for Integritee node or parachain
This is part of Integritee
Please see our Integritee Book to learn how to build and run this.
To start multiple worker and a node with one simple command: Check out this README.
See docker/README.md.
There are 3 types of tests:
Run
cargo test
Run
make
./bin/integritee-service test --all
See docker/README.md
For direct calls, a worker runs a web-socket server inside the enclave. An important factor for scalability is the transaction throughput of a single worker instance, which is in part defined by the maximum number of concurrent socket connections possible. On Linux by default, a process can have a maximum of 1024
concurrent file descriptors (show by ulimit -n
).
If the web-socket server hits that limit, incoming connections will be declined until one of the established connections is closed. Permanently changing the ulimit -n
value can be done in the /etc/security/limits.conf
configuration file. See this guide for more information.