You must log in or register to comment.
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.



