phpinnacle / ridge

Pure asynchronous PHP implementation of the AMQP 0-9-1 protocol.
MIT License
50 stars 13 forks source link

Advantages over bunny? #14

Open enumag opened 4 years ago

enumag commented 4 years ago

Bunny is based on ReactPHP, however since Amphp does support React promises, bunny should be able to work with Amphp. What are the reasons for this library then? You mentioned "some strange bugs" but that's way too abstract. What are those bugs? Are there any other advantages and/or differences from bunny?

zloyuser commented 4 years ago

@enumag, I answered you about bugs at https://github.com/amphp/stomp/issues/3.

There is no difference in features with bunnyphp, it almost the same, except native amphp backend. Ridge is enough stable now. It used at production over six month without issues.

Probably, ridge more fast that bunnyphp under amphp, and you can use https://github.com/phpinnacle/ext-buffer to speed up it even more.

enumag commented 4 years ago

Would you consider getting ext-buffer to pecl to make installation easier?

zloyuser commented 4 years ago

I will add extension to pecl in few weeks. Now I am focused at new version with more performant internal implementation based on memory pool allocator.