Zverev Konstantin

Results 39 comments of Zverev Konstantin

> > I need results backend. Will try to change it to DB. But redis is most optimal for my use case because of lots of small tasks. > >...

I've just noticed similar problem after upgrading prometheus crate to 0.14. 0.13 works fine.

Here you go https://gist.github.com/Object905/cf10ffd97595887bb7b3868c89a793d7 Can ignore serde.rs, I use it to save/restore caches between restarts. Also compression.rs is WIP, but seems to work for me.

Also note that there is `pingora::cache::MemCache` ref https://github.com/cloudflare/pingora/issues/137

I do it like so. Create "cache" with lazy static with CacheBucket util from gist ``` pub static STATIC_CACHE: Lazy = Lazy::new(|| { use pingora::cache::lock::CacheLock; CacheBucket::new( SccMemoryCache::with_capacity(8192) .with_reject_empty_body(true) .with_max_file_size(Some(MB *...

@MMADUs I've update gist with ` serde_example.rs ` and ` service_registry.rs `. That's how I create the caches, so they're loaded on startup and saved periodically on background.

Seems like you have to enable `serde` feature on [bytes](https://crates.io/crates/bytes) crate. Or refactor and just use `Vec` instead. My related `Cargo.toml` ``` scc = { version = "2.0.19", features =...

Not stale) I'm planning transitioning to cloudnativepg from zalando-odyssey operator. I have a [custom drop-in docker image](https://gitlab.com/Object905/zalando-odyssey) for odyssey for that operator. If it's as simple as changing docker image...

Note that greenlet is only a dependency of gevent and it's not used directly. Also given how they're maintained (not abandoned, but mostly catching up with upstream python) and how...