On Fri, 30 May 2014 19:07:52 GMT, Tavi wrote:

As I understand, right now vibe.d can host REST based services (JSON). But it would be awesome to be able to expose and consume Thrift Services too:

  • 'non-blocking' (fiber based)
  • support SSL (so you can use it for client-server RPC over internet)
  • multiplexing (configured through routing)

Do you think would be feasible?
Is it something like this planed or in the works?

Thanks

What I know is that David Nadlinger made a D port of Thrift some years ago (https://github.com/apache/thrift/tree/master/lib/d). There is also a mirror that provides a DUB package. I'm unfortunately not familiar with the Thrift API, but since it's (also) based on libevent, I suspect that it should be relatively easy to use it together with vibe.d seamlessly.