Skip to content

SaumyaGurtu/yield-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

Yield Engine Data Service (Go)

RESTful service to ingest large OHLC CSV files into PostgreSQL and query them with pagination.

Requirements Summary

  • POST /data: upload & process CSV (UNIX,SYMBOL,OPEN,HIGH,LOW,CLOSE)
  • GET /data: query with pagination & filters (symbol, unix_from, unix_to)
  • JSON responses only
  • Runs in Docker
  • Migrations included

Technical Choice

This assignment required a high-performance ingestion engine capable of processing extremely large CSV files (up to ~1 TB). I chose Golang because it provides lightweight concurrency with goroutines, a modern and efficient garbage collector, and fast I/O performance. Go also supports streaming millions of rows directly into PostgreSQL using COPY IN, enabling bulk ingestion that is significantly faster and more memory-efficient than traditional ORM-based approaches.

About

RESTful service to ingest large OHLC CSV files into PostgreSQL and query them with pagination.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors