Extreme Sharding: One SQLite Database Per User

后端 未结 8 1279
终归单人心
终归单人心 2021-01-30 13:43

I\'m working on a web app that is somewhere between an email service and a social network. I feel it has the potential to grow really big in the future, so I\'m concerned about

8条回答
  •  粉色の甜心
    2021-01-30 14:02

    Having one database per user would make it really easy to restore individual users data of course, but as @John said, schema changes would require some work.

    Not enough to make it hard, but enough to make it non-trivial.

提交回复
热议问题