Maxim Belousov
Maxim Belousov
Cache locks are the main protection from the dogpile effect. As main functionality (not related to some backend implementation) I suppose next simple structure. Use something like a `HasMap` where...
Redis cluster is a good candidate for distributed cache backend in MVP. But we need to finish some related issues: - #17 - Add redis-cluster backend instead of a current...
The main idea of this task is to add some mechanism that implements the ability to declaratively describe the hitbox configuration. - HTTP server configuration (host, port, etc.) - Backend...
This task requires extending a CacheableResponse trait with a method for detection error in the upstream result. Btw we need to implement it for some base types such as Result...
Cache locks are the main protection from the dogpile effect. As main functionality (not related to some backend implementation) I suppose next simple structure. Use something like a `HasMap` where...
For integration with actix-web we need to implement trait Cacheable for HttpRequest and add some service\route declaration helper functions. Something like this: ```rust HttpServer::new(|| { App::new() .service(web::resource("/something") .route(web:get().to(get_something)) .cache(ttl=60)) })...
The main idea is removing actix dependency from hitbox-backend and hitbox main crate in favor of pure tokio. Need to describe new Backend trait that explicit interaction with CachedValue struct...