[問題] gunicorn server shared memory問題

看板Python作者 (綠豆嘉義人)時間10年前 (2015/05/08 15:45), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
請問大家, 有人用過gunicorn的http server嗎? 目前有個問題是, 我的http server需要過濾重覆的client command(有序號) 但我的worker process沒有辦法使用共用的記憶體,這樣只要重覆command分到不同 worker,就會重覆執行. 有人知道這種架構下怎麼使用shared memory嗎? 感謝... -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 118.163.12.151 ※ 文章網址: https://www.ptt.cc/bbs/Python/M.1431071135.A.A1A.html
文章代碼(AID): #1LJ6cVeQ (Python)
文章代碼(AID): #1LJ6cVeQ (Python)