oracle 存储图片 性能,大规模图片存取的高性能解决方案

>>最近开始做一个j2ee网站,主要是大用户量的图片访问和上传,用Spring和ibatis开源框架搭建,http服务器用apache服务器,应用服务器用jboss,数据库采用oracle10g.

>>其中碰到了几个技术难点,希望大家能给于意见和建议:

>>1,图片这种资源是存储在文件系统中好,还是存储在oracle数据库中好?以性能优先考虑,但不考虑集群。

I believe that never store no-relation data(including nearly all binary data) in relation database. So, supply a path is best.

>>2,提高图片存储效率有什么好的方案?

it's about the I/O condition. I do not know anything about your solution of storage. If it is possible, use NFS is a good choice.

>>3,还有采用缓存策略,哪些数据该被缓存?

What do you want to cache? Data, binary data? or object? or database cache?

If you just want to cache the pictures, I suggest you to try squid.

Apache with jboss is a good idea but maybe you should try NIO mode. If you just need to supply service for picture, ngnix is the second choice against apache.

ps: if you just need spring, maybe you just need a servlet container. jboss web is enough for you.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值