Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

Durable Notifications CPU spike

Hi,

I recently enabled Durable Notifications and saw some CPU spikes leading to PUs becoming unresponsive and then being restarted.

I enabled durable notifications by calling .durable(true) on the SimpleNotifyContainerConfigurer when creating a NotifyContainer.

How much of a performance hit can Durable Notifications cause? How many extra resources would be required? I can't see any guidance in the docs around this.

Thanks, John.

asked 2017-08-24 04:43:37 -0600

jmg gravatar image

updated 2017-08-24 04:49:49 -0600

edit retag flag offensive close merge delete

Comments

This was on 10.2.0

jmg gravatar imagejmg ( 2017-08-24 05:23:45 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

Hi, For durable notify container we use replication, each notify container client need its own channel, the same as done for mirror target. If there are large amount of durable notify container per client we indeed expects higher cpu and memory consumption, in order to avoid it you can try to use the event session api and use same session to all listeners of same client as explained in:https://docs.gigaspaces.com/xap/10.2/dev-java/session-based-messaging-api.html We intend to do multiplex automatically for durable notification in future release.

Regards, Ester

answered 2017-08-27 07:50:54 -0600

Ester gravatar image
edit flag offensive delete link more

Comments

Thanks very much for the response. I'll investigate the EventSession approach.

jmg gravatar imagejmg ( 2017-08-28 05:03:04 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-08-24 04:43:37 -0600

Seen: 1,824 times

Last updated: Aug 27