dubbo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] wj1369884616 commented on issue #2328: [BUG]ActiveLimitFilter 在消费者并发调用时不能真正限制并发数if (active >= max)与 RpcStatus.beginCount(url, methodName);操作不是原子的
Date Fri, 07 Sep 2018 06:39:51 GMT
wj1369884616 commented on issue #2328: [BUG]ActiveLimitFilter 在消费者并发调用时不能真正限制并发数if
(active >= max)与 RpcStatus.beginCount(url, methodName);操作不是原子的
URL: https://github.com/apache/incubator-dubbo/issues/2328#issuecomment-419338810
 
 
   @ningyu1 @diecui1202 Using the semaphore, the thread will not block when the number of
threads is less than  or equal to the maximum number of threads, so I think the performance
is better.
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Mime
View raw message