futurewei-cloud / alcor

Alcor: Cloud native SDN platform powered by Kubernetes and Istio
MIT License
32 stars 33 forks source link

Improve ip manger performance #702

Closed DavidLiu506 closed 2 years ago

DavidLiu506 commented 2 years ago

This is for ip manager performance improvement.

1 Transaction on ipAddrRangeCache (not include vpcIpRangeCache.get(vpcId)), this can reduce distribute lock and improve concurrent cache operation.

2 Add retry logic code in port manager is for cocurrent operate on create subnet and allocate ip.

xieus commented 2 years ago

@DavidLiu506 Please add a brief description on the PR as well.