hnlq715 commented on issue #3211:
URL: https://github.com/apache/apisix/issues/3211#issuecomment-760586816
@tokers
Nginx features are merged into open source version smoothly :-)
http://nginx.org/en/docs/http/ngx_http_upstream_module.html#zone
```
Syntax: | state file;
hnlq715 commented on issue #3211:
URL: https://github.com/apache/apisix/issues/3211#issuecomment-760578226
@ElvinEfendi Very insightful, thanks
@moonming @membphis
After reviewing [nginx's random
hnlq715 commented on issue #3211:
URL: https://github.com/apache/apisix/issues/3211#issuecomment-759904817
I think we should not use shared.DICT to store ewma data, to avoid using
lock, which could improve performance significantly.
roundrobin: 10068.77 qps
ewma from
hnlq715 commented on issue #3211:
URL: https://github.com/apache/apisix/issues/3211#issuecomment-759886978
@spacewander
Yep, seems like it has switched to p2cewma, I'd like to benchmark this
implemention too.
hnlq715 commented on issue #3211:
URL: https://github.com/apache/apisix/issues/3211#issuecomment-759879057
Simple benchmark result with 20 servers in upstream:
* roundrobin: 10685.03 qps
* ewma: 9207.02 qps
* p2cewma: 10101.92 qps
If the number of servers in upstream grows,
hnlq715 commented on issue #3211:
URL: https://github.com/apache/apisix/issues/3211#issuecomment-75606
> @hnlq715 A benchmark result is also desired to let us know the earnings :).
Absolutely
This is an