如何使用TorQ框架管理多个kdb系统

huangapple go评论69阅读模式
英文:

How to use TorQ framework to manage multiple kdb plants

问题

I started using TorQ for a personal project.

我开始在个人项目中使用TorQ。

I have an app which has 3 plants.

我有一个应用程序,其中包含3个模块。

1 for options
1 for equities
1 for fx

1个用于期权,1个用于股票,1个用于外汇。

(I am using some mock data I found around)

(我正在使用一些我找到的模拟数据)

For my system I will have 1 tp, 1 rdb, 2 hdbs and 1 wdb for each plant.

对于我的系统,每个模块都将有1个tp,1个rdb,2个hdb和1个wdb。

There will be 3-5 gw able to access all plants.

将有3-5个gw能够访问所有模块。

tp options -> rdb options ->
tp期权 -> rdb期权 ->

          -> wdb options -> hdb options   -> gw options
          -> wdb期权 -> hdb期权   -> gw期权

tp equities -> rdb equities ->
tp股票 -> rdb股票 ->

          -> wdb equities -> hdb equities -> gw equities
          -> wdb股票 -> hdb股票 -> gw股票

Gatways should be able to access all RDBS and HDBS and generally be able to switch between the plants (ie. someone can do a select from tab1 and the gw will be smart enough to know where that tab1 is)

网关应该能够访问所有的RDBS和HDBS,并且通常能够在模块之间切换(即,某人可以从tab1中进行选择,而gw将足够聪明以知道tab1位于哪里)

My question is :

我的问题是:

Should I start 3 TorQ plants or modify TorQ to use a procname variable to differentiate between the 3 plants? (ie rdb will only subscribe to all tickerplanttypes where tickerplantnames OptiPx)

我应该启动3个TorQ模块,还是修改TorQ以使用procname变量来区分这3个模块?(即,rdb只会订阅所有tickerplanttypes,其中tickerplantnames为OptiPx)

英文:

I started using TorQ for a personal project.

I have an app which has 3 plants.

1 for options 
1 for equities 
1 for fx 

(I am using some mock data I found around)

For my system I will have 1 tp, 1 rdb, 2 hdbs and 1 wdb for each plant.
There will be 3-5 gw able to access all plants.

tp options  -> rdb options                  -> 
            -> wdb options -> hdb options   -> gw options

tp equities -> rdb equities                 -> 
            -> wdb equities -> hdb equities -> gw equities 

.
.
.

Gatways should be able to access all RDBS and HDBS and generally be able to switch between the plants (ie. someone can do a select from tab1 and the gw will be smart enough to know where that tab1 is)

My question is :

Should I start 3 TorQ plants or modify TorQ to use a procname variable to differentiate between the 3 plants? (ie rdb will only subscribe to all tickerplanttypes where tickerplantnames OptiPx)

答案1

得分: 1

将您的系统运行在单个TorQ堆栈下可能更加方便,因为这样您的rdbs和hdbs的所有连接信息都将从发现过程中轻松获取,您无需担心任何外部连接管理。

如果您决定使用单独的堆栈,可以在TorQ连接管理中找到有关如何设置连接的更多信息。

英文:

Running your system under a single TorQ stack may be more convenient as then all connection information for your rdbs and hdbs will be readily available from the discovery process and you won't have to worry about any external connection management.

You can find some more information on how to set up your connections if you decide to use separate stacks here
TorQ Connection Management

huangapple
  • 本文由 发表于 2023年8月11日 00:47:02
  • 转载请务必保留本文链接:https://go.coder-hub.com/76877774.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定