Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

使用场景:客户端开启两个python进程访问同一个DolphinDB的server端,假如我在python进程A中运行demo获得了一个处理过的table1,我想在进程B中直接使用这个处理过的table1,该如何在DolphinDB中实现?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
925 views
Welcome To Ask or Share your Answers For Others

1 Answer

dolphindb的默认对象都是在一个会话中有效,一旦会话结束,就会释放会话中的所有变量。
dolphindb提供了shared table和shared dictionary,这个是全局有效的,用户可以自行管理。
具体shared dictionary的使用,可以打开:
https://www.dolphindb.cn/cn/h...
搜索:syncDict函数的用法。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...