rewrite server with distributed-process-platform