MatrixAI / Polykey

Polykey Core Library
https://polykey.com
GNU General Public License v3.0
29 stars 4 forks source link

Interactive Response Latency #88

Closed CMCDragonkai closed 3 years ago

CMCDragonkai commented 4 years ago

One of our acceptance tests can be for interactive response latency:

https://www.pubnub.com/blog/how-fast-is-realtime-human-perception-and-technology/

Using opentracing techniques we can even isolate where the latency comes from in our applications.

I suspect optimizing our cryptographic performance will be important. This includes making use of parallel thread pool to do the cryptography asynchronously.

Thread pinning is another idea.

We might investigate the usage of webassembly as well.

Important links:

I think opentracing will allow us to measure latency of all API operations based on #3

We will only know what to use by measuring and having quantified measurements on our operations.

robert-cronin commented 3 years ago

Closing on account of migration to gitlab