gridgain / gridgain-old

268 stars 85 forks source link

Active Object / Remote or Distributed Object Wrapper for Objects #49

Open sirinath opened 10 years ago

sirinath commented 10 years ago

1) Checking for affinity you need to write boilerplate code 2) Moving objects around from note to node would be time and bandwidth consuming

So it is possible to have an Active Object wrapper by specifying @GGActiveObject which put a wrapper around the objects so calls to it will be send a message to the object through affinityRun or other similar mechanism.

sirinath commented 10 years ago

You can implement Active Objects may be in a different way if needed but this is a must for distributed parallel processing so you do not get into synchronisation issues.

sirinath commented 10 years ago

E.g. https://github.com/epickrram/disruptor-proxy http://gpars.org/guide/guide/actors.html#actors_activeObjects http://doc.akka.io/docs/akka/snapshot/scala/typed-actors.html

sirinath commented 10 years ago

Also see http://en.wikipedia.org/wiki/Grand_Central_Dispatch

sirinath commented 10 years ago

Also Terracotta has this functionality.