activemq-gc-purge-lockup:单元测试以确认 ActiveMQ 锁定批量队列清除

上传者: 42108948 | 上传时间: 2022-10-13 00:32:05 | 文件大小: 53KB | 文件类型: ZIP
概述 测试项目展示了 ActiveMQ 5.10 的一个缺陷,大量队列会导致生产者/消费者长时间阻塞。 生产中最多 1-15 分钟。 跑步 赶紧跑: export MAVEN_OPTS="-Xmx1400m -XX:MaxPermSize=384m" mvn test 然后它会在创建队列时记录日志,然后最后它会打印常规/现有消费者与创建新消费者的延迟。 新的消费者会阻塞很长一段时间。

文件下载

资源详情

[{"title":"( 85 个子文件 53KB ) activemq-gc-purge-lockup:单元测试以确认 ActiveMQ 锁定批量队列清除","children":[{"title":"activemq-gc-purge-lockup-master","children":[{"title":"pom.xml <span style='color:#111;'> 3.76KB </span>","children":null,"spread":false},{"title":"DEBUG.txt <span style='color:#111;'> 170B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"test","children":[{"title":"resources","children":[{"title":"apache-activemq-without-scheduler-and-without-advisories.xml <span style='color:#111;'> 5.42KB </span>","children":null,"spread":false},{"title":"log4j-stdout.xml <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false},{"title":"apache-activemq-without-scheduler.xml <span style='color:#111;'> 5.50KB </span>","children":null,"spread":false},{"title":"apache-activemq.xml <span style='color:#111;'> 5.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"spinn3r","children":[{"title":"activemq","children":[{"title":"TestGCPerformance.java <span style='color:#111;'> 665B </span>","children":null,"spread":false},{"title":"TestGCPerformanceWithoutSchedulerAndWithoutAdvisories.java <span style='color:#111;'> 300B </span>","children":null,"spread":false},{"title":"TestGCPerformanceWithoutScheduler.java <span style='color:#111;'> 237B </span>","children":null,"spread":false},{"title":"BaseTestGCPerformance.java <span style='color:#111;'> 6.70KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"java","children":[{"title":"com","children":[{"title":"spinn3r","children":[{"title":"activemq","children":[{"title":"QueueMeta.java <span style='color:#111;'> 734B </span>","children":null,"spread":false},{"title":"QueueMetaReader.java <span style='color:#111;'> 2.74KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"activemq-gc-purge-lockup.iml <span style='color:#111;'> 6.24KB </span>","children":null,"spread":false},{"title":".idea","children":[{"title":"libraries","children":[{"title":"Maven__commons_lang_commons_lang_2_4.xml <span style='color:#111;'> 513B </span>","children":null,"spread":false},{"title":"Maven__aopalliance_aopalliance_1_0.xml <span style='color:#111;'> 502B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_core_3_2_8_RELEASE.xml <span style='color:#111;'> 604B </span>","children":null,"spread":false},{"title":"Maven__org_apache_activemq_activemq_broker_5_10_0.xml <span style='color:#111;'> 583B </span>","children":null,"spread":false},{"title":"Maven__org_apache_activemq_activemq_openwire_legacy_5_10_0.xml <span style='color:#111;'> 646B </span>","children":null,"spread":false},{"title":"Maven__commons_io_commons_io_2_4.xml <span style='color:#111;'> 491B </span>","children":null,"spread":false},{"title":"Maven__org_apache_activemq_activemq_kahadb_store_5_11_2_SNAPSHOT.xml <span style='color:#111;'> 688B </span>","children":null,"spread":false},{"title":"Maven__org_codehaus_jackson_jackson_core_asl_1_9_12.xml <span style='color:#111;'> 594B </span>","children":null,"spread":false},{"title":"Maven__org_apache_activemq_activemq_pool_5_10_0.xml <span style='color:#111;'> 569B </span>","children":null,"spread":false},{"title":"Maven__org_mortbay_jetty_jsp_2_1_6_1_14.xml <span style='color:#111;'> 519B </span>","children":null,"spread":false},{"title":"Maven__org_apache_activemq_activemq_jms_pool_5_10_0.xml <span style='color:#111;'> 597B </span>","children":null,"spread":false},{"title":"Maven__org_apache_activemq_activemq_openwire_legacy_5_11_2_SNAPSHOT.xml <span style='color:#111;'> 709B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_aop_3_2_8_RELEASE.xml <span style='color:#111;'> 597B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_beans_3_2_8_RELEASE.xml <span style='color:#111;'> 611B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_expression_3_2_8_RELEASE.xml <span style='color:#111;'> 646B </span>","children":null,"spread":false},{"title":"Maven__org_scala_lang_scala_library_2_11_0.xml <span style='color:#111;'> 549B </span>","children":null,"spread":false},{"title":"Maven__junit_junit_4_11.xml <span style='color:#111;'> 443B </span>","children":null,"spread":false},{"title":"Maven__com_fasterxml_jackson_core_jackson_databind_2_4_1.xml <span style='color:#111;'> 611B </span>","children":null,"spread":false},{"title":"Maven__org_apache_activemq_activemq_leveldb_store_5_11_2_SNAPSHOT.xml <span style='color:#111;'> 695B </span>","children":null,"spread":false},{"title":"Maven__com_google_code_findbugs_jsr305_1_3_9.xml <span style='color:#111;'> 533B </span>","children":null,"spread":false},{"title":"Maven__org_fusesource_hawtbuf_hawtbuf_1_11.xml <span style='color:#111;'> 525B </span>","children":null,"spread":false},{"title":"Maven__org_fusesource_hawtbuf_hawtbuf_proto_1_11.xml <span style='color:#111;'> 567B </span>","children":null,"spread":false},{"title":"Maven__org_fusesource_hawtbuf_hawtbuf_proto_1_10.xml <span style='color:#111;'> 567B </span>","children":null,"spread":false},{"title":"Maven__org_fusesource_hawtjni_hawtjni_runtime_1_9.xml <span style='color:#111;'> 574B </span>","children":null,"spread":false},{"title":"Maven__commons_logging_commons_logging_1_0_3.xml <span style='color:#111;'> 560B </span>","children":null,"spread":false},{"title":"Maven__org_fusesource_leveldbjni_leveldbjni_1_8.xml <span style='color:#111;'> 551B </span>","children":null,"spread":false},{"title":"Maven__org_hamcrest_hamcrest_core_1_3.xml <span style='color:#111;'> 520B </span>","children":null,"spread":false},{"title":"Maven__org_apache_geronimo_specs_geronimo_jms_1_1_spec_1_1_1.xml <span style='color:#111;'> 642B </span>","children":null,"spread":false},{"title":"Maven__org_apache_hadoop_hadoop_core_1_0_0.xml <span style='color:#111;'> 540B </span>","children":null,"spread":false},{"title":"Maven__org_mortbay_jetty_jsp_api_2_1_6_1_14.xml <span style='color:#111;'> 547B </span>","children":null,"spread":false},{"title":"Maven__org_apache_activemq_activemq_client_5_11_2_SNAPSHOT.xml <span style='color:#111;'> 646B </span>","children":null,"spread":false},{"title":"Maven__org_fusesource_hawtdispatch_hawtdispatch_1_21.xml <span style='color:#111;'> 580B </span>","children":null,"spread":false},{"title":"Maven__org_mortbay_jetty_servlet_api_2_5_6_1_14.xml <span style='color:#111;'> 575B </span>","children":null,"spread":false},{"title":"Maven__org_slf4j_slf4j_api_1_7_5.xml <span style='color:#111;'> 494B </span>","children":null,"spread":false},{"title":"Maven__org_apache_activemq_activemq_kahadb_store_5_10_0.xml <span style='color:#111;'> 625B </span>","children":null,"spread":false},{"title":"Maven__org_xerial_snappy_snappy_java_1_1_0_1.xml <span style='color:#111;'> 554B </span>","children":null,"spread":false},{"title":"Maven__org_apache_activemq_activemq_jms_pool_5_11_2_SNAPSHOT.xml <span style='color:#111;'> 660B </span>","children":null,"spread":false},{"title":"Maven__org_apache_activemq_activemq_pool_5_11_2_SNAPSHOT.xml <span style='color:#111;'> 632B </span>","children":null,"spread":false},{"title":"Maven__org_slf4j_slf4j_api_1_7_7.xml <span style='color:#111;'> 494B </span>","children":null,"spread":false},{"title":"Maven__org_codehaus_jackson_jackson_mapper_asl_1_9_12.xml <span style='color:#111;'> 608B </span>","children":null,"spread":false},{"title":"Maven__org_iq80_leveldb_leveldb_0_6.xml <span style='color:#111;'> 494B </span>","children":null,"spread":false},{"title":"Maven__commons_beanutils_commons_beanutils_1_7_0.xml <span style='color:#111;'> 582B </span>","children":null,"spread":false},{"title":"Maven__org_apache_activemq_activemq_leveldb_store_5_10_0.xml <span style='color:#111;'> 632B </span>","children":null,"spread":false},{"title":"Maven__commons_net_commons_net_3_3.xml <span style='color:#111;'> 502B </span>","children":null,"spread":false},{"title":"Maven__org_fusesource_hawtdispatch_hawtdispatch_scala_2_11_1_21.xml <span style='color:#111;'> 657B </span>","children":null,"spread":false},{"title":"Maven__commons_pool_commons_pool_1_6.xml <span style='color:#111;'> 513B </span>","children":null,"spread":false},{"title":"Maven__org_apache_activemq_protobuf_activemq_protobuf_1_1.xml <span style='color:#111;'> 612B </span>","children":null,"spread":false},{"title":"Maven__ant_ant_1_6_5.xml <span style='color:#111;'> 428B </span>","children":null,"spread":false},{"title":"Maven__org_apache_geronimo_specs_geronimo_jta_1_0_1B_spec_1_0_1.xml <span style='color:#111;'> 663B </span>","children":null,"spread":false},{"title":"Maven__commons_configuration_commons_configuration_1_6.xml <span style='color:#111;'> 612B </span>","children":null,"spread":false},{"title":"Maven__org_mortbay_jetty_jetty_6_1_26.xml <span style='color:#111;'> 505B </span>","children":null,"spread":false},{"title":"Maven__org_iq80_snappy_snappy_0_2.xml <span style='color:#111;'> 483B </span>","children":null,"spread":false},{"title":"Maven__org_slf4j_slf4j_log4j12_1_7_7.xml <span style='color:#111;'> 522B </span>","children":null,"spread":false},{"title":"Maven__org_apache_activemq_activemq_broker_5_11_2_SNAPSHOT.xml <span style='color:#111;'> 646B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_context_3_2_8_RELEASE.xml <span style='color:#111;'> 625B </span>","children":null,"spread":false},{"title":"Maven__org_apache_geronimo_specs_geronimo_j2ee_management_1_1_spec_1_0_1.xml <span style='color:#111;'> 726B </span>","children":null,"spread":false},{"title":"Maven__com_fasterxml_jackson_core_jackson_core_2_4_1.xml <span style='color:#111;'> 583B </span>","children":null,"spread":false},{"title":"Maven__org_apache_activemq_activemq_client_5_10_0.xml <span style='color:#111;'> 583B </span>","children":null,"spread":false},{"title":"Maven__org_iq80_leveldb_leveldb_api_0_6.xml <span style='color:#111;'> 522B </span>","children":null,"spread":false},{"title":"Maven__org_apache_xbean_xbean_spring_3_16.xml <span style='color:#111;'> 536B </span>","children":null,"spread":false},{"title":"Maven__log4j_log4j_1_2_16.xml <span style='color:#111;'> 457B </span>","children":null,"spread":false},{"title":"Maven__org_apache_activemq_activemq_spring_5_11_2_SNAPSHOT.xml <span style='color:#111;'> 646B </span>","children":null,"spread":false},{"title":"Maven__com_fasterxml_jackson_core_jackson_annotations_2_4_1.xml <span style='color:#111;'> 632B </span>","children":null,"spread":false},{"title":"Maven__commons_collections_commons_collections_3_2_1.xml <span style='color:#111;'> 604B </span>","children":null,"spread":false},{"title":"Maven__org_apache_activemq_activemq_spring_5_10_0.xml <span style='color:#111;'> 583B </span>","children":null,"spread":false},{"title":"Maven__org_fusesource_hawtbuf_hawtbuf_1_10.xml <span style='color:#111;'> 525B </span>","children":null,"spread":false},{"title":"Maven__org_mortbay_jetty_jetty_util_6_1_26.xml <span style='color:#111;'> 540B </span>","children":null,"spread":false},{"title":"Maven__org_mortbay_jetty_servlet_api_2_5_20081211.xml <span style='color:#111;'> 589B </span>","children":null,"spread":false},{"title":"Maven__com_google_guava_guava_12_0.xml <span style='color:#111;'> 487B </span>","children":null,"spread":false},{"title":"Maven__commons_beanutils_commons_beanutils_core_1_8_0.xml <span style='color:#111;'> 617B </span>","children":null,"spread":false},{"title":"Maven__commons_digester_commons_digester_1_8.xml <span style='color:#111;'> 557B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 505B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明