communicating between host and VPS [message #7522] |
Mon, 16 October 2006 22:32 |
John Paul Walters
Messages: 10 Registered: October 2006
|
Junior Member |
|
|
I'm wondering if there's a preferred way to communicate between a host
and a VPS. For example, I'd like a VPS to occasionally communicate to
the host and request a checkpoint on its behalf. I suppose I could use
a named pipe or something, but was wondering if there's a better
mechanism that's typically used. Any thoughts?
thanks,
JP
|
|
|
Re: communicating between host and VPS [message #7559 is a reply to message #7522] |
Tue, 17 October 2006 13:27 |
dev
Messages: 1693 Registered: September 2005 Location: Moscow
|
Senior Member |
|
|
John,
AFAIK, it can be done via unix socket or FIFO,
since both are limited by the viewpoint of file system and
host always can see VE files.
It also can be done via TCP or UDP.
AFAICS, in your case you are going to send only a small piece of data,
so any of these communications should be good for you.
Thanks,
Kirill
> I'm wondering if there's a preferred way to communicate between a host
> and a VPS. For example, I'd like a VPS to occasionally communicate to
> the host and request a checkpoint on its behalf. I suppose I could use
> a named pipe or something, but was wondering if there's a better
> mechanism that's typically used. Any thoughts?
>
> thanks,
> JP
>
|
|
|
|
|
|
Re: communicating between host and VPS [message #7568 is a reply to message #7559] |
Tue, 17 October 2006 14:02 |
Grzegorz Kulewski
Messages: 2 Registered: October 2006
|
Junior Member |
|
|
Hi,
On Tue, 17 Oct 2006, Kirill Korotaev wrote:
> AFAIK, it can be done via unix socket or FIFO,
> since both are limited by the viewpoint of file system and
> host always can see VE files.
I want to clarify because I am also interested in something like this:
will UNIX sockets or FIFOs work between VE and VE0 and between one VE and
the other if and only if both sides see the node in the filesystem?
If so, is this design goal or something that works for now but could stop
working some day?
Thanks,
Grzegorz Kulewski
|
|
|