开发者

How to share memory buffer across sessions in Django?

I want to have one party (or more) sends a stream of data via HTTP request(s). Other parties will be able to receive the same stream of data in almost real-time.

The data s开发者_运维知识库tream should be accessible across sessions (according to access control list).

How can I do this in Django? If possible I would like to avoid database access and use in memory buffer (along with some synchronization mechanism)


Use posix_ipc or sysv_ipc to use shared memory.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜