Giter Site home page Giter Site logo

Comments (2)

Isaiah-Turner avatar Isaiah-Turner commented on June 8, 2024

We also will need to determine if we can create an airflow tasks that will export all ledger entries to BigQuery even if they are all in the same file, or if we will need to separate out changes by type/batch.

from stellar-etl.

Isaiah-Turner avatar Isaiah-Turner commented on June 8, 2024

DAG organization

  1. History archive DAG
    1. exports ledgers, txs, ops
    2. Load exported files into Google Cloud Storage
    3. Load GCS files into BigQuery (append new rows)
  2. Long Running Core DAG
    1. Exports accounts, trustlines, offers
    2. All in single command; long running stellar-core instance exports incrementally
  3. Changes Export DAG
    1. File sensors look at the location where ledger entry changes are exported in batches
    2. As new files are created, they are uploaded to BigQuery and deleted from local storage
    3. Files are used up update BigQuery tables (can create new rows, update existing rows, or delete rows)
  4. Catchup DAG
    1. Exports accounts, Trustlines, offers
    2. Everything in separate commands; uses bucket list to catchup

from stellar-etl.

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.