[Glass] Remote session allowed in Glass?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Glass] Remote session allowed in Glass?

Mariano Martinez Peck
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?

Thanks in advance, 

--
Mariano
http://marianopeck.wordpress.com

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] Remote session allowed in Glass?

Dale Henrichs-3



From: "Mariano Martinez Peck" <[hidden email]>
To: [hidden email]
Sent: Tuesday, December 3, 2013 1:04:36 PM
Subject: [Glass] Remote session allowed in Glass?

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?
This is 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?
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 ...

Finally, are both actions available under GLASS?

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
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] Remote session allowed in Glass?

Mariano Martinez Peck



On Thu, Dec 5, 2013 at 6:59 PM, Dale K. Henrichs <[hidden email]> wrote:



From: "Mariano Martinez Peck" <[hidden email]>
To: [hidden email]
Sent: Tuesday, December 3, 2013 1:04:36 PM
Subject: [Glass] Remote session allowed in Glass?


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?
This is 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?
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.


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)?
 
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 ...


OK. 
 

Finally, are both actions available under GLASS?

The tODE-style "object sharing" is available in GLASS. The GCI traversal buffers are not available under the GLASS license.



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
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] Remote session allowed in Glass?

Dale Henrichs-3



From: "Mariano Martinez Peck" <[hidden email]>
To: "Dale K. Henrichs" <[hidden email]>
Cc: [hidden email]
Sent: Friday, December 6, 2013 6:22:00 AM
Subject: Re: [Glass] Remote session allowed in Glass?




On Thu, Dec 5, 2013 at 6:59 PM, Dale K. Henrichs <[hidden email]> wrote:



From: "Mariano Martinez Peck" <[hidden email]>
To: [hidden email]
Sent: Tuesday, December 3, 2013 1:04:36 PM
Subject: [Glass] Remote session allowed in Glass?


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?
This is 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?
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.


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...
Right and we don't allow multiple stones to connect to a shared page cache

If the communication is GemStone-GemStone, cannot I use Passivator (I don't remember the exact name)?
Yes passivation can be used ....
 
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 ...


OK. 
 

Finally, are both actions available under GLASS?

The tODE-style "object sharing" is available in GLASS. The GCI traversal buffers are not available under the GLASS license.



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?
exactly:)


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass