ActiveMQ在不同操作系统中的性能 [英] ActiveMQ performance in different Operating Systems
问题描述
我在某些操作系统中测试了activeMQ JMSProducer。结果如下:
I have tested activeMQ JMSProducer in some operating systems. The results are as follows:
AIX - Persistent - around 50 messages per second
Solaris - Persistent - around 60 messages per second
Linux - Persistent - around 500 messages per second
-
这是正常的行为,因为在Linux中,速度要快得多吗?
ActiveMQ性能
文档仅基于Linux。
Is that normal behaviour because in Linux, it is much much faster?
ActiveMQ Performance
document is only based on Linux.
而且,慢速KahaDB访问
是否会降低activeMQ性能?
And, does Slow KahaDB access
slow down activeMQ performance?
谢谢。
推荐答案
通过持久连接你高度依赖于硬件的性能以及操作系统如何提交写入磁盘。例如,如果在磁盘上启用写入缓存,则可能足以解释差异。如果您使用SSD,我认为无论操作系统如何,性能至少要高出10倍。
With persisted connections you are highly dependant on the performance of your hardware and how the OS will commit write to disk. If you enable the write cache on your disk for example, this could be enough to explain the difference. If you used an SSD, I would expect performance to be at least 10x higher, regardless of the OS.
这篇关于ActiveMQ在不同操作系统中的性能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!