GithubHelp home page GithubHelp logo

HTTP/2 transport about libchan HOT 5 OPEN

docker avatar docker commented on June 9, 2024
HTTP/2 transport

from libchan.

Comments (5)

dmcgowan avatar dmcgowan commented on June 9, 2024

@mcollina brought this up to me earlier. I am for defining the HTTP/2 based protocol as soon as possible. As part of this transition, I would like to first take the step of separating out the existing spdystream stream implementation to a more abstract stream interface. This interface would then have implementations for spdystream (should work exactly as today) as well as HTTP/2. It would also allow us to explore using libchan on top of SSH or customized multiplexed implementations for file sockets and websockets.

from libchan.

dmcgowan avatar dmcgowan commented on June 9, 2024

Switched to help wanted and into 0.2.1 milestones. I will not be able to own this anytime soon so it might need to be pushed out. The 0.2.0 version will introduce the stream interface which http/2 will need to implement. Implementing this feature should not involve deep changes to libchan, only adding a stream provider implementation.

from libchan.

pnasrat avatar pnasrat commented on June 9, 2024

Any interest in grpc or just http/2?

from libchan.

pnasrat avatar pnasrat commented on June 9, 2024

Active go development for http2 https://github.com/bradfitz/http2

from libchan.

dmcgowan avatar dmcgowan commented on June 9, 2024

The next version of libchan will have the underlying transport abstracted away using this interface https://github.com/dmcgowan/streams. The codec will also be behind an interface to support different codecs in the future. This is mostly to keep the role of libchan smaller, which is to expose a method for sending and receiving messages which can contain channels and byte streams (as any io.ReadWriteCloser). This basic functionality unlocks the potential for doing very powerful RPC on top of it, but the scope of libchan is not to define an RPC layer. Grpc appears to be a full RPC solution, I don't think it and libchan have any need for each other. It does look like a cool project though and would love a further explanation if you disagree.

from libchan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.