Home Help Center

computation server (newbie question)

rlimbergerrlimberger Member rene limbergerOrganization: imageworksProject: netrender
hi, newbie here,

i am new to Ice and i have some fundamental questions. i want to implement a remote computation server along the following lines:

* several machines have a Ice server running
* when i client starts, it connects to one or more of the remote computation servers
* the client send the server some basic information about the compute job
* the client issues requests to the servers to "compute something"
* when the each server is done with it's work, it will send the computed data back to the client


i have looked at the Ice documentation (pdf) and got the HelloWorld to compile and run. however, HelloWorld seems to only work in one direction, the client sending a string to the server.

is there and example for sending data to and from the server?

thanks,
-r

Comments

  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    You could either use AMI, or you could use a callback. For an example of a callback see demo/Ice/callback. You might also want to look at the encoder series of articles I wrote for our newsletter connections (http://www.zeroc.com/newsletter) in issue 18 and 19.
Sign In or Register to comment.