⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用于网络游戏医学图像网关的高qos要求.更详细的内容可阅读相应的材料
💻
字号:

ThreadPool example for RT-Notification
======================================

This example has 1 Supplier and 2 Consumers.

The supplier sends an different event to each of the consumers in a
supplier thread continuously.

One of the consumers has 1 second delay in its push method.
let us call it the "slow" consumer and  the other consumer - the "fast" consumer.

If no threadpools are used then the throughput of both consumers is ~1
event per second.

We deploy a threadpool at each proxysupplier.
This causes each consumer to have a seperate data path.

Hence the fast consumer finishes first without any interference from
the slow consumer.

Command Line Options
====================

Supplier:
--------

-Consumers count

-Event_Channel_ThreradPool static_threads

-ProxyConsumer_ThreadPool static_threads

-IORoutput ior_file

-MaxEvents count


Consumer:
--------

-ProxySupplier_ThreadPool static_threads

-MaxEvents count

-Delay seconds

Running the example
===================

Simply run the run_test.pl file.

The run_test.pl file has options that can be modified to run the
example with threadpools deployed at different points.



⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -