Re: [Openstack] Openstack Swift load small files

2014-04-02 Thread Roman Kravets
Dear John, I want create public storage and I want reduce the load to hard drive when user will be upload own files with default client, when make HEAD before PUT. How can I do it? -- Best regards, Roman Kravets On Wed, Apr 2, 2014 at 7:19 PM, John Dickinson wrote: > Yep, you're right. Doing a

Re: [Openstack] Openstack Swift load small files

2014-04-02 Thread John Dickinson
Yep, you're right. Doing a HEAD request before every PUT gets expensive, especially for small files. But don't despair! There's some good news. First, realize that swiftclient is written for a pretty general use case. If you have more knowledge about how your system works, then you can write s

[Openstack] Openstack Swift load small files

2014-04-02 Thread Roman Kravets
Hello. I have trouble with python-swiftclient during upload to match small file to Openstack Swift. It client make HEAD request for each file during upload before PUT. It make very intencive read load to hard drive and as result all cluster show very small upload speed. I see that for each file