Aleksey Konovkin

Results 21 comments of Aleksey Konovkin

@taogogo Initial commit for couchbase: https://github.com/ZigzagAK/lua-resty-couchbase Currently under development.

@spacewander I don't use ffi (lua-resty-core) api. In my use case i can't found performance improvements with FFI based api. Integral performance of my application with FFI looks like a...

@spacewander > If the shdict is accessed again via the __gc metamethod, there will be a deadlock. Yes, I understad it. Workaround: don't use lua objects with __gc metamethods, which...

@truong-hua , Hi! Hash method is unsupported. Only leastconn, roundrobin.

DNS resolving begins on worker process start phase. Resolving servers performed on init phase. Init phase is work when master process reads configuration. To resolve your requirements we need to...

Resolve is performed here https://github.com/nginx/nginx/blob/master/src/http/ngx_http_upstream.c#L5982.

We can't use standard server directive if we want to skip not resolvable hosts. We need to create own directive (similar to server) to add servers into upstream, which will...

@huaphuoctruong No. ngx_dynamic_healthcheck requires zone directive. This module resolves servers independently in each worker. ngx_dynamic_healthcheck is work with peers in shared memory.

@zdm , yes we can, but we must implement our directive, as i wrote before. This module has memory issue in https://github.com/GUI/nginx-upstream-dynamic-servers/blob/master/ngx_http_upstream_dynamic_servers.c#L528. Memory pool can't be destroyed before it is...

Yes, it is should work, but i don't like to patch nginx core. Separate directive is more attractive.