java - Choosing Hazelcast features -


i have task (i describe bit later) , far understand, hazelcast best choice it. has many features , usages, can't understand choose.

actually task is:
have java server app , java server app b. have several java servers, of them holding app instance, of them holding b instance, holding both.

i need store 1 map between servers. both , b can put in map, , b can read map key.

so think need distributed map, cant understand other features need? backup configuration? need distributed query b lookup key? need "hazelcast client"?

hazelcast great tool. agree can daunting see need, it's simpler think :)

you first need run 1 or more hazelcast nodes grid running (recommend 2 or more give redundancy).

it's if server a/b have embedded hazelcast nodes, or if run hazelcast grid externally server a/b , use hazelcastclient talk it.

you're best placed evaluate decision. it's easier start embedding hazelcast grid node server a/b. if find doesn't work you, run separate hazelcast grid , switch using hazelcastclient in server a/b.

you need configure ports grid run on, common configuration localhost:5701, , incremental ports here (5702, 5703, etc).

to distribute data, dead easy - configure hazelcast map, give name, , set backup count (a value of 1 fine).

i can't see need distributed query here, since imap<k,v> should give access data need.

does help? have further specific questions?

the hazelcast documentation rather , there active user community.

good luck!


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -