This topic created in 3189 days ago, the information mentioned may be changed or developed.
3 replies • 2018-02-26 10:07:42 +08:00
 |
|
1
alsoran1 Jan 29, 2018
因为这个对象构建起来代价太大,并且需要保持一致性
|
 |
|
2
tonghuashuai Jan 29, 2018
这个问题用其他的方案去解决代价应该会小一点……比如把你要共享的对象数据存到 redis 中
|
 |
|
3
sinly100 Feb 26, 2018
你的这个问题本质就是多进程之间共享数据,一般最简单的方法是通过外部存储共享,如 MongoDB、Redis
|