From 4cb595e5f5a3f68b4abb1e1aca1922269fa2b559 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Wed, 15 Jun 2011 20:15:51 +0000 Subject: QPID-3280: Performance problem with TTL messages. When sending a large number of messages with nonzero TTLs to a cluster, overall message throughput drops by around 20-30% compared to messages with TTL 0. The previous approach to TTL in the cluster is replaced with a simpler "cluster clock". Also QueueCleaner is executed in the cluster timer, and modified to be deterministic in a cluster. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1136170 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/xml/cluster.xml | 40 +++++++++++++++++++++++++--------------- 1 file changed, 25 insertions(+), 15 deletions(-) (limited to 'qpid/cpp/xml') diff --git a/qpid/cpp/xml/cluster.xml b/qpid/cpp/xml/cluster.xml index 4d83c5b5de..c33f2e4852 100644 --- a/qpid/cpp/xml/cluster.xml +++ b/qpid/cpp/xml/cluster.xml @@ -8,9 +8,9 @@ - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at -- +- - http://www.apache.org/licenses/LICENSE-2.0 -- +- - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY @@ -78,10 +78,6 @@ - - - - @@ -89,7 +85,7 @@ - + @@ -116,6 +112,11 @@ + + + + + @@ -149,7 +150,7 @@ - + + @@ -192,9 +193,9 @@ - + - + @@ -204,7 +205,7 @@ - + @@ -253,9 +254,6 @@ - - - @@ -289,6 +287,18 @@ + + + + + + + + + + + + -- cgit v1.2.1