wenfh2020 / wenfh2020.github.io

make blog : github + jekyll
MIT License
4 stars 3 forks source link

[redis 源码走读] 域名解析 - getaddrinfo #69

Open wenfh2020 opened 3 years ago

wenfh2020 commented 3 years ago

https://wenfh2020.com/2020/12/08/redis-dns/

在 sentinel 里,域名解析,用的是同步阻塞的 getaddrinfo 函数。