V
V
vlad_molchanov2016-03-25 23:08:36
linux
vlad_molchanov, 2016-03-25 23:08:36

What filesystem to choose for activemq + persistent message?

Hello!
We decided to load test the application, and were very upset by the performance of activemq: only a few hundred messages per second. Googled it, it turned out that the matter was in the speed of synchronized writing to the hard disk, I used the built-in DiskBenchmark tool for testing, it goes directly with activemq.
I did tests on a working machine under Ubuntu - only 20 msg / s
On a laptop under Windows 8 - 380 msg / s on the railway and 1200 msg / s on the SSD.
The results are shown for a case with synchronization after each write (fsync)
As I understand it, the file system plays some role here. Tell me which one you can use, or where to start reading, where it is more or less described how it works and how to set it up.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DuD, 2016-03-27
@DuD

To begin with, stop syncing after each message if you have thousands or hundreds per second.
Determine and agree (if required) an acceptable level of message loss. Those. if the server will be pulled on a food what losses are admissible.
I think at least once 1000 messages are enough to synchronize. But it all depends on the project of course. It's just that often pulling the sync on a regular railway or even a home ssd is just for the sake of ruining them.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question