Is it possible to run a c-media driver and the archive media driver that records the streams in the c-media driver

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

Is it possible to run a c-media driver and the archive media driver that records the streams in the c-media driver

问题

I have a bunch of C++ applications that want to use the low latency c-media driver for the lowest latency. There is also a need to access past messages when a new subscriber joins or an existing one crashes and restarts. Want to leverage the archiving media driver to gap fill in these scenarios.

Want to know if this setup is possible

  1. run the c media driver with a local publisher and local subscribers
  2. run the archive media driver to record the messages flowing in the c-media-driver
  3. allow the apps to access the archive-media-driver to replay past messages and join the c-media-driver live publication

Not sure what configurations to use for setting up the two media drivers so the archiving media driver records the c-media-driver streams

英文:

I have a bunch of C++ applications that want to use the low latency c-media driver for the lowest latency. There is also a need to access past messages when a new subscriber joins or an existing one crashes and restarts. Want to leverage the archiving media driver to gap fill in these scenarios.

Want to know if this setup is possible

  1. run the c media driver with a local publisher and local subscribers
  2. run the archive media driver to record the messages flowing in the c-media-driver
  3. allow the apps to access the archive-media-driver to replay past messages and join the c-media-driver live publication

Not sure what configurations to use for setting up the two media drivers so the archiving media driver records the c-media-driver streams

答案1

得分: 2

是的,可以运行C媒体驱动程序和带有关联存档的Java媒体驱动程序。还可以在没有Java媒体驱动程序的情况下运行与C媒体驱动程序并存的存档。ArchivingMediaDriver是Archive和Java MediaDriver的组合,为方便起见捆绑在一起。

顺便提一下,使用开源版本中提供的BSD套接字API时,Java媒体驱动程序在延迟和吞吐量方面与C媒体驱动程序相媲美。通过C驱动程序的内核绕过扩展(作为高级组件提供)可以实现显著的延迟降低和吞吐量增加。

英文:

Yes it is possible to run a C media driver and a Java media driver with associated Archive. It is also possible to run an Archive alongside a C media driver without a Java media driver. The ArchivingMediaDriver is an aggregation of an Archive and a Java MediaDriver bundled for convenience.

BTW the Java media driver is on par with the C media driver for latency and throughput when using the BSD sockets API which comes in the open source version. A significant latency reduction and throughput increase can be achieved with the kernel bypass extensions for the C driver which are available as a premium component.

huangapple
  • 本文由 发表于 2023年6月29日 23:32:36
  • 转载请务必保留本文链接:https://go.coder-hub.com/76582543.html
匿名

发表评论

匿名网友

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

确定