hashserv unihash cache
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | hashserv: Unihash cachelib/ | +159 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/1] hashserv unihash cache
I saw that the ratio of reads to inserts in our hasherv is ~10:1. So I have added a cache for unihash reads to somewhat off-load the hashserver. This since it rapidly becomes CPU bound and also that it is unresponsive during cleanup operations like vacuum. This goes for the classic sqlite based solution.
We have run this cache in production now with and it seems to do OK so I would like to share it either as a contribution or an idea for improvement.
Tobias Hagelborn (1):
hashserv: Unihash cache
lib/hashserv/server.py | 188 ++++++++++++++++++++++++++++++++++------- 1 file changed, 159 insertions(+), 29 deletions(-)
Signature · 1 line
2.30.2