CN115211092A - 一种消息拉取方法、装置以及计算机存储介质 - Google Patents
一种消息拉取方法、装置以及计算机存储介质 Download PDFInfo
- Publication number
- CN115211092A CN115211092A CN202080097907.8A CN202080097907A CN115211092A CN 115211092 A CN115211092 A CN 115211092A CN 202080097907 A CN202080097907 A CN 202080097907A CN 115211092 A CN115211092 A CN 115211092A
- Authority
- CN
- China
- Prior art keywords
- sub
- topic
- pulling
- message
- quota
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 69
- 238000003860 storage Methods 0.000 title claims abstract description 14
- 230000002829 reductive effect Effects 0.000 claims description 42
- 238000012545 processing Methods 0.000 claims description 39
- 238000009825 accumulation Methods 0.000 claims description 30
- 230000009467 reduction Effects 0.000 claims description 25
- 238000004590 computer program Methods 0.000 claims description 9
- 238000004364 calculation method Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 9
- 230000008569 process Effects 0.000 description 7
- 230000003247 decreasing effect Effects 0.000 description 5
- 238000005457 optimization Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 230000001360 synchronised effect Effects 0.000 description 4
- 238000004220 aggregation Methods 0.000 description 3
- 230000002776 aggregation Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 239000000126 substance Substances 0.000 description 3
- 208000024891 symptom Diseases 0.000 description 3
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 2
- 230000006399 behavior Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000005520 cutting process Methods 0.000 description 1
- 238000007418 data mining Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000000670 limiting effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000036961 partial effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
Abstract
本申请实施例公开了一种消息拉取方法、装置以及计算机存储介质,该方法包括:确定待消费主题所包括的多个子主题以及各自分配的第一拉取比例;其中,不同的子主题具有不同的优先级参数;根据所述第一拉取比例,确定所述待消费主题所拉取消息的实际拉取量;若所述待消费主题所拉取消息的实际拉取量小于预设的额定拉取量,则对所述第一拉取比例进行调整,得到所述多个子主题各自分配的第二拉取比例;根据所述第二拉取比例,对所述待消费主题进行消息拉取。
Description
PCT国内申请,说明书已公开。
Claims (13)
- PCT国内申请,权利要求书已公开。
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2020/077411 WO2021174382A1 (zh) | 2020-03-02 | 2020-03-02 | 一种消息拉取方法、装置以及计算机存储介质 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115211092A true CN115211092A (zh) | 2022-10-18 |
CN115211092B CN115211092B (zh) | 2023-12-22 |
Family
ID=77614272
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202080097907.8A Active CN115211092B (zh) | 2020-03-02 | 2020-03-02 | 一种消息拉取方法、装置以及计算机存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN115211092B (zh) |
WO (1) | WO2021174382A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116909781A (zh) * | 2023-09-12 | 2023-10-20 | 卓望数码技术(深圳)有限公司 | 基于消息中间件实现消息消费优先级的调用方法及装置 |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114827049B (zh) * | 2022-03-02 | 2023-05-09 | 厦门服云信息科技有限公司 | 一种基于kafka的堆积数据消费方法、终端设备及存储介质 |
CN115460086B (zh) * | 2022-08-18 | 2024-01-30 | 北京永辉科技有限公司 | 分布式中间件的实时防护系统、方法及计算机可读存储介质 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB0521355D0 (en) * | 2005-10-19 | 2005-11-30 | Ibm | Publish/subscribe system and method for managing subscriptions |
CN108021358A (zh) * | 2017-12-15 | 2018-05-11 | 无线生活(杭州)信息科技有限公司 | 一种数据处理方法及装置 |
CN109766200A (zh) * | 2018-12-31 | 2019-05-17 | 北京明朝万达科技股份有限公司 | 一种消息队列处理方法、装置、设备及存储介质 |
CN110502402A (zh) * | 2019-08-28 | 2019-11-26 | 中国联合网络通信集团有限公司 | 消息处理方法、设备及终端设备 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102375862B (zh) * | 2010-08-26 | 2013-03-27 | 腾讯科技(深圳)有限公司 | 大数据量消息管理方法和装置 |
CN103237296A (zh) * | 2013-04-19 | 2013-08-07 | 中国建设银行股份有限公司 | 短信发送方法和用于发送短信的系统 |
CN106204109B (zh) * | 2016-06-28 | 2019-02-26 | 腾讯科技(深圳)有限公司 | 媒体文件的拉取方法和装置 |
CN107888637A (zh) * | 2016-09-30 | 2018-04-06 | 阿里巴巴集团控股有限公司 | 拉取消息的方法、装置及系统 |
CN109451072A (zh) * | 2018-12-29 | 2019-03-08 | 广东电网有限责任公司 | 一种基于Kafka的消息缓存系统和方法 |
-
2020
- 2020-03-02 WO PCT/CN2020/077411 patent/WO2021174382A1/zh active Application Filing
- 2020-03-02 CN CN202080097907.8A patent/CN115211092B/zh active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB0521355D0 (en) * | 2005-10-19 | 2005-11-30 | Ibm | Publish/subscribe system and method for managing subscriptions |
CN108021358A (zh) * | 2017-12-15 | 2018-05-11 | 无线生活(杭州)信息科技有限公司 | 一种数据处理方法及装置 |
CN109766200A (zh) * | 2018-12-31 | 2019-05-17 | 北京明朝万达科技股份有限公司 | 一种消息队列处理方法、装置、设备及存储介质 |
CN110502402A (zh) * | 2019-08-28 | 2019-11-26 | 中国联合网络通信集团有限公司 | 消息处理方法、设备及终端设备 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116909781A (zh) * | 2023-09-12 | 2023-10-20 | 卓望数码技术(深圳)有限公司 | 基于消息中间件实现消息消费优先级的调用方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
WO2021174382A1 (zh) | 2021-09-10 |
CN115211092B (zh) | 2023-12-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3129880B1 (en) | Method and device for augmenting and releasing capacity of computing resources in real-time stream computing system | |
US10558498B2 (en) | Method for scheduling data flow task and apparatus | |
CN115211092A (zh) | 一种消息拉取方法、装置以及计算机存储介质 | |
WO2021197364A1 (zh) | 一种用于服务的扩缩容的方法及相关设备 | |
EP3907609A1 (en) | Improved quantum ant colony algorithm-based spark platform task scheduling method | |
WO2021000693A1 (zh) | 一种服务熔断方法、装置及消息中间件 | |
JP2018510432A (ja) | アイドル時間のソフトウェア・ガベージ・コレクション | |
CN110971430B (zh) | 自动化扩容缩容的控制方法、装置、存储介质及处理器 | |
JP4618263B2 (ja) | ソフトウェア挙動監視装置及びソフトウェア挙動監視システム | |
US8150994B2 (en) | Providing flow control and moderation in a distributed message processing system | |
CN112579304A (zh) | 基于分布式平台的资源调度方法、装置、设备及介质 | |
CN105094826A (zh) | 用户终端系统中交互界面视图的响应方法及其装置 | |
CN109117280B (zh) | 电子装置及其限制进程间通信的方法、存储介质 | |
CN109117279B (zh) | 电子装置及其限制进程间通信的方法、存储介质 | |
CN110471769B (zh) | 一种虚拟机的资源管理方法及装置 | |
CN110096339B (zh) | 一种基于系统负载实现的扩缩容配置推荐系统及方法 | |
CN106933673B (zh) | 调整组件逻辑线程数量的方法及装置 | |
CN114827049A (zh) | 一种基于kafka的堆积数据消费方法、终端设备及存储介质 | |
CN114490078A (zh) | 一种微服务的动态缩扩容方法、装置及设备 | |
CN108415765B (zh) | 任务调度方法、装置及智能终端 | |
CN110347546B (zh) | 监控任务动态调整方法、装置、介质及电子设备 | |
CN113986497B (zh) | 基于多租户技术的队列调度方法、装置及系统 | |
CN112367384B (zh) | 基于Kafka集群的动态限速方法、装置以及计算机设备 | |
US20070067455A1 (en) | Dynamically adjusting resources | |
Kong et al. | Energy-constrained scheduling for weakly-hard real-time tasks on multiprocessors |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |