Should I store an image in MongoDB or in local File System (by Node.js) -
Should I store an image in MongoDB or in local File System (by Node.js) -
i utilize node.js project.
should store image in local file system, or should store in mongodb?
which way more scalable?
the scalable solution utilize shared storage service such amazon's s3 (or craft own).
this allows scale horizontally lot easier when decide add together machines application layer, won't have worry migration nightmares.
the basic thought behind maintain storage layer decoupled application layer. using thought create node.js process on separate machine accepts file uploads writes them disk.
node.js mongodb filesystems scalability
Comments
Post a Comment