Reduced database complexity for scalability and future-proofing

Clean Architecture Database Refactoring

  • Refactored database layer to reduce complexity from O(n²) to O(n)

  • Applied clean architecture principles to isolate refactoring impact

  • Introduced Flyway for database migrations and future updates

Challenges

  • Initial model used from frontend to database hindered modular refactoring

  • Ensuring backward compatibility and extensibility during the refactoring process

Implementation Specifics

  • Technologies: Java, Reactor, Spring JPA, Flyway, DbUnit

  • Databases: MariaDB, Postgres, H2