Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/306.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java ActiveMQ在不同操作系统中的性能_Java_Jms_Activemq_Message Queue - Fatal编程技术网

Java ActiveMQ在不同操作系统中的性能

Java ActiveMQ在不同操作系统中的性能,java,jms,activemq,message-queue,Java,Jms,Activemq,Message Queue,我已经在一些操作系统中测试了activeMQ JMSProducer。结果如下: AIX - Persistent - around 50 messages per second Solaris - Persistent - around 60 messages per second Linux - Persistent - around 500 messages per second 这是正常的行为,因为在Linux中,它要快得多吗? ActiveMQ性能文档仅基于Linux

我已经在一些操作系统中测试了activeMQ JMSProducer。结果如下:

AIX     - Persistent - around  50 messages per second
Solaris - Persistent - around  60 messages per second
Linux   - Persistent - around 500 messages per second
这是正常的行为,因为在Linux中,它要快得多吗? ActiveMQ性能文档仅基于Linux

而且,访问速度慢会降低activeMQ的性能吗


谢谢。

对于持久连接,您高度依赖于硬件的性能以及操作系统将如何向磁盘提交写操作。例如,如果在磁盘上启用写缓存,这就足以解释这种差异。如果您使用SSD,我希望性能至少高出10倍,而不管操作系统是什么。

Hi@Peter Lawrey,访问速度慢会影响activeMQ发送或接收消息的性能吗?我还没有尝试过activeMQ使用不同的DBs。我刚刚使用了默认值,它符合我的需要。