-
The benchmarking code is over here https://github.com/egonelbre/exp/tree/main/schema.
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
3 years ago I created a internal library where I worked to setup the testing with the db's. One param was the schema directory and the other one was the path of the data insertion file. It worked really well but was a little slow. It was a little bit weird to configure the container to run the tests. As I would have to give access to go container that ran the unit tests access to docker. But back then I was running boot2docker and made things very cumbersome. I think with a local docker things would be way simpler. I ended up using and normal DB from the CI/CD and https://github.com/DATA-DOG/go-txdb If I had to do it again I might do an hybrid in-between the two solutions
Related posts
-
Princípios SOLID em GoLang - Dependency Inversion Principle (DIP)
-
How do you unit-test code that reaches out to the db, without introducing interfaces everywhere?
-
Mocking database calls without a library?
-
Can you set expectations for SQL transaction using Testify?
-
SQL mock driver for Golang to test database interactions