project-oak / oak

Meaningful control of data in distributed systems.
Apache License 2.0
1.32k stars 113 forks source link

Roughtime client unnecessarily serializes requests. #867

Closed daviddrysdale closed 2 years ago

daviddrysdale commented 4 years ago

The current Roughtime client works through its entire list of Roughtime servers accumulating their times, then looks for an overlap. If there are 10 servers but only 3 overlaps required, this is probably overkill. It would be nice if:

conradgrobler commented 4 years ago

Although it is not currently done, the serialisation is done to support future chaining of requests to support the ecosystem in detecting misbehaving servers. It is still TBD whether we should ignore the chaining for performance, or trade off performance to support chaining and publishing of the chains once the Roughtime ecosystem grows.