简体   繁体   English

我们可以为php和django使用相同的数据库吗?

[英]Can we use same database for php and django?

Scenario 脚本

There is an Android app running with php as backend and a webapp running with django. 有一个Android应用程序运行php作为后端和运行django的webapp。 Both apps are designed to be used with same database. 这两个应用程序都设计用于相同的数据库。 Can this approach create any issues ? 这种方法可以产生任何问题吗?

The most suitable answer I found is Xyres mentioned , 我找到的最合适的答案是Xyres提到的,

There will be no problem: databases can handle concurrent writes. 没有问题:数据库可以处理并发写入。 Besides, this scenario is no different than a web app writing to the database from multiple threads at the same time. 此外,这种情况与同时从多个线程写入数据库的Web应用程序没有什么不同。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM