perf: cache responses
Nomon opened this issue · 0 comments
Nomon commented
To reduce redundant requests and processing use the nomad api client provided modifyindex mechanism.
- cache resources feasible for caching and detect changed resources using raft index.
- remove unnecessary api calls (spotted a few, like loading allocs several time)