Isomorphic use case...How does alasql performance compare with server side libraries? #1876
-
I'm considering using AlaSQL on the server side for isomorphic libraries. How does the performance of Can alasql load to the sqlite db on the file system & save to it automatically? |
Beta Was this translation helpful? Give feedback.
Answered by
paulrutter
Aug 9, 2024
Replies: 1 comment 2 replies
-
If you can use sqlite then use sqlite. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We thoroughly compared better-sqllite3 against alasql, but went for alasql n the end because the data ingestion overhead of better-sqllite3 was too large when compared to alasql (which doesn't have this overhead since data can be queried in the node runtime directly).
For query performance, your mileage will vary depending on the query complexity. Joins over more than one table, with lots of rows, will be faster in sqlite for example.