SQLite as a production database for a low-traffic site?

后端 未结 10 538
半阙折子戏
半阙折子戏 2020-12-12 21:32

I\'m considering using SQLite as a production database for a site that would receive perhaps 20 simultaneous users, but with the potential for a peak that could be many mult

10条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-12 22:33

    It seems like with queuing you could also get away with avoiding a lot of the concurrency write problems with SQLite. Instead of writing directly to the sqlite db you would write to a queue that then in turn sequentially writes to the sqlite db in a first in first out mode. Not sure if your application reaches to where you would need this if it would be worth writing or just moving on to client/server DB...but a thought.

提交回复
热议问题