public static void main(String[] args) throws ExecutionException, InterruptedException {
System.setProperty("galaxy.nodeId", Integer.toString(nodeId));
System.setProperty("galaxy.port", Integer.toString(7050 + nodeId));
System.setProperty("galaxy.slave_port", Integer.toString(8050 + nodeId));
Integer res = new Fiber<>(new BasicActor<SumRequest, Integer>(new MailboxConfig(10, Channels.OverflowPolicy.THROW)) {
protected Integer doRun() throws SuspendExecution, InterruptedException {
Server<SumRequest, Integer, SumRequest> gs;
while ((gs = (Server) ActorRegistry.getActor("myServer")) == null) {
System.out.println("waiting for myServer");
Strand.sleep(3000);