You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/07/01 07:02:15 UTC

[GitHub] [pulsar] merlimat opened a new pull request #7406: Improved in max-pending-bytes mechanism for broker

merlimat opened a new pull request #7406:
URL: https://github.com/apache/pulsar/pull/7406


   ### Motivation
   
   There are few issues with the current implementation of the broker-wide throttling based on max-outstanding bytes in broker that was added in #6178.
   
    1. The current implementation is over-counting the outstanding bytes when there are >1 producers on a given connection. It's cycling through the producers and adding the per-connection counter one time per each producer.
    2. There is 1 atomic increment and 2 volatile reads per each request
    3. There is a delay for detecting the memory over-commit, due to the background task running periodically
    4. If there is a substantial amount of producers, the tasks that runs every 100ms will consume significant CPU by looping over all the producers (many of which could be idle) all the time
   
   The improvement proposed here is using thread-local counters to avoid contention and CPU overhead. 
    
    1. Use 1 counter per IO thread. Once the counter for that thread exceed 1/N of the quota, throttle all the connections that are pinned to the thread.
    2. This will also ensure that 1 single connection trying to publish too fast can throttle all other connections in the broker. Rather, it will only affect 1/N of connections.
    3. No need for atomic/volatile, just thread-local and local variables, since we're always operating on connections that belongs to the same IO thread.
    4. Precise enforcement with no CPU overhead for idle producers
   
   Regarding the lower limit per each IO thread, in which 1 single connection cannot use the entire memory space, I don't think it's an issue at all. 
   
   Once there is a "window" of several MB, there is no throughput gain in having a bigger window. Also, In most scenarios, the only time we'd be filling this window is when the downstream BK is either malfunctioning or under-provisioned for the load. Either case, it's not a performance concern.
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] merlimat commented on pull request #7406: Improved in max-pending-bytes mechanism for broker

Posted by GitBox <gi...@apache.org>.
merlimat commented on pull request #7406:
URL: https://github.com/apache/pulsar/pull/7406#issuecomment-654408764


   > Sorry I didn't make it clear. I mean if we have 32 io thread, for each message we sum 32 numbers, is this will be a bottleneck of the broker? I just want to know the disadvantages of using Longadder.
   
   @codelipenghui With longadder you'd still need to run a background thread to do the enforcement, because the `increment` part is low-contention, but reading the "actual value" is on the slow path.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] ivankelly edited a comment on pull request #7406: Improved in max-pending-bytes mechanism for broker

Posted by GitBox <gi...@apache.org>.
ivankelly edited a comment on pull request #7406:
URL: https://github.com/apache/pulsar/pull/7406#issuecomment-652396552


   @codelipenghui A LongAdder would still cause contention on every entry, as to sum it has to view all cells. To allow a single thread to use the full buffer when there's little traffic on the other threads, we should use a token bucket, as networking folks have been doing for decades.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] merlimat commented on a change in pull request #7406: Improved in max-pending-bytes mechanism for broker

Posted by GitBox <gi...@apache.org>.
merlimat commented on a change in pull request #7406:
URL: https://github.com/apache/pulsar/pull/7406#discussion_r448333721



##########
File path: pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BrokerService.java
##########
@@ -2307,4 +2253,16 @@ private boolean isSystemTopic(String topic) {
     public void setInterceptor(BrokerInterceptor interceptor) {
         this.interceptor = interceptor;
     }
+
+    public void pausedConnections(int numberOfConnections) {
+        pausedConnections.addAndGet(numberOfConnections);

Review comment:
       Good point. I just exposed it here to for validation in the tests, though it makes sense to expose the 2 counters.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] 315157973 commented on pull request #7406: Improved in max-pending-bytes mechanism for broker

Posted by GitBox <gi...@apache.org>.
315157973 commented on pull request #7406:
URL: https://github.com/apache/pulsar/pull/7406#issuecomment-814574349


   Assuming 32 IO threads, 8G direct memory. The buffer of each IO thread is 256MB. Bookie’s write latency is about 10ms. Under stable conditions, 100* 256MB = 25G can be written per second, which is enough to fill bookie.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] merlimat commented on pull request #7406: Improved in max-pending-bytes mechanism for broker

Posted by GitBox <gi...@apache.org>.
merlimat commented on pull request #7406:
URL: https://github.com/apache/pulsar/pull/7406#issuecomment-652449856


   > I just want to say the pending buffer is sensitive to write throughput, especially on machines with less memory. If we split it into multiple parts, when there are fewer connections, the channel will enable auto-read, disable auto-read frequently, 
   
   How much is less memory? Once you have 10s of MB per thread (or per connection, if you have a single connection), there will be no more improvement in letting it use more memory. 
   
   It's the same reason for which the OS network stack doesn't let you grow the TCP window indefinitely. There are OS limits that are in place, because: (1) too much doesn't help and (2) it starve other users. 
   
   The current default settings we have is `-XX:MaxDirectMemorySize=4g`.
   That means that with 16 cores, you'd get, by default, 32 IO threads.
   With this, each thread gets 128MB of buffer size, which is far greater than any TCP window size you'd get from Linux.
   
   Also, 4G for a VM with 16 cores is very little memory ratio. Such VM would typically be having 64GB or higher. 
   
   Reversely, in container environment, mem is usually capped lower, but so is the CPU limit. If you limit the CPUs on the broker container, the default IO threads count will adjust accordingly, balancing the situation.
   
   > If we split it into multiple parts, when there are fewer connections, the channel will enable auto-read, disable auto-read frequently,
   
   We're already doing that with the per-connection `pendingSendRequest` (default 1K) and there's no perf impact. 
   
   > And it is possible that some parts are available pending more messages.
   
   > The io threads count not much, will we add up to a few numbers each time will become a bottleneck?
   
   I'm not sure what you mean here.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] 315157973 commented on a change in pull request #7406: Improved in max-pending-bytes mechanism for broker

Posted by GitBox <gi...@apache.org>.
315157973 commented on a change in pull request #7406:
URL: https://github.com/apache/pulsar/pull/7406#discussion_r624448193



##########
File path: pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BrokerService.java
##########
@@ -269,18 +267,13 @@
     private Channel listenChannelTls;
 
     private boolean preciseTopicPublishRateLimitingEnable;
-    private final long maxMessagePublishBufferBytes;
-    private final long resumeProducerReadMessagePublishBufferBytes;
-    private volatile boolean reachMessagePublishBufferThreshold;
+    private final AtomicInteger pausedConnections = new AtomicInteger();

Review comment:
       The reading frequency here should be very low, only used in unit tests or metrics, why not use longAdder




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] codelipenghui commented on pull request #7406: Improved in max-pending-bytes mechanism for broker

Posted by GitBox <gi...@apache.org>.
codelipenghui commented on pull request #7406:
URL: https://github.com/apache/pulsar/pull/7406#issuecomment-652322280


   > Regarding the lower limit per each IO thread, in which 1 single connection cannot use the entire memory space, I don't think it's an issue at all.
   
   There are some users who use few producers to publish messages, in order to have a better batch effect to improve throughput. We cannot assume 1 single connection cannot use the entire memory space. Our purpose is to control memory and make effective use of memory. I think split memory according to io thread may decrease the memory utilization.
   
   How about using a LongAdder to record the current pending bytes and remove the check tasks.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] rdhabalia commented on pull request #7406: Improved in max-pending-bytes mechanism for broker

Posted by GitBox <gi...@apache.org>.
rdhabalia commented on pull request #7406:
URL: https://github.com/apache/pulsar/pull/7406#issuecomment-670629663


   /pulsarbot run-failure-checks


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] merlimat commented on pull request #7406: Improved in max-pending-bytes mechanism for broker

Posted by GitBox <gi...@apache.org>.
merlimat commented on pull request #7406:
URL: https://github.com/apache/pulsar/pull/7406#issuecomment-652403667


   > There are some users who use few producers to publish messages, in order to have a better batch effect to improve throughput.
   
   I have, of course, tested it and as expected once you have few MBs of runway, there's no throughput advantage in allowing it to grow higher.
   
   > We cannot assume 1 single connection cannot use the entire memory space.
   
   We should assume that, because allowing 1 single connection to take over the entire quota of the broker and stalling all other connections is bad.
   
   > Our purpose is to control memory and make effective use of memory.
   
   Effectively **and** efficiently, in a scalable manner.
   
   > I think split memory according to io thread may decrease the memory utilization.
   
   If there's no negative impact on throughput, that is a good thing. That memory can be used on dispatch side.
   
   > How about using a LongAdder to record the current pending bytes and remove the check tasks.
   
   The LongAdder would not allow you to remove the check tasks. The LongAdder only difference, compared to an AtomicLong, is that it's optimized for writes (thread-local counters), but the read path is extra slow and meant to be used infrequently.
   
   That doesn't solve the multiple issue I've outlined above, in particular the need for the check task.
   
   A single broker, can be very easily be serving 100s of thousands of producers at a given point in time. Some of them active, some of them idle. 
   
   Frequently looping over all the producers (just to get to the connections) is just burning a lot of CPU.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] ivankelly commented on a change in pull request #7406: Improved in max-pending-bytes mechanism for broker

Posted by GitBox <gi...@apache.org>.
ivankelly commented on a change in pull request #7406:
URL: https://github.com/apache/pulsar/pull/7406#discussion_r448195643



##########
File path: pulsar-broker/src/main/java/org/apache/pulsar/broker/service/ServerCnx.java
##########
@@ -167,10 +171,26 @@
     private volatile boolean autoReadDisabledRateLimiting = false;
     private FeatureFlags features;
     // Flag to manage throttling-publish-buffer by atomically enable/disable read-channel.
-    private volatile boolean autoReadDisabledPublishBufferLimiting = false;
-    private static final AtomicLongFieldUpdater<ServerCnx> MSG_PUBLISH_BUFFER_SIZE_UPDATER =
-            AtomicLongFieldUpdater.newUpdater(ServerCnx.class, "messagePublishBufferSize");
-    private volatile long messagePublishBufferSize = 0;
+    private boolean autoReadDisabledPublishBufferLimiting = false;
+
+    private final long maxPendingBytesPerThread;
+    private final long resumeThresholdPendingBytesPerThread;
+
+    // Number of bytes pending to be published from a single specific IO thread.
+    private static final FastThreadLocal<MutableLong> pendingBytesPerThread = new FastThreadLocal<MutableLong>() {
+        @Override
+        protected MutableLong initialValue() throws Exception {
+            return new MutableLong();
+        }
+    };
+
+    // A set of connections tied to the current thread
+    private static final FastThreadLocal<Set<ServerCnx>> cnxsPerThread = new FastThreadLocal<Set<ServerCnx>>() {
+        @Override
+        protected Set<ServerCnx> initialValue() throws Exception {
+            return Collections.newSetFromMap(new IdentityHashMap<>());

Review comment:
       What's the advantage of this over "new HashSet<>()"?

##########
File path: pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BrokerService.java
##########
@@ -2307,4 +2253,16 @@ private boolean isSystemTopic(String topic) {
     public void setInterceptor(BrokerInterceptor interceptor) {
         this.interceptor = interceptor;
     }
+
+    public void pausedConnections(int numberOfConnections) {
+        pausedConnections.addAndGet(numberOfConnections);

Review comment:
       Is this exported via prometheus? It would be better to have separate event counters for pause and resume so that if pausing happens between prometheus pulls we can see it.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] merlimat commented on a change in pull request #7406: Improved in max-pending-bytes mechanism for broker

Posted by GitBox <gi...@apache.org>.
merlimat commented on a change in pull request #7406:
URL: https://github.com/apache/pulsar/pull/7406#discussion_r448332848



##########
File path: pulsar-broker/src/main/java/org/apache/pulsar/broker/service/ServerCnx.java
##########
@@ -167,10 +171,26 @@
     private volatile boolean autoReadDisabledRateLimiting = false;
     private FeatureFlags features;
     // Flag to manage throttling-publish-buffer by atomically enable/disable read-channel.
-    private volatile boolean autoReadDisabledPublishBufferLimiting = false;
-    private static final AtomicLongFieldUpdater<ServerCnx> MSG_PUBLISH_BUFFER_SIZE_UPDATER =
-            AtomicLongFieldUpdater.newUpdater(ServerCnx.class, "messagePublishBufferSize");
-    private volatile long messagePublishBufferSize = 0;
+    private boolean autoReadDisabledPublishBufferLimiting = false;
+
+    private final long maxPendingBytesPerThread;
+    private final long resumeThresholdPendingBytesPerThread;
+
+    // Number of bytes pending to be published from a single specific IO thread.
+    private static final FastThreadLocal<MutableLong> pendingBytesPerThread = new FastThreadLocal<MutableLong>() {
+        @Override
+        protected MutableLong initialValue() throws Exception {
+            return new MutableLong();
+        }
+    };
+
+    // A set of connections tied to the current thread
+    private static final FastThreadLocal<Set<ServerCnx>> cnxsPerThread = new FastThreadLocal<Set<ServerCnx>>() {
+        @Override
+        protected Set<ServerCnx> initialValue() throws Exception {
+            return Collections.newSetFromMap(new IdentityHashMap<>());

Review comment:
       Since `ServerCnx` doesn't have a `hashCode()` method I thought to be on the safe side to just make sure to use `==`  operator instead of hashing. Honestly, I'm not 100% sure that would make difference in practice.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] jiazhai commented on pull request #7406: Improved in max-pending-bytes mechanism for broker

Posted by GitBox <gi...@apache.org>.
jiazhai commented on pull request #7406:
URL: https://github.com/apache/pulsar/pull/7406#issuecomment-657945844


   @codelipenghui to help review this pr


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] galrose commented on pull request #7406: Improved in max-pending-bytes mechanism for broker

Posted by GitBox <gi...@apache.org>.
galrose commented on pull request #7406:
URL: https://github.com/apache/pulsar/pull/7406#issuecomment-829277505


   @merlimat thats great thank you


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] eolivelli commented on pull request #7406: Improved in max-pending-bytes mechanism for broker

Posted by GitBox <gi...@apache.org>.
eolivelli commented on pull request #7406:
URL: https://github.com/apache/pulsar/pull/7406#issuecomment-829090882


   @merlimat do you want to rebase this onto current master ?
   it looks like it is a very good improvement


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] ivankelly commented on pull request #7406: Improved in max-pending-bytes mechanism for broker

Posted by GitBox <gi...@apache.org>.
ivankelly commented on pull request #7406:
URL: https://github.com/apache/pulsar/pull/7406#issuecomment-652396552


   @codelipenghui A LongAdder would still cause contention on every entry, as to sum it has to view all cells.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] hangc0276 commented on pull request #7406: Improved in max-pending-bytes mechanism for broker

Posted by GitBox <gi...@apache.org>.
hangc0276 commented on pull request #7406:
URL: https://github.com/apache/pulsar/pull/7406#issuecomment-814973295


   Great job, it can solve the current broker OOM, would you please rebase master branch and resolve the conflicts? @merlimat 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] 315157973 commented on pull request #7406: Improved in max-pending-bytes mechanism for broker

Posted by GitBox <gi...@apache.org>.
315157973 commented on pull request #7406:
URL: https://github.com/apache/pulsar/pull/7406#issuecomment-814581405


   `completedSendOperation` is in orderExecutor, but `startSendOperation` does not  in . Will there be thread safety issues ? @merlimat 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] ivankelly closed pull request #7406: Improved in max-pending-bytes mechanism for broker

Posted by GitBox <gi...@apache.org>.
ivankelly closed pull request #7406:
URL: https://github.com/apache/pulsar/pull/7406


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] codelipenghui commented on pull request #7406: Improved in max-pending-bytes mechanism for broker

Posted by GitBox <gi...@apache.org>.
codelipenghui commented on pull request #7406:
URL: https://github.com/apache/pulsar/pull/7406#issuecomment-652412677


   > Frequently looping over all the producers (just to get to the connections) is just burning a lot of CPU.
   
   I agree with this point. I just want to say the pending buffer is sensitive to write throughput, especially on machines with less memory. If we split it into multiple parts, when there are fewer connections, the channel will enable auto-read, disable auto-read frequently, And it is possible that some parts are available pending more messages.
   
   > The LongAdder would not allow you to remove the check tasks. The LongAdder only difference, compared to an AtomicLong, is that it's optimized for writes (thread-local counters), but the read path is extra slow and meant to be used infrequently.
   
   The io threads count not much, will we add up to a few numbers each time will become a bottleneck? 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] merlimat commented on a change in pull request #7406: Improved in max-pending-bytes mechanism for broker

Posted by GitBox <gi...@apache.org>.
merlimat commented on a change in pull request #7406:
URL: https://github.com/apache/pulsar/pull/7406#discussion_r624575902



##########
File path: pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BrokerService.java
##########
@@ -269,18 +267,13 @@
     private Channel listenChannelTls;
 
     private boolean preciseTopicPublishRateLimitingEnable;
-    private final long maxMessagePublishBufferBytes;
-    private final long resumeProducerReadMessagePublishBufferBytes;
-    private volatile boolean reachMessagePublishBufferThreshold;
+    private final AtomicInteger pausedConnections = new AtomicInteger();

Review comment:
       Good point, changed that.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] 315157973 removed a comment on pull request #7406: Improved in max-pending-bytes mechanism for broker

Posted by GitBox <gi...@apache.org>.
315157973 removed a comment on pull request #7406:
URL: https://github.com/apache/pulsar/pull/7406#issuecomment-814581405


   `completedSendOperation` is in orderExecutor, but `startSendOperation` does not  in . Will there be thread safety issues ? @merlimat 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] merlimat commented on pull request #7406: Improved in max-pending-bytes mechanism for broker

Posted by GitBox <gi...@apache.org>.
merlimat commented on pull request #7406:
URL: https://github.com/apache/pulsar/pull/7406#issuecomment-829235143


   Yes, I’ll get this ready in the next few days. There are also some improvements I want to do to this PR. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] merlimat merged pull request #7406: Improved in max-pending-bytes mechanism for broker

Posted by GitBox <gi...@apache.org>.
merlimat merged pull request #7406:
URL: https://github.com/apache/pulsar/pull/7406


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] codelipenghui commented on pull request #7406: Improved in max-pending-bytes mechanism for broker

Posted by GitBox <gi...@apache.org>.
codelipenghui commented on pull request #7406:
URL: https://github.com/apache/pulsar/pull/7406#issuecomment-652454604


   > The io threads count not much, will we add up to a few numbers each time will become a bottleneck?
   > I'm not sure what you mean here.
   
   Sorry I didn't make it clear. I mean if we have 32 io thread, for each message we sum 32 numbers, is this will be a bottleneck of the broker? I just want to know the disadvantages of using Longadder.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] merlimat commented on pull request #7406: Improved in max-pending-bytes mechanism for broker

Posted by GitBox <gi...@apache.org>.
merlimat commented on pull request #7406:
URL: https://github.com/apache/pulsar/pull/7406#issuecomment-830426419


   In a subsequent PR, I'll be adding a bucket-token based mechanism to handle different usages across multiple threads. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] codelipenghui commented on pull request #7406: Improved in max-pending-bytes mechanism for broker

Posted by GitBox <gi...@apache.org>.
codelipenghui commented on pull request #7406:
URL: https://github.com/apache/pulsar/pull/7406#issuecomment-814606092


   @merlimat Could you please fix the conflicts so that we can advance this PR.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] codelipenghui commented on pull request #7406: Improved in max-pending-bytes mechanism for broker

Posted by GitBox <gi...@apache.org>.
codelipenghui commented on pull request #7406:
URL: https://github.com/apache/pulsar/pull/7406#issuecomment-721455136


   @merlimat Could you please rebase to the master branch? So that we can onboard this PR in 2.7.0


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org