Home / Companies / QuestDB / Blog / Post Details
Content Deep Dive

Streaming on-chain Ethereum data to QuestDB

Blog post from QuestDB

Post Details
Company
Date Published
Author
Yitaek Hwang
Word Count
952
Language
English
Hacker News Points
-
Summary

QuestDB, an advanced database optimized for market data, offers high ingestion throughput and SQL analytics, making it suitable for tick data and time series analysis. A tutorial by community contributor Yitaek Hwang demonstrates how to stream Ethereum blockchain data into QuestDB for visualization and analysis. This process includes setting up an Infura account to access Ethereum on-chain data, creating tables for blocks and token transfers in QuestDB, and using a Python script to stream data from Infura to QuestDB. The tutorial provides detailed steps on configuring QuestDB for high-performance data handling, using Docker to run QuestDB, and leveraging PostgreSQL wire protocol for data ingestion. The tutorial also discusses handling timestamp data and offers solutions for improving performance, such as modifying the ETL script or using QuestDB's functions to parse timestamps. Additionally, it suggests deploying the streaming application on Kubernetes for scalability and encourages community interaction through feedback and forums.