database/sql: the bad, the good and the ugly — developing a driver for YDB
summary
A talk about implementing a Go database driver for YDB using the standard library package database/sql. It covers historical evolution of database/sql, design decisions and problems encountered while building the YDB driver (starting from Go 1.11), and practical lessons learned in making a robust DB driver that fits the database/sql interface.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 1:59What is YDB and its features
- 7:06Evolution of database/sql in Go
- 16:04Retries and connection pooling
- 19:43Context issues in database/sql
- 24:28Named parameters and iteration
- 27:18Why context matters
- 30:04Error handling in database/sql
- 33:15Developing YDB driver
- 36:51Monitoring and debugging driver
- 38:38Summary and future plans
- 39:21Q&A
related talks
37mBuilding Database Applications with Database/SQL
44mYDB Java SDK: The Battle for Performance
48mIntegrating Distributed SQL Stores with Java Frameworks: The YDB Example
01h 27mYugabyteDB YSQL Development
02h 42mSQL (The Return): Demystifying Preconceptions and Using the DB Effectively
01h 05m“A modern database interface for C++"
51mYandex Database: Distributed Queries in the Clouds
48mCost-Based Optimizer in YDB — How, Why and What For?
