activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clebert Suconic <>
Subject Re: why AvtiveMq is slowly than Kafka?
Date Wed, 07 Jun 2017 16:14:43 GMT
I think you are confusing memory cache with paging on the message system.

Messages are kept in the memory for fast delivery unless you page then.

The message broker can be configured to start writing messages on disk for
later reading.

In a sense paging becomes like Kafka partition when paging kicks in.  (I'm
not trying to make comparisons.  Saying that just for educational purposes

So if you plan no consumers.  Configure paging on the address settings.
Look at he manual for paging.

On Wed, Jun 7, 2017 at 11:24 AM wangqinghuan <> wrote:

> I understand that mmap  against  page cache , os helps swap  page between
> memory and disk.So less memory will be used by jvm.
>  why artemis maintains  amounts of msgs in jvm space and needs to enable
> paging to page messages into and out jvm  memory?
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at
Clebert Suconic

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message