majek / puka

Puka - the opinionated RabbitMQ client
https://github.com/majek/puka
Other
182 stars 34 forks source link

Performance problem with pubacks #12

Closed majek closed 12 years ago

majek commented 12 years ago

There is a square complexity for pubacks as noticed by Christos Stavrakakis :

https://github.com/majek/puka/blob/master/puka/machine.py#L147-148

cstavr commented 12 years ago

My latest commit is a first step in reducing this complexity.

However, by adding a simple print statement in the _pt_basic_ack function, I see that there is a big moment in which no acknowledges are delivered. This does not happen if you send messages to an empty exchanges(without any bind).

Have you any clue about this ? Maybe it is a problem of the broker ?

majek commented 12 years ago

Closing, fixed in #13