Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frebird embedded, perfomance degradation over time in multithreaded environment #1166

Open
PavelRodnyansky opened this issue Mar 25, 2024 · 0 comments

Comments

@PavelRodnyansky
Copy link

Hello. We are using Firebird Embedded as a read only datasource for a web application and at some point we encountered a problem with application perfomance. After some tests i noticed that firebird provider starting to work very slowly if used in multithreaded environment. Basically if requests are made from 3+ threads in parallel, request execution time grows continiously and never comes back. If thread count is 1 or 2 - no slowdowns are noticeable. I tested provider agains default Firebird server and also didn't noticed any problems even at 50+ threads, so that is probably some weird issue with firebird embedded.

I provided a test example which clearly illustrates the issue, setting threads count to higher value leads to rapid degradation in perfomance.

FIrebirdEmbeddedPerfomanceTest.zip

Tested on Windows10 22H2, firebird 3 and 5 with similar results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants