将图像存储在文件系统、amazon-s3 数据存储中
关于在数据库或文件系统中存储图像(或二进制数据)有很多讨论(请参阅:在数据库中存储图像 - 是或否?)
我们决定在短期内使用文件系统在数据库本身中存储图像和相关图像特定元数据,并迁移到基于 amazon s3 的未来的数据存储。注意:数据存储将用于存储用户图片、小组会议的照片...
是否有任何现成的基于 java 的开源框架提供抽象来通过 http 处理上述数据存储的存储和检索。我们不想编写任何与备份、清除、维护等管理任务相关的代码。
There has been numerous discussions related to storing images (or binary data) in the database or file system (Refer: Storing Images in DB - Yea or Nay?)
We have decided to use the file system for storing images and relevant image specific metadata in the database itself in the short term and migrate to an amazon s3 based data store in the future. Note: the data store will be used to store user pictures, photos from group meetings ...
Are there any off the shelf java based open source frameworks which provide an abstraction to handle storage and retrieval via http for the above data stores. We wouldn't want to write any code related to admin tasks like backups, purging, maintenance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Jets3t - http://jets3t.s3.amazonaws.com/index.html
我们我用过这个,它对 S3 来说就像一个魅力。
我不确定我是否理解您是否正在寻找一个既适用于文件系统存储又适用于 S3 的框架,但由于 S3 很独特,我不确定这样的东西是否存在。显然,使用 S3,可以为您处理备份和维护。
Jets3t - http://jets3t.s3.amazonaws.com/index.html
We've used this and it works like a charm for S3.
I'm not sure I understand if you are looking for a framework that will work for both file-system storage and S3, but as unique as S3 is, I'm not sure that such a thing would exist. Obviously with S3, backups and maintenance are handled for you.