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

ERRO[0007] error handling request error="database is locked" #72

Closed
ahmedash95 opened this issue Jun 16, 2018 · 5 comments
Closed

ERRO[0007] error handling request error="database is locked" #72

ahmedash95 opened this issue Jun 16, 2018 · 5 comments

Comments

@ahmedash95
Copy link

On a +15k concurrent traffic, it gives me a database is locked error, I know its from SQLite database but what issue cause this locking?

@prologic
Copy link

SQLite is not great for concurrent writes. You want to use a database more suited to high volume write transactions.

@ahmedash95
Copy link
Author

I'm new to fathom, so what is available databases to use instead of sqlite ?

@prologic
Copy link

Pretty sure you can use mysql. Follow the docs on custom configuration

@prologic
Copy link

MySQL will at least give you better concurrent write performance; especially on MyRocks. YMMV

@ahmedash95
Copy link
Author

Thanks @prologic for ur help.

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

No branches or pull requests

2 participants