Search code examples
jvmterracotta

How to implement something like Terracota?


How Terracotta knows that object is changed inside one JVM to propagate this change to another JVM? I.e. how can I code similar behavior?

I want to be able to watch changes in instances of some classes, without changing them at all.


Solution

  • It uses instrumentation. It's explained (in high level) in the terracotta wiki