why AvtiveMq is slowly than Kafka?

2017-06-02 Thread wangqinghuan
I don't understand why activemq is so slowly. I read some design document about KafKa. In Kafka,data is immediately written to a persistence log on the filesystem without flushing to disk. In effect this just means that it is transferred into the kernel's pagecache. Does activemq have this style of

Re: why AvtiveMq is slowly than Kafka?

2017-06-03 Thread wangqinghuan
hi clebertsuconic: i read the blog https://activemq.apache.org/artemis/docs/2.1.0/persistence.html By default Apache ActiveMQ Artemis will try and use an AIO journal.But it seems like that Mmap is also a good implemention.which one gives more performance? -- View this message in context: http:

The benifit for multiple Queues?

2017-06-04 Thread wangqinghuan
Artemis has serveral address models. In contrast with Point-to-Point Messaging , what's the benifits for Point-to-Point Address multiple Queues .Why defining more than one queue on an address? -- View this message in context: http://activemq.2283324.n4.nabble.com/The-benifit-for-multiple-Queues

Can fsync() ensure data is flushed to disk?

2017-06-06 Thread wangqinghuan
hi http://activemq.apache.org/artemis/docs/2.1.0/persistence.html. This article tells me that even after syncing from the operating system there is no guarantee the data has actually made it to disk. we must disable disk cache to ensure data integrity . https://linux.die.net/man/2/fsync This tells

How to monitor artemis ?

2017-06-06 Thread wangqinghuan
I has installed artemis, but I couldn't monitor it in a web UI , like the ActiveMQWeb for ActiveMQ.Has web UI for artemis? -- View this message in context: http://activemq.2283324.n4.nabble.com/How-to-monitor-artemis-tp4727071.html Sent from the ActiveMQ - User mailing list archive at Nabble.c

Re: why AvtiveMq is slowly than Kafka?

2017-06-07 Thread wangqinghuan
@clebertsuconic I run the demo in document "fast_messaging_with_artemis". Just started, the producer takes less 2s to send 100k messages. But as the number of messages stored in journal file increasing (more than 1 millions in journal file). Producer takes more than 30s to send 100k messages.

Re: why AvtiveMq is slowly than Kafka?

2017-06-07 Thread wangqinghuan
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: http://active

when does ActiveMQ 6.x releases?

2017-07-24 Thread wangqinghuan
I have a project integrated with ActiveMQ5.9 client that interacts with ActiveMQ5.9 broker. As the increasement of data flow(over one thousand per second), ActiveMQ5.9 broker is not confident as previous(there are some "inactive channel" and "connection reset" exception in activemq.log). In

how is topic implemented?

2017-08-08 Thread wangqinghuan
Hi I have some puzzle about implementation of topic. When many subsribers subscribe a topic, they each one can receive a copy of message. How does activeMq implement topic? Does it maintain a temporary queue for every subscriber? If lots of subsribers, lots of queues are maintained in ActiveMQ br

Re: Re: how is topic implemented?

2017-08-08 Thread wangqinghuan
hi Justin I'm using ActiveMQ 5.9 broker. 1095193...@qq.com From: Justin Bertram [via ActiveMQ] Date: 2017-08-08 21:02 To: wangqinghuan Subject: Re: how is topic implemented? Are you talking about the ActiveMQ 5.x broker or ActiveMQ Artemis broker? Justin On Tue, Aug 8, 2017

Re: Re: how is topic implemented?

2017-08-09 Thread wangqinghuan
I just want to learn some internal design about ActiveMQ. I have just visited activemq site and surprisingly find the logo of activeMQ changes. Ha , the new logo is more colorful. 1095193...@qq.com From: Tim Bain [via ActiveMQ] Date: 2017-08-09 12:37 To: wangqinghuan Subject: Re: Re: how