Hi,
Say I have 2 gemstone runnings (whether they are in the same machine or not), I've been told that from one of the gemstone, say A, I can log/open a session in a gemstone B.
So first, is this correct? If true, I wonder, if I can get objects from B and store them in A. Say that form A I connect to B, and I get some objects..can they be brought to A and stored there?
Finally, are both actions available under GLASS? _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
From: "Mariano Martinez Peck" <[hidden email]>This is correct. You could use something like STON over the wire to communicate objects between stones (similar to techniques I use with tODE and Pharo), but this techique is pretty limited. In theory you could use the GCI traversal buffers to give you more efficient transmission of object graphs over the wire, but lots more complication at the client level in managing the objects. You have to keep track of the oops of the objects from the foreign stone, so things can get complicated pretty fast ... In general this largely unexplored territory, so unless you really need to go this route I'd look real closely at other options ...
The tODE-style "object sharing" is available in GLASS. The GCI traversal buffers are not available under the GLASS license. Dale _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
On Thu, Dec 5, 2013 at 6:59 PM, Dale K. Henrichs <[hidden email]> wrote:
OK... I was so naive... I thought GemStone could move the objects over the wire automatically. Why I thought that? Because if you have a remote node where you have other gems running and a share page cache etc...you move things over the wire to the stone node... but ... maybe at this point the swapping unit is pages, not objects graphs...
If the communication is GemStone-GemStone, cannot I use Passivator (I don't remember the exact name)?
OK.
Ok...so..just to confirm...GLASS license allows me to take GemStone A and communicate with GemStone B, but it is my task to know how to pass the objects over the wire. Right?
Mariano http://marianopeck.wordpress.com _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
From: "Mariano Martinez Peck" <[hidden email]>Right and we don't allow multiple stones to connect to a shared page cache Yes passivation can be used .... exactly:) _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Free forum by Nabble | Edit this page |