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

【提案】dweb app 从文件系统管理迁移到数据库管理 #230

Open
kingsword09 opened this issue Oct 28, 2024 · 1 comment
Open

Comments

@kingsword09
Copy link
Contributor

kingsword09 commented Oct 28, 2024

现在的dweb app是使用文件系统管理的应用,是否可以考虑将文件系统迁移到数据库管理,例如sqlite、PostgreSQL。

好处:

  1. 数据库可以进行原子性修改,新版本下载完更新到数据库可以利用事务功能进行原子性修改,失败可以回退;
  2. 易于备份和导入;
  3. 对于提供一个可视化界面管理应用也方便,可以利用数据库查询;
  4. 分布式功能,可以读取远程数据库来加载应用。

参考:

@Gaubee
Copy link
Contributor

Gaubee commented Nov 1, 2024

这属于用SQLite实现一个虚拟文件系统,一个很好的建议

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