Thread overview
is there any micro-service library in D?
Jun 19, 2019
dangbinghoo
Jun 19, 2019
Marco de Wild
Jun 20, 2019
dangbinghoo
Jun 25, 2019
zoujiaqing
June 19, 2019
hi there,

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


thanks!
----
binghoo dang
June 19, 2019
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
June 20, 2019
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




June 25, 2019
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