Answer the question
In order to leave comments, you need to log in
Which database to choose for a video service by the type of VK video section?
The service has a central section with videos, from where users can add videos they like to their profile, attach tags to the video (each user has his own tags that he creates). Sample options:
Answer the question
In order to leave comments, you need to log in
Premature optimization almost always hurts, if mongo, then yes, store separately, but indexes are needed otherwise it will take a long time. There are bulk and aggregate queries in order not to generate a bunch of queries. To work with tags, you can use $push and $pull to add/remove tags one by one.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question