lower performance in publiching batches in the v7 version #1848
              
                
                  
                  
                    Answered
                  
                  by
                    lukebakken
                  
              
          
                  
                    
                      GhoufranGhazaly
                    
                  
                
                  asked this question in
                Q&A
              
            -
| I upgraded the Rabbitmq client version from 6.8 to 7.1.2 and I faced low performance related to publich batches, I followed Publishing Messages in Batches in this link https://www.rabbitmq.com/tutorials/tutorial-seven-dotnet | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            lukebakken
          
      
      
        Jun 23, 2025 
      
    
    Replies: 1 comment 4 replies
-
| @GhoufranGhazaly we cannot suggest anything without an executable way to reproduce. We do not guess in this community, and we won't guess how exactly you "publish in batches". | 
Beta Was this translation helpful? Give feedback.
                  
                    4 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
This is the problem:
As soon as your list of messages pending confirmations exceeds half the outstanding confirms count, the client library will rate-limit your publishes. This is to prevent your application from overwhelming the broker.
Please modify your code to publish in batches in exactly the same manner as the example. If you need assistance, provide a GitHub repository with code I can clone, compile, and run. I can then more easily assist you.