Thanks for the pointer Martin, I was able to implement necessary cluster wide caches via wicketstuff-datastore-hazelcast
I have couple of questions: 1) wicketstuff-datastore seems to provide the way to store pages accross the cluster, can it also be used to sync sessions? 2) I would like to send websocket messages to all cluster nodes, the only way I found to implement this is to create Hazelcast ITopic [1], create message listeners and broadcast WS messages via this topic to all cluster nodes. Maybe there is any simpler way to perform this? [1] http://docs.hazelcast.org/docs/3.8/javadoc/com/hazelcast/core/ITopic.html On Sun, Jul 30, 2017 at 12:11 AM, Maxim Solodovnik <solomax...@gmail.com> wrote: > It seems I got the idea > Will try to implement, > Sorry for the noise > > On Sat, Jul 29, 2017 at 9:20 PM, Maxim Solodovnik <solomax...@gmail.com> > wrote: >> Hello Martin, >> >> Just have checked the code ... >> (org.wicketstuff.datastores.common.app.BaseDataStoreApplication and other >> tests) >> It's not very clear how it can store arbitrary data (not session based) >> Maybe you can provide tiny example? >> >> On Sat, Jul 29, 2017 at 9:00 PM, Maxim Solodovnik <solomax...@gmail.com> >> wrote: >>> >>> Thanks a lot Martin! >>> >>> This is the answer I was looking for :) >>> >>> On Sat, Jul 29, 2017 at 3:46 AM, Martin Grigorov <mgrigo...@apache.org> >>> wrote: >>>> >>>> Hi Maxim, >>>> >>>> All of the datastores at >>>> https://github.com/wicketstuff/core/tree/master/datastores-parent support >>>> this. >>>> https://github.com/wicketstuff/core/wiki/DataStores >>>> >>>> They are alternatives of DiskDataStore but you can use them as >>>> inspiration >>>> for anything you need. >>>> >>>> Martin Grigorov >>>> Wicket Training and Consulting >>>> https://twitter.com/mtgrigorov >>>> >>>> On Fri, Jul 28, 2017 at 7:49 PM, Maxim Solodovnik <solomax...@gmail.com> >>>> wrote: >>>> >>>> > Hello All, >>>> > >>>> > I'm trying to set up my first cluster on Tomcat. >>>> > I need to have application wide key-value storage <string, object> >>>> > which is >>>> > cluster aware. >>>> > Is this possible? Maybe someone already did something like this? >>>> > >>>> > WBR, Maxim >>>> > (from mobile, sorry for the typos) >>>> > >>> >>> >>> >>> >>> -- >>> WBR >>> Maxim aka solomax >> >> >> >> >> -- >> WBR >> Maxim aka solomax > > > > -- > WBR > Maxim aka solomax -- WBR Maxim aka solomax --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org