0

I'm developing a web application using Node.js for backend(express) and React.js for frontend. I'm using PostgreSQL as database for almost every data storage. But now, i will add a real time chatting system and also some real time updates. I heard MongoDB is a good as a real time chatting database. So should i use two database for my web application? If not, what are the best alternatives?

2 7182818
  • 21
  • 1
  • 3

1 Answers1

0

Yes, you should use 2 databases. This will give you much more control over your data and in case of an issue in either of the applications, it will not affect the other. It will also be effective when handling maintenance.

kibuikaCodes
  • 124
  • 1
  • 7
  • But i only working on one application, you said like chatting system and my website seperate applications, why ? also can you explain downsides of using two database in one application? – 2 7182818 Sep 27 '20 at 18:34