Sunday, May 1, 2011

Inter-Image communication in Smalltalk. Possible?

I have a graph-traversal problem that is beautifully and elegantly modeled in smalltalk, but it's too big (in terms of computation and storage) for one smalltalk image instance. So, I want to partition the problem across multiple instances.

My question is, is there any good way to send messages between smalltalk instances. Kind of like MPI, but for smalltalk.

I should mention that I'm on Squeak, but if there is some flavor of smalltalk with this feature, I can cope.

From stackoverflow
  • There is a project named Hydra underway, with a goal to make a Squeak multi-core capable. One of the main features of Hydra are also the inter-image communication channels.

    Some more information:

    Alex : Great! Thanks for the info. I guess I'll have to wait till its closer to done...
    Janko Mivšek : In the meantime try to make your own TCP/IP channels for communication. It is a bit hard to start, but later you can achieve quite a flexible communication.
  • Have a look at Remote Smalltalk.

  • Open Croquet is conceptually a bunch of Smalltalk images communicating with each other. Maybe it, and its Islands, might be a good fit?

0 comments:

Post a Comment