multi tenant - Hazelcast data isolation ("Memory Regions") -


we building multi tenant application has restrictions on regions/countries data persisted.

the application based on microsoft .net microservice architecture have shared domains, although have separate dbs @ lower levels each city separate db. cannot persist data of 1 country in country's data center. hazelcast used distributed cache. not find direct ways configure data isolation ex. "memory regions" in apache ignite. have "memory regions" in hazelcast?

i need write behind data cache respective database. can segregate part/partition of cache specific database instance?

any appreciated. in advance.

i not directly replying question. imho, understanding when have data stored across different clusters / nodes, there still network call, despite having key formats data stored within same cluster / node.

based on experience, setup memorycache comes part of system.runtime.caching store data in every node , use redis pub-sub or azure service bus back-bone pub-sub.

in case,

  • any data updated in cache notified other instances of application via servicebus / redis message typically key.

  • upon receipt of key, each application clears out internal cache , gets data cached on next db access.

this method more commonly prevalent in multi-tenant applications , fail-safe , light weight. payloads / network transfers less , each appdomain has internal memory used cache support different regions via different instances of memorycache.

hope helps if no direct response available regarding hazelcast

also, may refer link details regarding hazelcast


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -