Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id EBD69200CE9 for ; Sat, 5 Aug 2017 06:46:21 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E883B16DA1B; Sat, 5 Aug 2017 04:46:21 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 340CF16DA17 for ; Sat, 5 Aug 2017 06:46:21 +0200 (CEST) Received: (qmail 99502 invoked by uid 500); 5 Aug 2017 04:46:20 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 99487 invoked by uid 99); 5 Aug 2017 04:46:19 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Aug 2017 04:46:19 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 093B8180812 for ; Sat, 5 Aug 2017 04:46:19 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.044 X-Spam-Level: **** X-Spam-Status: No, score=4.044 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URI_HEX=1.313, URI_TRY_3LD=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id L4jFcE89rvDG for ; Sat, 5 Aug 2017 04:46:17 +0000 (UTC) Received: from mail-ua0-f174.google.com (mail-ua0-f174.google.com [209.85.217.174]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 218E65F5C4 for ; Sat, 5 Aug 2017 04:46:17 +0000 (UTC) Received: by mail-ua0-f174.google.com with SMTP id k43so14478330uaf.3 for ; Fri, 04 Aug 2017 21:46:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=+IIl1bxoZob66XNemzgXxUTfaLTm4Bmh08YIcLYgiJw=; b=Dk6SlakbFtFIWJAyTiAb6tBkGW1nY/dr6xOXscw2hDOeyW/jXq3VD3z8+CeXSk/OqO fv/eDXmZ/NItKSom5DnQ0ApnF1vH16xUf9H7H16mRWzJQC4qWajBYgRZLP6yVwSHM9DK heq7oP7PMuCAunro4Tib0mwxHnPoUw6gKSE3jo0Tgw+JSUZVxFhj12KJYwbM4K6vgWEP Yu7diN93cx9Ajm64K8s0gTnkmLYzN4Q/j1xeaCWTXsxzG5grKrRT2i+3UWkyHX7iIk02 w06FKKNAqjf05+qpihdFp7p5ycF48sFuquc47GmlBT9mWl/X54ypHIN+eTxhCT0qV04r JL/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=+IIl1bxoZob66XNemzgXxUTfaLTm4Bmh08YIcLYgiJw=; b=RWMA+30kspJYvD8WCNDarBfb5JPRmC2cNTYk6EOsgOCrv1ul3GaTLCqL7DmpdeA1C1 oql2DSZqSkDAWIIhZZoN4DtBmcpxspaZ1lt9O+1h2eOEtUHJa4FF/5aw3hKiEHwghE3j 5varT2JROg6uXWAfVyDVxieFpNFyIVEGbXocXA1204aPcLvvym7zPattcGfLdi6famsq JEJKxqddQc4TjvrylqPi72o39VskyO0w+rpy/K4RLRn7dw3FRVss6GIH9XJwhxaEHcLn M/bw1w5EE4orfmaZuUgUsSW/miIGyxC5NlcfoqnbEs/YFa1jl7t0KWBH73C6sK9HBwzt BWJg== X-Gm-Message-State: AHYfb5iSoYfWHjFfZ5FPoaEeIf/q0vExPVmDzHyz9A/Y9CzNeggr+v7P uCcpsqPcV7DWI0ezowgAEggz/R92mw== X-Received: by 10.159.34.134 with SMTP id 6mr2813421uan.107.1501908375904; Fri, 04 Aug 2017 21:46:15 -0700 (PDT) MIME-Version: 1.0 Sender: tbain98@gmail.com Received: by 10.103.131.216 with HTTP; Fri, 4 Aug 2017 21:46:15 -0700 (PDT) Received: by 10.103.131.216 with HTTP; Fri, 4 Aug 2017 21:46:15 -0700 (PDT) In-Reply-To: <1501751663202-4729213.post@n4.nabble.com> References: <1501751663202-4729213.post@n4.nabble.com> From: Tim Bain Date: Fri, 4 Aug 2017 22:46:15 -0600 X-Google-Sender-Auth: iFsmRXsC0T1Z_KjCipOJ6K0AsIs Message-ID: Subject: Re: How can I speed up read message from queue To: ActiveMQ Users Content-Type: multipart/alternative; boundary="94eb2c03fdd83b277b0555fa4b0b" archived-at: Sat, 05 Aug 2017 04:46:22 -0000 --94eb2c03fdd83b277b0555fa4b0b Content-Type: text/plain; charset="UTF-8" One possible reason is that with a consumer reading messages as they are published, it's sometimes possible for the consumer to consume and ack the message before it's written to the persistent store, which eliminates the need to write it at all and eliminates the need to read it from the persistent store prior to dispatching it to the consumer. Tim On Aug 3, 2017 7:56 AM, "yupub" wrote: > Hi, > When I write and read message from a queuq, The TPS more than 2000; > But > when I write many msg to queue(More than 10,000) firs, then I read message, > the TPS is very slow(Only 70),Why??? > > > > -- > View this message in context: http://activemq.2283324.n4. > nabble.com/How-can-I-speed-up-read-message-from-queue-tp4729213.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > --94eb2c03fdd83b277b0555fa4b0b--