8000 ADR 102: RPC Companion architecture · Issue #592 · cometbft/cometbft · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ADR 102: RPC Companion architecture #592

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Tracked by #707
thanethomson opened this issue Mar 27, 2023 · 2 comments · Fixed by #658
Closed
Tracked by #707

ADR 102: RPC Companion architecture #592

thanethomson opened this issue Mar 27, 2023 · 2 comments · Fixed by #658
Assignees
Labels
P:integrator-experience Priority: Improve experience for integrators rpc
Milestone

Comments

@thanethomson
Copy link
Contributor
thanethomson commented Mar 27, 2023

As part of #574, we want to offer users a standalone proof-of-concept RPC service to serve as an example of a data companion. To this end, we want an ADR that captures:

  1. The overall architecture of our standalone RPC service (implemented as a data companion)
  2. Which of our RPC endpoints we'll be exposing as /v1
  3. The decision as to which database to use to facilitate (1). The best database here will depend on the data access patterns defined by (1).

Future efforts could possibly involve productionizing this to the point that it may be able to scale independently of a full node, possibly reducing the costs associated with providing an RPC as a service, but this work needs to be broken down in separate follow-up issues.

@thanethomson thanethomson added rpc P:integrator-experience Priority: Improve experience for integrators labels Mar 27, 2023
@thanethomson thanethomson changed the title ADR-101 RPC: Capture desired interface for /v1 of the standalone RPC server ADR-101: Standalone RPC architecture Mar 27, 2023
@andynog andynog moved this from Todo to In Progress in CometBFT 2023 Mar 27, 2023
@andynog andynog changed the title ADR-101: Standalone RPC architecture ADR-102: Standalone RPC architecture Mar 29, 2023
@andynog andynog added this to the 2023-Q2 milestone Mar 31, 2023
andynog added a commit that referenced this issue Mar 31, 2023
andynog added a commit that referenced this issue Mar 31, 2023
andynog added a commit that referenced this issue Apr 5, 2023
@andynog andynog changed the title ADR-102: Standalone RPC architecture ADR-102: RPC Companion architecture Apr 5, 2023
@thanethomson thanethomson changed the title ADR-102: RPC Companion architecture ADR 102: RPC Companion architecture Apr 13, 2023
@jmalicevic
Copy link
Contributor

I am wondering whether the access patterns will depend on the endpoints exposed? If we have a preliminary list, I could make sure to gather the info on access patterns during the storage investigation.

@andynog
Copy link
Contributor
andynog commented May 5, 2023

I've started adding information about the RPC endpoints that will be implemented. I've used a table format because I believe it's easier to understand. There's a lot more information to be added so it's a WIP.

For each endpoint, I have to dig in into the code to understand it a bit better to assess the complexities on implement them on the Data Companion side. I also plan to add more sections outlining on how things will work, e.g. translating queries to sql statements or return a response mapping the database records to a struct (or protobuf).

andynog added a commit that referenced this issue May 8, 2023
andynog added a commit that referenced this issue May 8, 2023
andynog added a commit that referenced this issue May 8, 2023
andynog added a commit that referenced this issue May 11, 2023
andynog added a commit that referenced this issue May 11, 2023
andynog added a commit that referenced this issue Jun 8, 2023
@andynog andynog modified the milestones: 2023-Q2, 2023-Q3 Jul 5, 2023
@thanethomson thanethomson modified the milestones: 2023-Q3, 2023-Q4 Jul 14, 2023
@adizere adizere modified the milestones: 2023-Q4, 2024-Q1 Jan 10, 2024
andynog added a commit that referenced this issue Mar 8, 2024
@adizere adizere added this to CometBFT Mar 25, 2024
@github-project-automation github-project-automation bot moved this to Todo in CometBFT Mar 25, 2024
@andynog andynog moved this from Todo to Done in CometBFT Mar 25, 2024
github-merge-queue bot pushed a commit that referenced this issue Mar 25, 2024
[Rendered](https://github.com/cometbft/cometbft/blob/andy/adr-102-standalone-rpc/docs/architecture/adr-102-rpc-companion.md)

closes: #592

This is a WIP document for the RPC Companion ADR

---------

Co-authored-by: Jasmina Malicevic <jasmina.dustinac@gmail.com>
Co-authored-by: Lasaro <lasaro@informal.systems>
Co-authored-by: Daniel <daniel.cason@informal.systems>
Co-authored-by: Sergio Mena <sergio@informal.systems>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P:integrator-experience Priority: Improve experience for integrators rpc
Projects
No open projects
Status: Done
Status: In Progress
Development

Successfully merging a pull request may close this issue.

4 participants
0