Replies: 10 comments 2 replies
-
Could you please provide a minimal set of code I can run in each language to observe what you report? Also, always let us know the following information when reporting an issue:
|
Beta Was this translation helpful? Give feedback.
-
I see you've also opened this issue - php-amqplib/php-amqplib#962 Please, we can't assist without a way to reproduce. What you're asking us to do now is write code and guess what you are doing. Since we're providing free support, we can't assist if you don't help us out a bit. Thanks for understanding. |
Beta Was this translation helpful? Give feedback.
-
Php code
Golang code
same payload used in both cases. |
Beta Was this translation helpful? Give feedback.
-
versions php amqp: 1.10.2 PHP 7.0.33-50+ubuntu20.04.1+deb.sury.org+1 (cli) (built: May 1 2021 11:50:22) ( NTS ) go version go1.13.4 darwin/amd64 (binary is cross compiled for linux) go amqp github.com/rabbitmq/amqp091-go v1.2.0 Rabbitmq 3.7.14 Erlang 21.3.3 OS Ubuntu 16.04.6 |
Beta Was this translation helpful? Give feedback.
-
For what it's worth, RabbitMQ 3.7.14 has been out of support for a while now. I will be testing using RabbitMQ 3.9.10 and Erlang 24.1.7m |
Beta Was this translation helpful? Give feedback.
-
I will convert this issue to a GitHub discussion. Currently GitHub will automatically close and lock the issue even though your question will be transferred and responded to elsewhere. This is to let you know that we do not intend to ignore this but this is how the current GitHub conversion mechanism makes it seem for the users :( |
Beta Was this translation helpful? Give feedback.
-
Whether a message is stored in the queue index or message store depends on its size. Message considered small (< 4096 bytes by default) are embedded into the index. |
Beta Was this translation helpful? Give feedback.
-
The code above follows two poor practices:
|
Beta Was this translation helpful? Give feedback.
-
Below is the payload captured using tcpdump
I still do not understand why this payload takes up 3.8 GB of data for 4300 messages. 1.4 KB x 4300 messages should be around 6 MB |
Beta Was this translation helpful? Give feedback.
-
This was completely a user side code issue. The messages were being sent in a loop and a bug caused the payload being appended in the loop which led to high payload and subsequent high disk writes. Apologies for raising an invalid issue. |
Beta Was this translation helpful? Give feedback.
-
Hi,
When writing persistent messages using this library, the messages are being written to "queues" folder but while using php amqp library, it is being written to "msg_store_persistent" folder. Where is this configuration being set? This is not an issue with the library but I need help to figure this out, thanks.
Beta Was this translation helpful? Give feedback.
All reactions