Recommended Services
› Amazon Web Services
› LeanCloud
› New Relic
› ClearDB
atie
V2EX  ›  云计算

图片型社交网站的附件是直接用Linode之类的VPS,还是阿里云、又拍云性价比更高?

  •  
  •   atie · Jan 9, 2014 · 6347 views
    This topic created in 4681 days ago, the information mentioned may be changed or developed.
    摄影类社交网站,暂时用户平均日上传图片2000张,PV约15万。有增长趋势。

    VPS靠谱都是国外的,虽然几乎不限制流量,但用户上传速度还是存在一定的问题。
    21 replies  •  1970-01-01 08:00:00 +08:00
    Livid
    Livid
    MOD
    PRO
    Jan 9, 2014 via iPhone
    1
    假设每张图片 1M,那么一天会有 2G 的上传?那也不少了。

    如果打算做大的话,还是选定一个云服务的 API 吧。

    可以试着去申请一下 S3 或者 Windows Azure 的中国区。
    xiaop
    xiaop
    Jan 9, 2014❤️1
    2
    阿里云的OSS我觉得不错。
    用阿里云的主机,内网反向代理无需流量费用。成本和硬盘差不多。
    46fo
    46fo
    Jan 9, 2014
    3
    阿里 流量贵死
    Sivan
    Sivan
    Jan 9, 2014
    4
    用七牛啊
    xiaop
    xiaop
    Jan 9, 2014❤️1
    5
    @xdeng 试试nginx的内网反向代理oss
    46fo
    46fo
    Jan 9, 2014
    6
    @xiaop 那你 vps 带宽也要钱吧
    lanbing
    lanbing
    Jan 9, 2014 via Android
    7
    七牛不错
    beddo
    beddo
    Jan 9, 2014
    8
    我说独立服务器+vps补充会不会被喷?
    crny520
    crny520
    Jan 9, 2014
    9
    @xiaop 可以嘛,我都没有想到用nginx的内网反向代理OSS
    xiaop
    xiaop
    Jan 9, 2014
    10
    @crny520 我亲测可行,经我观察phpwind的附件就是这样用的。
    curl -I 可以看到oss的header,而图片和主站的IP是一样的。
    rekey
    rekey
    Jan 9, 2014
    11
    @crny520 以前写过node.js搞这个,还能定制图片,然后默默发现阿里云的小水管根本不够用...
    hugsky
    hugsky
    Jan 10, 2014
    12
    方便分享地址么?学习下良性发展的摄影社交网站。
    Moker
    Moker
    Jan 10, 2014
    13
    拍照爱好者。。求地址
    levan
    levan
    Jan 10, 2014
    14
    qiniu upyun都行吧?
    zetttt
    zetttt
    Jan 10, 2014
    15
    七牛和又拍都用过,七牛比较好
    755348567
    755348567
    Jan 10, 2014
    16
    七牛云吧,每月有免费配额,去36氪注册还可以获得800元的消费卷
    hnspzwy
    hnspzwy
    Jan 10, 2014
    17
    阿里云带宽低一些,可能不太适合
    wentong
    wentong
    Jan 10, 2014 via iPad
    18
    @755348567 怎么获取,没有找到链接入口。
    atie
    atie
    OP
    Jan 15, 2014
    20
    @Livid S3 或者 Windows Azure 暂时看并不合适,因为这些数据目前的收益转换率很低,并不是那么有价值的流量,而且允许外链所以流量跑的很高。附件还是要存储在VPS是最性价比的方案了,就是可靠性不高。

    @xiaop nginx的内网反向代理oss,有使用说明嘛?
    xiaop
    xiaop
    Jan 15, 2014
    21
    @atie
    给你个nginx的参考配置:
    location ^~ /images/ {
    expires 30d;
    proxy_intercept_errors on;
    proxy_pass http://oss-internal.aliyuncs.com/xxx/;
    proxy_redirect off;
    }
    注意里面的oss地址域名已经更新
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1319 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 20:38 · PVG 04:38 · LAX 12:38 · JFK 15:38
    ♥ Do have faith in what you're doing.