On Fri, 12 Aug 2016 14:24:21 GMT, Minas Mina wrote:

I would like to replace my existing server, which is written in Java, with one in D.
The reason is that Java uses a lot of memory which forces me to pay more / month than I would if used D.

My server is currently monolithic, but I would like to use micro services.

Can micro services be implemented using vibe.d?
If yes, what is a starting point?

Thanks.

I'm usually doing something in that direction (not all of the services are "micro") using the REST interface generator. This allows me to seamlessly switch between having two services in the same process, using normal function calls to invoke them, and having them in separate processes, using HTTP calls for invocation.

HTTP/REST works well for my purposes, but if you need something with less protocol overhead, there is also a MessagePack RPC implementation on code.dlang.org.