How does the golang server maintain a large number of websocket links?

I just contacted websocket.
I don"t know what the correct posture for the server to maintain (store) websocket links should look like.
ask
Thank you!

Mar.25,2021

refer to distributed chat server


you can use epoll/kequeue iCompo to multiplex demo

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3276e-2be1f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3276e-2be1f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?