Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个带有以下参数的 qpid 队列: bus-sync-queue --durable --file-size=48 --file-count=64
我想将1 000 000条消息放入此队列。每条消息只是一个12 个字符的字符串。(002000333222、002000342678 等)。我必须为 config --file-size= X --file-count= Y设置什么值才能将所有消息放入队列?
单个持久消息有相当大的开销,在您的情况下,一条消息将需要至少 128 字节的存储空间。您应该重新考虑您的设计,要么减少预期的未确认消息数量,要么使用不同的方法。