https://bz.apache.org/bugzilla/show_bug.cgi?id=64877
Bug ID: 64877 Summary: New implementation of JDBC Based Store with better performances Product: Tomcat 9 Version: 9.0.39 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P2 Component: Catalina Assignee: dev@tomcat.apache.org Reporter: p.moua...@ubik-ingenierie.com Target Milestone: ----- Hello, First thanks for your great product I've been using for years. Recently, I worked on a project that uses JDBCStore. I had to run performance tests on it. Those tests revealed a high contention point in this component due to the granularity of synchronization. The impact was that 1 thread could block hundreds of others. I would have been happy to provide stacktraces but I cannot due to NDA constraints. So I implemented (based on existing one) a new one with following differences: - I kept only the dataSourceName based configuration - I removed stateful instance variables in order to be able to lift synchronization This new implementation improved drastically performances. I'll propose a PR for this. I am aware that there is duplication with JDBCStore that could be improved but it's a first shot and I lack of time unfortunately. I hope you can take into account this contribution. Regards Philippe M. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org