Se ha denunciado esta presentación.
Utilizamos tu perfil de LinkedIn y tus datos de actividad para personalizar los anuncios y mostrarte publicidad más relevante. Puedes cambiar tus preferencias de publicidad en cualquier momento.

Bitquery GraphQL for Analytics on ClickHouse

265 visualizaciones

Publicado el

SF Bay Area ClickHouse Meetup talk on integrating GraphQL with ClickHouse by Aleksey Studnev of Bitquery.io

Publicado en: Software
  • Sé el primero en comentar

  • Sé el primero en recomendar esto

Bitquery GraphQL for Analytics on ClickHouse

  1. 1. https://bitquery.io Bitquery GraphQL for Analytics Aleksey Studnev CTO, Founder
  2. 2. Agenda Problem Formulation Our Solution as GraphQL toolset Demo of GraphQL toolset Look Under the Hood Analysis and Future Plans bitquery.io
  3. 3. We Indexed Blockchain bitquery.io Blockchain Network ApplicationsClickhouse ETL API •FREE PUBLIC TIER •SaaS ( SHARED ) SUBSCRIPTION TIER •DEDICATED SYSTEM ON-PREMISES
  4. 4. API Layer Problems• Many Schemas, Tables, Clusters -> one API ➡ 40 blockchains ➡ 20 schemes ➡ 100 base tables + aggregates • One API -> many clients, diversified requirements ➡ Easy to use HTTP / RPC / REST API ➡ Different requirements to fields / data joins ➡ SaaS model • One API -> Many demands ➡ Flexible Data Parsing ➡ Optimisation / Aggregates ➡ Dictionaries bitquery.io Do not make me think!
  5. 5. Approaches That We Used / Considered • SQL ( Superset, Redash ) • HTTP JSON API • XMLA / MDX • GraphQL EASY TO USE FLEXIBILITY / FEATURES OUR DREAM
  6. 6. Graph QL Features • It is JSON query language • Schema defines «What you can query» • You query only «What you need» • Also Supports updates and subscriptions • AFAIK, not used for OLAP ;) bitquery.io
  7. 7. DEMO bitquery.io
  8. 8. CUBE NAME DATASET NAME DIMENSIONSDIMENSIONSDIMENSIONS METRICSMETRICSMETRICS FILTERS
  9. 9. DIMENSION bitquery.io DIMENSION ATTRIBUTE FUNCTION
  10. 10. METRIC bitquery.io METRIC ALIAS FUNCTION
  11. 11. UNDER THE HOOD bitquery.io
  12. 12. Graph QL for Analytics • Easy to use toolset to build analytic queries • Off-the-shelve tools for GraphQL editing, schema composition, observablehq, Postman, etc.. • Basis for server-less analytical applications • API - ready solution for SaaS clients bitquery.io
  13. 13. Projects and Plans • Build a community • «FlexiGraph»: Schema = func ( Schema,… ) • Complexity Estimator • Resources Measurement • GraphQL IDE and Dashboard Builder bitquery.io
  14. 14. https://bitquery.io Thank You! hello@bitquery.io

×