Re: is there any micro-service library in D?

2019-06-25 Thread zoujiaqing via Digitalmars-d-learn

On Wednesday, 19 June 2019 at 08:29:15 UTC, dangbinghoo wrote:

hi there,

Does anyone know the micro-service oriented design library or 
framework in D?



thanks!

binghoo dang


You can try hunt-service:

hunt-service is distributed RPC framework for DLang based on gRPC 
and neton.


https://github.com/huntlabs/hunt-service


Re: is there any micro-service library in D?

2019-06-19 Thread dangbinghoo via Digitalmars-d-learn

On Wednesday, 19 June 2019 at 11:19:17 UTC, Marco de Wild wrote:

On Wednesday, 19 June 2019 at 08:29:15 UTC, dangbinghoo wrote:

hi there,

Does anyone know the micro-service oriented design library or 
framework in D?



thanks!

binghoo dang


What do you need from such a library?

Some suggestions:

For networking, there is vibe.d[0] which provides both a client 
and a server REST (or web) interface. There is also 
GraphQL-D[1] that provides a server-side GraphQL interface that 
can be used by other services.


For modelling, there is Depend[2], which visualises 
dependencies.


[0] http://code.dlang.org/packages/vibe-d
[1] http://code.dlang.org/packages/graphqld
[2] http://code.dlang.org/packages/depend


thanks! I want to write a LoRaWAN NS server, and want all module 
is sit in like a independent service[1]. Or, more generally and 
big thing like java's OSGI.


thanks!

[1] : 
http://www.orocos.org/stable/documentation/rtt/v2.x/doc-xml/orocos-components-manual.html#idp3264320







Re: is there any micro-service library in D?

2019-06-19 Thread Marco de Wild via Digitalmars-d-learn

On Wednesday, 19 June 2019 at 08:29:15 UTC, dangbinghoo wrote:

hi there,

Does anyone know the micro-service oriented design library or 
framework in D?



thanks!

binghoo dang


What do you need from such a library?

Some suggestions:

For networking, there is vibe.d[0] which provides both a client 
and a server REST (or web) interface. There is also GraphQL-D[1] 
that provides a server-side GraphQL interface that can be used by 
other services.


For modelling, there is Depend[2], which visualises dependencies.

[0] http://code.dlang.org/packages/vibe-d
[1] http://code.dlang.org/packages/graphqld
[2] http://code.dlang.org/packages/depend