Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can you stream video from GridFS (MongoDB filesystem)?

Can you tell a streaming server such as Ngix to stream videos stored in GridFS? If yes, does it affect perfs?

like image 770
e-satis Avatar asked Feb 02 '11 14:02

e-satis


1 Answers

Found my anwser on coffeepowered (Web Archive). To summarize the excellent post of Chris Heald:

  • You can do so by using either gridfs-fuse or nginx-gridfs
  • You can expect it to be 6 times slower than when you are serving directly from the filesystem.

You should read his benchmark for more details.

like image 189
e-satis Avatar answered Oct 21 '22 23:10

e-satis