Reputation: 5402
What is the recommended way of handling file uploads to the database using Play!2 with Scala?
Upvotes: 2
Views: 979
Reputation: 176
Depending on your specific requirements, MongoDB's GridFS will store files for you in a much more efficient and scalable manner than any relational database and filesystem.
http://www.mongodb.org/display/DOCS/GridFS
There are plenty of MongoDB plugins for Play that support GridFS.
Upvotes: 0