Can ceph object storage distinguish the upload domain and the download domain?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for reply!


At 2014-05-27 22:13:19,"Wido den Hollander" <wido at 42on.com> wrote:
>On 05/27/2014 04:10 PM, wsnote wrote:
>> There are two different modes of accessing the buckets.The upload domain
>> and the download domain are the same.
>> GET /mybucket HTTP/1.1
>> Host: cname.domain.com
>> GET / HTTP/1.1
>> Host: mybucket.cname.domain.com
>>
>>
>> Now I want to distinguish them. The reason that I want to do this is:
>> I have two ceph clusters which have the same data and sync by
>> radosgw-agent. The user can read the data from both clusters but write
>> to only the master zone.
>> When configure the domain, I feel puzzled. I mean the two domain:
>> cname.domain.com and mybucket.cname.domain.com.
>> If I configure the domain to the master zone, users can't surf the slave
>> zone whose computin power was wasted.
>> If I configure the domain to the both zone.  user's writing request may
>> be directed to the slave zone and come up failure, which has bad user
>> experience.
>> If I use two domain for two zones, when I want to release an file for
>> public downloading, I must supply two url, which has not good experience
>> too.
>> Does any one meet with this situation and give some suggestion?
>
>Use Varnish in front? In the VCL you can direct all PUT, DELETE and POST 
>request towards the master zone and serve GET and HEAD requests from 
>both zones.


In front of ceph cluster, there will be an LVS  server to balance load.In front of LVS, there will be CDN. I'll use CDN for both upload and download.
Using Varnish may make it a more complex question.
There is a configure in ceph.conf: rgw dns name = cname.domain.com. 
If I use another domain not like *.cname.domain.com, ceph don't recognize it.
Can I solve the problem by config ceph or Apache?
>
>Simply directing HTTP traffic.
>
>> Thanks!
>>
>>
>>
>>
>>
>> _______________________________________________
>> ceph-users mailing list
>> ceph-users at lists.ceph.com
>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>>
>
>
>-- 
>Wido den Hollander
>Ceph consultant and trainer
>42on B.V.
>
>Phone: +31 (0)20 700 9902
>Skype: contact42on
>_______________________________________________
>ceph-users mailing list
>ceph-users at lists.ceph.com
>http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ceph.com/pipermail/ceph-users-ceph.com/attachments/20140527/a8a0b21e/attachment.htm>


[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux