英文:
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
- run the c media driver with a local publisher and local subscribers
- run the archive media driver to record the messages flowing in the c-media-driver
- 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
- run the c media driver with a local publisher and local subscribers
- run the archive media driver to record the messages flowing in the c-media-driver
- 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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论