[Glass] Remote session allowed in Glass?

Dale K. Henrichs dale.henrichs at gemtalksystems.com
Thu Dec 5 13:59:40 PST 2013


----- Original Message -----

| From: "Mariano Martinez Peck" <marianopeck at gmail.com>
| To: glass at lists.gemtalksystems.com
| 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 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20131205/01b8186a/attachment-0001.html>


More information about the Glass mailing list