TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Why does SQLite (in production) have such a bad rep?

5 点作者 rrmdp11 个月前

6 条评论

fendale11 个月前
Over the last few months I have been seeing a push toward using Sqlite in production, where appropriate. Some of this has been coming from 37 Signals with their &quot;Once&quot; products, which use Rails and a SqliteDB.<p>Sqlite can go pretty far if you have fast SSD disk. The biggest problem is that your app is constrained to a single host. For many apps, with backups and a failover plan, that may be OK. For other its a non starter.
brauhaus11 个月前
I know SQLite is popular with no-backend native mobile apps BUT I read somewhere it&#x27;s not safe: if a malicious app is granted the ability to read your phone files, it can access the data from the SQLite of other apps.<p>Can anyone confirm (or deny) this to me?
moomoo1111 个月前
I think a lot of people use it for the wrong use case, and then people who don&#x27;t fully understand many things propagate malinforation after misinterpreting the article and its findings&#x2F;learnings.
stop5011 个月前
It has a bad rep? Then Why do i see sqlite so often in different products?
评论 #40735847 未加载
AA-BA-94-2A-5611 个月前
SQLite is excellent at on-dick storage, but why would you use it in lieu of PostgreSQL? It seems less scalable.
jarsin11 个月前
Cause it has to be accessed by disk protocols which are slow over the network is my guess. As you have to scale to more than one machine then you lose the convience of sqlite.
评论 #40733350 未加载