Rishabh-malhotraa / caucus

Realtime Collaborate Editor with Embedded Compiler
https://caucus.rishabhmalhotra.in/
MIT License
296 stars 69 forks source link

Migrate Database from PostgresSQL (Heroku) to MonogoDB cloud or Firebase #19

Open Rishabh-malhotraa opened 3 years ago

Rishabh-malhotraa commented 3 years ago

Heroku free postgres is really slow and you cant use it outside heroku, as I was panning to make a public API for leetcode questions it is better to either switch to a cloud database provide which is faster and has more storage, currently heroku caps to 10000 entries which is an absolute bummer. Choose any of the three:-

  1. MongoDB Cloud
  2. Firebase Storage
  3. DynamoDB from aws
ujju20 commented 2 years ago

MongoDB is preferred if you are choosing a NoSQL DataBase.