concurrency problem with dropwizard framework and hibernate

12/16/2018

An example configuration: two pods within kubernetes based on dropwizard framework with hibernate. Both pods (duplicated) contain the same code and Rest APIs. Both pods access the same DB. With this design I'll get problems with concurrency, right? what is the solution? Should I lock the DB already in the Resources-layer? The design is:

Resources-Layer -> Core-Layer -> DB-Layer based on hibernate...

.

-- user3930618
concurrency
dropwizard
hibernate
java
kubernetes

0 Answers