Replies: 3 comments 1 reply
-
I'd change my vote to sqlite now after seeing the benchmarks. Here is how I tested after importing my data into sqlite.
The tests are ran as:
NAS postgres/redis:
sqlite k8s/sqlite (the data being in the NAS on a NFS share anyway):
I will eventually test adding redis to the mix but I am not convinced it will help since I am using R/W caching on the NAS... |
Beta Was this translation helpful? Give feedback.
0 replies
-
Too many variables to be a meaningful comparison - different hardware, different software infrastructure. Maybe SQLite is faster - it's a fast database and benefits from being single user - but you haven't proved that yet.
--
"You can lead a horse to water but you can't make it learn grammar" - Reddit
|
Beta Was this translation helpful? Give feedback.
1 reply
-
I'm using MariaDB (essentially MySQL) only because I'm more familiar with that than PostgreSQL.
--
"You can lead a horse to water but you can't make it learn grammar" - Reddit
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have been using Posteres so far without being amazed with the overall performance.
I added redis caching which improved a bit but still the perf is not matching my expectation for a local network and a decent infra. It is hard to compare oranges to apples but testing
Actual
for instance was much more enjoyable, not b/c of the (lack of...) features but b/c of the speed.I have been running FF on a NAS in Docker so far and always blamed the limited amount of resources there (although having a decent NAS, using SSD, using caching, having enough RAM, and using SSD caching...).
I recently did a test install using K8S on a 3 nodes cluster running on Intel NUC with Core i5. I usually get very good perf. for OSS Apps with database backends. Still not amazed with the perf of FF+postgres+redis, no matter how much CPU/Mem/replicas I throw at it.
So I decied to give sqlite a try. I am hosting the files via NFS (hold you horses...) on a NFS 4.1 server running in the NAS (Synology).
This constellation NFS4.1 + Sqlite has shown working decently with all apps I run.
So far my DB is empty to I cannot really make a valid comparison in term of perf but FF in general is already much snappier with sqlite only (no redis atm).
That leads to this poll. What are YOU using as DB backend and what is the reason ?
I personally went for the argument that I already had some postgres. It ended up a bad option since FF does not support case insensitive queries on postgres. I will not argue the reasons, the fact is: no case insensitive search when using FF and postgres (and that sucks).
I guess many use MySQL as it seems to tbe the projects "default".
At the same time, I am pretty sure a very large portion of the users are single users with a single account on a single server... where sqlite would actually work very well if not better than the other options.
I know sqlite sounds less sexy but the speed benefit is already very attractive.
19 votes ·
Beta Was this translation helpful? Give feedback.
All reactions