Skip to content

Cardano GraphQL 8.0.0

Compare
Choose a tag to compare
@LaurenceIO LaurenceIO released this 07 Feb 07:43
16f46c7

This major release separates the single cardano-graphql process into a http-server and background service, to separate the workload and support horizontal scaling of the external interface. It's tested against Cardano service dependency versions compatible with the upcoming protocol upgrade.

Compatible with:

⚠ BREAKING CHANGES

  • Dropped support for average aggregation fields.
  • Aligned GraphQL types to conform with database and Hasura string casts
  • api-cardano-db-hasura: separate DB and Hasura management tasks to new process

System Requirements

  • DB Sync system requirements
    • The system requirements for cardano-db-sync (with both db-sync and the node running on the same machine are:
      • Any of the big well known Linux distributions (eg, Debian, Ubuntu, RHEL, CentOS, Arch etc).
      • 24 Gigabytes of RAM.
      • 4 CPU cores.
      • 80 Gigabytes or more of disk storage (preferably SSD which are 2-5 times faster than electro-mechanical disks).
    • The recommended configuration is to have the db-sync and the PostgreSQL server on the same machine. During syncing (getting historical data from the blockchain) there is a HUGE amount of data traffic between db-sync and the database. Traffic to a local database is significantly faster than traffic to a database on the LAN or remotely to another location.

The host machine will need at least 32 Gigabytes of RAM to run the full cardano-graphql stack.

Features

  • api-cardano-db-hasura: separate DB and Hasura management tasks to new process (8acb58f)
  • Improve uncaught exception logging (800a587)

Bug Fixes

  • api-cardano-db-hasura: remove VARCHAR limits from Asset table (a4092f8)
  • api-cardano-db-hasura: retry initialization of data fetcher (d5a794d)
  • server: avoid producing NaN in asset sync percentage calc, and clamp to max 100% (b48e804)
  • Aligned GraphQL types to conform with database and Hasura string casts (ad4e736)
  • Dropped support for average aggregation fields (3cd6445)

Sign off

Role Approval
Technical Lead ✔️
QA Engineer ✔️
Ops
Release Manager ✔️