Question

I would like to have some suggestion for choosing the right database for my system. I am dealing here with multimedia data (images, video, audio, motion, ...) and should be having a high number of users accessing my database e.g. 50000 users.

The data is collected from other storage devices in real-time, which should be expandable as well as the number of users getting access to the system.

First thoughts were to use a no-SQL database e.g. RIAK or Cassandra for being expandable but I am not sure if using a multimedia database would be better in this case. And I have actually no experience using no-SQL databases.

Was it helpful?

Solution

Ideally you want a solution that can scale-out.

To maintain a responsive solution for the growing number of end users as well as increasing content, you want to be able to add systems and distribute the load as well as content across systems without taking the systems off line.

A distributed nosql solution should work well. It can hold the meta data about the content. Anything that is not searched/compared against a query, e.g. audio, video, images, etc. should go in files.

Nosql typically has relatively better lookup performance. I.e. given a key, lookup the value. If your app has queries which are not simple lookup, then SQL may be better.

OTHER TIPS

Not sure something like a "multimedia database" exists. You could store meta-data in a standard relational database and store blobs in the file system. That's a very simple scheme that will get you very far.

You could use a distributed "NoSQL"-style blob database instead of the file system. That might be better for scale-out and maintenance.

Do put your media data in a filesystem or host it in a cdn. Databases do not have the streaming optimizations necessary for doing multimedia delivery.

Do use no sql for the metadata - who is on what track behavioral analysis , cost, track number of plays. In that case, it is really just another database, so choose the database that meets your api needs, and scale capabilities. Plug: my company's database, aerospike, is worth a look.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top