sonic-net / sonic-swss

SONiC Switch State Service (SwSS)
https://azure.github.io/SONiC
Other
170 stars 503 forks source link

[action] [PR:3190] Use unix socket for redis connection (#3190) #3202

Closed mssonicbld closed 1 month ago

mssonicbld commented 1 month ago

Why I did this?

Most of the DB connection in buffermgrd is using unix socket. There is only one DB connection which is using TCP socket. It brings a few drawback:

TCP socket is less efficiency TCP socket may fail if loopback interface is down. It could cause following error:

mssonicbld commented 1 month ago

Original PR: https://github.com/sonic-net/sonic-swss/pull/3190