看板 Marginalman 關於我們 聯絡資訊
像是做一個小型git一樣 atomic<shared_ptr<T>> 幾乎無鎖 即使publish也只是改pointer 速度賊快 剩下的管理交給shared_ptr的count 這應該能應付高併發了吧 還是publish要加一個message worker thread 感覺專案的體量用不到 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 60.248.143.163 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/Marginalman/M.1766740700.A.E7A.html ※ 編輯: yam276 (60.248.143.163 臺灣), 12/26/2025 17:21:22