onflow / flow

Flow is a fast, secure, and developer-friendly blockchain built to support the next generation of games, apps, and the digital assets that power them 🌊
https://onflow.org
Apache License 2.0
359 stars 163 forks source link

Flow API Routing Calls to DPS or BDS #946

Closed AliSMAmin closed 2 years ago

AliSMAmin commented 2 years ago

Context

Related to issue #942. This epic pertains to the Flow API Service, a part of the wider Flow Access Node Refactoring.

Proposed Solution

The Flow API Service hosts the present-day Access API as a standalone process, decoupling it from the current Access Node. The Flow API Service has the primary responsibility of handling and routing requests to the upstream components, either Data Provisioning Service (DPS) or Blockchain Data Service (BDS).

In the longer term this service will tackle traffic management and optimization concerns such as rate-limiting, caching, spam prevention, QoS, and possibly more. However, these extended capabilities remain outside the scope of this task.

Step Definitions

Definition of Done

AliSMAmin commented 2 years ago

DPS APIs are: https://github.com/optakt/flow-dps/blob/master/docs/dps-api.md

Protocol APIs are: https://github.com/onflow/flow-go/issues/2420

Execution Data APIs are: https://github.com/onflow/flow-go/issues/2421

franklywatson commented 2 years ago

Issue moved to onflow/flow-go #2450 via ZenHub