shlogg · Early preview
Kazuho Cryer-Shinozuka @nixieminton

CDK Construct Leverages DuckDB For Fast Performance And Persistence

Create serverless apps with DuckDB using CDK. Persist data in memory to files for Lambda functions & build code during release process. Organize project structure carefully to avoid issues.

Introduction

Are you familiar with DuckDB? It can be described as a fast analytical database that operates with a single file, similar to SQLite. I believe the following blog will convey its greatness.
https://www.linkedin.com/pulse/analysing-aws-application-load-balancer-logs-duckdb-unleashing/
By setting up AWS CLI credentials and simply starting DuckDB, you can directly load files on S3 and perform various analyses with very simple queries.

SELECT * FROM read_csv_auto('s3://your-bucket-name/your-file.csv');

    
    

    
    




However, considering real-world use cases, there may be...