Thread overview | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
June 03, 2019 gRPC / http2 | ||||
---|---|---|---|---|
| ||||
Hello, I'm trying to push D at work, but its really hard. We are going to split our monolothic to microservices, but D is lagging behind other languages on this domain... Why we still don't have a simple http2 server ? gRPC is becoming popular, all others languages already have support for it (rust, go, net core, java...). I know that we already have a basic gRPC support with hunt-grpc, but its not really updated / working well (client not working on window, server not working on docker). We need a package that just focus on http2 and gRPC. I will try to start something, but I will never be able to build a complete http2 server alone, its beyond my skills. |
June 03, 2019 Re: gRPC / http2 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Aldo Attachments:
| There is https://github.com/vibe-d/vibe-http but I dont know how long it will take to make it usable in production On Mon, Jun 3, 2019 at 2:35 PM Aldo via Digitalmars-d < digitalmars-d@puremagic.com> wrote: > Hello, > > I'm trying to push D at work, but its really hard. We are going to split our monolothic to microservices, but D is lagging behind other languages on this domain... > > Why we still don't have a simple http2 server ? > > gRPC is becoming popular, all others languages already have support for it (rust, go, net core, java...). I know that we already have a basic gRPC support with hunt-grpc, but its not really updated / working well (client not working on window, server not working on docker). > > We need a package that just focus on http2 and gRPC. > > I will try to start something, but I will never be able to build a complete http2 server alone, its beyond my skills. > |
June 03, 2019 Re: gRPC / http2 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Aldo | On Monday, 3 June 2019 at 12:31:37 UTC, Aldo wrote: > Hello, > > I'm trying to push D at work, but its really hard. We are going to split our monolothic to microservices, but D is lagging behind other languages on this domain... > > Why we still don't have a simple http2 server ? > > gRPC is becoming popular, all others languages already have support for it (rust, go, net core, java...). I know that we already have a basic gRPC support with hunt-grpc, but its not really updated / working well (client not working on window, server not working on docker). > > We need a package that just focus on http2 and gRPC. > > I will try to start something, but I will never be able to build a complete http2 server alone, its beyond my skills. HTTP2 support for vibe.d is being worked on e.g. here: https://github.com/vibe-d/vibe-http/pull/15 DConf presentation: http://dconf.org/2019/talks/galla.html |
June 03, 2019 Re: gRPC / http2 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Aldo | On 06/03 12:31, Aldo via Digitalmars-d wrote: > Hello, > > I'm trying to push D at work, but its really hard. We are going to split our monolothic to microservices, but D is lagging behind other languages on this domain... > > Why we still don't have a simple http2 server ? > > gRPC is becoming popular, all others languages already have support for it (rust, go, net core, java...). I know that we already have a basic gRPC support with hunt-grpc, but its not really updated / working well (client not working on window, server not working on docker). > > We need a package that just focus on http2 and gRPC. > > I will try to start something, but I will never be able to build a complete http2 server alone, its beyond my skills. I am currently working on a HTTP/2 webserver for Vibe.d (leftover from my SAoC project), it is almost complete and reviews / contributions are welcome. https://github.com/GallaFrancesco/vibe-http/tree/multiplexing_pull Last review needed: https://github.com/vibe-d/vibe-http/pull/15 gRPC support is missing from Vibe.d but I guess it would be a nice feature to implement. Have you considered adding an entry for it in https://github.com/dlang/projects ? |
June 03, 2019 Re: gRPC / http2 | ||||
---|---|---|---|---|
| ||||
On 06/03 02:46, Daniel Kozak via Digitalmars-d wrote:
> There is https://github.com/vibe-d/vibe-http
> but I dont know how long it will take to make it usable in production
>
It's going to take a while since the review process is pretty long and our time is quite limited, but we are making progress.
|
June 03, 2019 Re: gRPC / http2 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Aldo | On Monday, 3 June 2019 at 12:31:37 UTC, Aldo wrote: > Hello, > > I'm trying to push D at work, but its really hard. We are going to split our monolothic to microservices, but D is lagging behind other languages on this domain... > > Why we still don't have a simple http2 server ? > > gRPC is becoming popular, all others languages already have support for it (rust, go, net core, java...). I know that we already have a basic gRPC support with hunt-grpc, but its not really updated / working well (client not working on window, server not working on docker). > > We need a package that just focus on http2 and gRPC. > > I will try to start something, but I will never be able to build a complete http2 server alone, its beyond my skills. Hi, the grpc-dlang is already working properly! https://github.com/huntlabs/grpc-dlang gRPC for DLang used by hunt-http server, hunt-http is http 1.1 and http 2.0 server and client library. |
June 03, 2019 Re: gRPC / http2 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Aldo | On Monday, 3 June 2019 at 12:31:37 UTC, Aldo wrote: > Hello, > > I'm trying to push D at work, but its really hard. We are going to split our monolothic to microservices, but D is lagging behind other languages on this domain... > > Why we still don't have a simple http2 server ? > > gRPC is becoming popular, all others languages already have support for it (rust, go, net core, java...). I know that we already have a basic gRPC support with hunt-grpc, but its not really updated / working well (client not working on window, server not working on docker). > > We need a package that just focus on http2 and gRPC. > > I will try to start something, but I will never be able to build a complete http2 server alone, its beyond my skills. http library for DLang, support http 1.1 / http 2.0 / websocket server and client, support SSL / TLS channel( use openssl ): https://github.com/huntlabs/hunt-http |
June 03, 2019 Re: gRPC / http2 | ||||
---|---|---|---|---|
| ||||
Posted in reply to zoujiaqing | On Monday, 3 June 2019 at 13:35:21 UTC, zoujiaqing wrote:
> On Monday, 3 June 2019 at 12:31:37 UTC, Aldo wrote:
>> Hello,
>>
> http library for DLang, support http 1.1 / http 2.0 / websocket server and client, support SSL / TLS channel( use openssl ):
>
> https://github.com/huntlabs/hunt-http
Is there any docs for this package?
|
June 03, 2019 Re: gRPC / http2 | ||||
---|---|---|---|---|
| ||||
Posted in reply to zoujiaqing | Regarding HTTP/2: what parts of RFC 7540 do you currently implement? It would be nice to share ideas regarding those details which are only broadly described (e.g. HTTP/2 Stream prioritization).
On 06/03 01:35, zoujiaqing via Digitalmars-d wrote:
> On Monday, 3 June 2019 at 12:31:37 UTC, Aldo wrote:
> > Hello,
> >
> > I'm trying to push D at work, but its really hard. We are going to split our monolothic to microservices, but D is lagging behind other languages on this domain...
> >
> > Why we still don't have a simple http2 server ?
> >
> > gRPC is becoming popular, all others languages already have support for it (rust, go, net core, java...). I know that we already have a basic gRPC support with hunt-grpc, but its not really updated / working well (client not working on window, server not working on docker).
> >
> > We need a package that just focus on http2 and gRPC.
> >
> > I will try to start something, but I will never be able to build a complete http2 server alone, its beyond my skills.
>
> http library for DLang, support http 1.1 / http 2.0 / websocket server and client, support SSL / TLS channel( use openssl ):
>
> https://github.com/huntlabs/hunt-http
|
June 03, 2019 Re: gRPC / http2 | ||||
---|---|---|---|---|
| ||||
Posted in reply to ikod | On Monday, 3 June 2019 at 14:25:47 UTC, ikod wrote: > On Monday, 3 June 2019 at 13:35:21 UTC, zoujiaqing wrote: >> On Monday, 3 June 2019 at 12:31:37 UTC, Aldo wrote: >>> Hello, >>> >> http library for DLang, support http 1.1 / http 2.0 / websocket server and client, support SSL / TLS channel( use openssl ): >> >> https://github.com/huntlabs/hunt-http > > Is there any docs for this package? About docs you can see more examples for http 2.0, is here: https://github.com/huntlabs/hunt-http/tree/master/examples/H2C-Demo/source We will add some document in next month. |
Copyright © 1999-2021 by the D Language Foundation