Skip to content
Our Procedure Calls
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
lib/our_pc
test
CODE_OF_CONDUCT.md
LICENSE
README.md
Rakefile
hello_world.rb
hello_world_server.rb

README.md

OurPC

OurPC is an experimental implementation of a gRPC client and server.

OurPC uses nghttp2, Ruby IO objects, and Protobuf as the building blocks for implementing a gRPC server and client. The core of OurPC simply sets the right headers (including the Protobuf buffer prefix), and delegates to either the server code or the client code depending on the context.

Features

  • Core implementation is pure Ruby

  • Uses plain old Ruby IO objects, so server/client side timeouts can be provided to various IO calls

  • MIT licensed

Limitations

  • Doesn't support streaming yet.

  • OurPC doesn't have many tests (it's an experiment!)

Fun times!

Try this! In one terminal:

$ rake server

In a different terminal:

$ rake client

Neat!

You can’t perform that action at this time.