more like:
we never read the jpa spec, nor the hibernate docs and made a common mistake.
Vlad has a good blog post about batch inserts with hibernate, for anyone who wants less fluff around the lesson.
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
more like:
we never read the jpa spec, nor the hibernate docs and made a common mistake.
Vlad has a good blog post about batch inserts with hibernate, for anyone who wants less fluff around the lesson.
We solved this by introducing Kafka as a buffer between the API and the database.
Okay so you "solved" the problem of slow inserts in your database by creating a distributed system. Now you get to deal with fault tolerance and coordination and network latency, among all kinds of other problems that a distributed system has to deal with.