question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Switch to gRPC API

See original GitHub issue

The HTTP REST API has too many issues, swap out the library with a .proto-typed gRPC implementation.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
wbobeirnecommented, Oct 27, 2018

Thanks for dropping in @Roasbeef! I did look at grpc-web, but I’m hesitant to use it due to the need for a proxy server. It’s already enough of a pain for users to setup lnd, I’d had to ask them to have to setup Envoy as well. While it could be an optional sort of thing, I’d then be stuck supporting both HTTP and gRPC libs, which sounds like a testing nightmare.

I think at the moment, I’m going to keep this on hold until the tech matures a little more. But if you think it’s easier than I’m making it out to be, let me know.

1reaction
wbobeirnecommented, Oct 29, 2018

I’ve had the good fortune of being able to talk to Alex this week. While I really like the look of his API, I want to make the onboarding process for the extension as easy as possible, and would hate to ask users to have to setup yet another server on the machine they’re hosting the node on. Going to try to limit myself to what LND (and C-Lightning, in the future) come with out-of-the-box.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to build a REST API with gRPC and get the best of two ...
Tutorial — gRPC gateway plugin. This tutorial has seven steps: Generate a gRPC service (.proto) from an OpenAPI description. Generate server-side support code ......
Read more >
Migrating APIs from REST to gRPC at WePay
How to migrate from REST to gRPC? · Requiring a minimal amount of rework. · Not changing the current build & deployment pipeline....
Read more >
gRPC overview | API Gateway Documentation - Google Cloud
API Gateway provides a mechanism for mapping HTTP requests to gRPC methods as part of service configuration. You can find out more about...
Read more >
Basics tutorial | Go - gRPC
Generate server and client code using the protocol buffer compiler. Use the Go gRPC API to write a simple client and server for...
Read more >
gRPC vs. REST: Getting Started With the Best API Protocol
Representational state transfer (REST) is a means of retrieving or manipulating a service's data. A REST API is generally built on the HTTP...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found