关于kube-ovn ipam性能进一步优化

2022-11-02  本文已影响0人  cloudFans

kube-ovn ipam目前在内存中实现,对照另一个项目来看,内存中ipam确实是性能最好的一种实现方式。
参考: https://github.com/metal-stack/go-ipam

Supported Databases & Performance

Database Acquire Child Prefix Acquire IP New Prefix Prefix Overlap Production-Ready Geo-Redundant
In-Memory 106,861/sec 196,687/sec 330,578/sec 248/sec N N
KeyDB 777/sec 975/sec 2,271/sec Y Y
Redis 773/sec 958/sec 2,349/sec Y N
MongoDB 415/sec 682/sec 772/sec Y Y
Etcd 258/sec 368/sec 533/sec Y N
Postgres 203/sec 331/sec 472/sec Y N
CockroachDB 40/sec 37/sec 46/sec Y Y

The benchmarks above were performed using:

后续考虑分析下两者的源码,看是否可以更进一步

上一篇下一篇

猜你喜欢

热点阅读