Re: anyone using msgpackrpc-d ? it's currently broken and doesn't seem maintained

2017-06-15 Thread Poyeyo via Digitalmars-d

On Monday, 12 June 2017 at 18:12:38 UTC, Timothee Cour wrote:
any help on this would be most welcome: 
https://github.com/msgpack-rpc/msgpack-rpc-d/issues/16


Unfortunately I find the RPC support in D lacking. Having a 
good RPC integration for D is key for production use of D where 
one wants to integrate with other existing services (that could 
be written in other languages for eg)


An alternative, and quite fast in C++ according to one of the 
answers here, is Cap'n'proto.


There is a D implementation here:

https://github.com/ThomasBrixLarsen/capnproto-dlang

Regards,


Re: anyone using msgpackrpc-d ? it's currently broken and doesn't seem maintained

2017-06-15 Thread lobo via Digitalmars-d

On Thursday, 15 June 2017 at 04:14:22 UTC, Timothee Cour wrote:

Msgpack rpc with vibe.d works. We used it.


you mean with msgpackrpc-d? If so, it works, until you run into 
https://github.com/msgpack-rpc/msgpack-rpc-d/issues/16 (when 
server sends >= 4090 bytes, client hangs forever).



we switched towards http + asdf


not sure what asdf is?




Probably this: https://github.com/tamediadigital/asdf


Re: anyone using msgpackrpc-d ? it's currently broken and doesn't seem maintained

2017-06-15 Thread Wulfklaue via Digitalmars-d

On Thursday, 15 June 2017 at 04:14:22 UTC, Timothee Cour wrote:

not sure what asdf is?


I assume its this.

https://en.wikipedia.org/wiki/Advanced_Scientific_Data_Format

A file format with a YAML header followed by binary or ascii 
data. Human readable in design but still has binary/ascii data.


Technically its just a block based binary file format but they 
replaced the header with a human readable header, instead of a 
binary header.


Re: anyone using msgpackrpc-d ? it's currently broken and doesn't seem maintained

2017-06-14 Thread Timothee Cour via Digitalmars-d
> Msgpack rpc with vibe.d works. We used it.

you mean with msgpackrpc-d? If so, it works, until you run into
https://github.com/msgpack-rpc/msgpack-rpc-d/issues/16 (when server
sends >= 4090 bytes, client hangs forever).

> we switched towards http + asdf

not sure what asdf is?





On Wed, Jun 14, 2017 at 4:42 PM, David Nadlinger via Digitalmars-d
 wrote:
> On Wednesday, 14 June 2017 at 19:55:49 UTC, Yawniek wrote:
>>
>> Msgpack rpc with vibe.d works. We used it.
>> Its extremely fast, youll never get that speed with thrift.
>
>
> I don't think Thrift is fundamentally much different in performance than
> MessagePack, see e.g. https://github.com/thekvs/cpp-serializers. Do you have
> data to suggest otherwise? (I of course originally wrote Thrift/D, but that
> was long enough ago that I like to think I'm not particularly biased either
> way.)
>
> As for the performance of the RPC server, I'd think that just hooking vibe.d
> sockets into Thrift should give you similar performance to
> msgpack-rpc/vibe.d.
>
>  — David



Re: anyone using msgpackrpc-d ? it's currently broken and doesn't seem maintained

2017-06-14 Thread David Nadlinger via Digitalmars-d

On Wednesday, 14 June 2017 at 19:55:49 UTC, Yawniek wrote:

Msgpack rpc with vibe.d works. We used it.
Its extremely fast, youll never get that speed with thrift.


I don't think Thrift is fundamentally much different in 
performance than MessagePack, see e.g. 
https://github.com/thekvs/cpp-serializers. Do you have data to 
suggest otherwise? (I of course originally wrote Thrift/D, but 
that was long enough ago that I like to think I'm not 
particularly biased either way.)


As for the performance of the RPC server, I'd think that just 
hooking vibe.d sockets into Thrift should give you similar 
performance to msgpack-rpc/vibe.d.


 — David


Re: anyone using msgpackrpc-d ? it's currently broken and doesn't seem maintained

2017-06-14 Thread Yawniek via Digitalmars-d

On Monday, 12 June 2017 at 18:12:38 UTC, Timothee Cour wrote:
any help on this would be most welcome: 
https://github.com/msgpack-rpc/msgpack-rpc-d/issues/16


Unfortunately I find the RPC support in D lacking. Having a 
good RPC integration for D is key for production use of D where 
one wants to integrate with other existing services (that could 
be written in other languages for eg)


Msgpack rpc with vibe.d works. We used it.
Its extremely fast, youll never get that speed with thrift. But 
also annoying, ghus we switched towards http + asdf


Re: anyone using msgpackrpc-d ? it's currently broken and doesn't seem maintained

2017-06-13 Thread Atila Neves via Digitalmars-d

On Monday, 12 June 2017 at 18:12:38 UTC, Timothee Cour wrote:
any help on this would be most welcome: 
https://github.com/msgpack-rpc/msgpack-rpc-d/issues/16


Unfortunately I find the RPC support in D lacking. Having a 
good RPC integration for D is key for production use of D where 
one wants to integrate with other existing services (that could 
be written in other languages for eg)


Thrift?

Atila


Re: anyone using msgpackrpc-d ? it's currently broken and doesn't seem maintained

2017-06-12 Thread Timothee Cour via Digitalmars-d
Thanks for the link; last answer was from 2014, and doesn't look like
the problem was close to being solved. Any help with how to address
this issue would be really appreciated!




On Mon, Jun 12, 2017 at 6:35 PM, Domain via Digitalmars-d
 wrote:
> On Monday, 12 June 2017 at 18:12:38 UTC, Timothee Cour wrote:
>>
>> any help on this would be most welcome:
>> https://github.com/msgpack-rpc/msgpack-rpc-d/issues/16
>>
>> Unfortunately I find the RPC support in D lacking. Having a good RPC
>> integration for D is key for production use of D where one wants to
>> integrate with other existing services (that could be written in other
>> languages for eg)
>
>
> http://forum.rejectedsoftware.com/groups/rejectedsoftware.vibed/thread/21312/


Re: anyone using msgpackrpc-d ? it's currently broken and doesn't seem maintained

2017-06-12 Thread Domain via Digitalmars-d

On Monday, 12 June 2017 at 18:12:38 UTC, Timothee Cour wrote:
any help on this would be most welcome: 
https://github.com/msgpack-rpc/msgpack-rpc-d/issues/16


Unfortunately I find the RPC support in D lacking. Having a 
good RPC integration for D is key for production use of D where 
one wants to integrate with other existing services (that could 
be written in other languages for eg)


http://forum.rejectedsoftware.com/groups/rejectedsoftware.vibed/thread/21312/


anyone using msgpackrpc-d ? it's currently broken and doesn't seem maintained

2017-06-12 Thread Timothee Cour via Digitalmars-d
any help on this would be most welcome:
https://github.com/msgpack-rpc/msgpack-rpc-d/issues/16

Unfortunately I find the RPC support in D lacking. Having a good RPC
integration for D is key for production use of D where one wants to
integrate with other existing services (that could be written in other
languages for eg)