You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we cache announces in redis as a key, so we can GET it instead of ZRANGE on seeders & leechers, to imporove performance.
Of course, nothing is free, and for us this results in larger memory usage by redis (for caching of course).
While kiryuu is targeting performance, we should not assume the compromises that a user is willing to make (CPU vs RAM), depends on their available resources.
As such, we should allow deciding whether to enable the cache or not using a config option (compile time?)
The text was updated successfully, but these errors were encountered:
Currently we cache announces in redis as a key, so we can
GET
it instead ofZRANGE
on seeders & leechers, to imporove performance.Of course, nothing is free, and for us this results in larger memory usage by redis (for caching of course).
While kiryuu is targeting performance, we should not assume the compromises that a user is willing to make (CPU vs RAM), depends on their available resources.
As such, we should allow deciding whether to enable the cache or not using a config option (compile time?)
The text was updated successfully, but these errors were encountered: