GitHub user jobelenus opened a pull request:
https://github.com/apache/libcloud/pull/229
Support for internal endpoints in cloudfiles
Sorry for the ugliness of the commit history. I didn't do this cleanly from
the start. The diff is clean, however.
Being able to use the internal network endpoint gives significant speed
improvements (upwards of a whole second from my brief benchmarking) when your
application server and cloudfiles are in the same region/datacenter.
RE: https://github.com/apache/libcloud/pull/186#issuecomment-33209925
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/activefrequency/libcloud feature-internal-url
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/libcloud/pull/229.patch
----
commit afb068d1285c315cbb5800c367566769124cc2df
Author: John Obelenus <[email protected]>
Date: 2013-12-03T22:48:45Z
service type has changed for cloudFilesCDN
commit 04bf60445eaf05a2c2ba5eb9c63d605e1e8c7f2b
Author: John Obelenus <[email protected]>
Date: 2013-12-05T22:44:37Z
just doing this for a speed test, will revert later
commit b201927cba1a265e708564ee02b655bf19667bc9
Author: John Obelenus <[email protected]>
Date: 2013-12-05T22:51:23Z
Revert "just doing this for a speed test, will revert later"
This reverts commit 04bf60445eaf05a2c2ba5eb9c63d605e1e8c7f2b.
commit eb84616d894c928009e43fd5d4dbf0331e85cbc5
Author: John Obelenus <[email protected]>
Date: 2013-12-06T16:04:23Z
variable endpoint url
commit f59b0bbd1e2163c82171183b80f387e541978dce
Author: John Obelenus <[email protected]>
Date: 2013-12-06T20:48:53Z
preventing duplicate lookups on the same instance
commit 070e34df1260dfc78d638bc31ce1d1827acd6174
Author: John Obelenus <[email protected]>
Date: 2013-12-06T20:53:01Z
default to None
commit 1767258136b5f4165b52df380c55fdc371caeffc
Author: John Obelenus <[email protected]>
Date: 2014-01-24T18:11:07Z
Revert "default to None"
This reverts commit 070e34df1260dfc78d638bc31ce1d1827acd6174.
commit 6a41adfed9720f861e1864aa59402faa043a7d5a
Author: John Obelenus <[email protected]>
Date: 2014-01-24T18:11:19Z
Revert "preventing duplicate lookups on the same instance"
This reverts commit f59b0bbd1e2163c82171183b80f387e541978dce.
commit 8606004217704b6952770cd8c31cdda2d268424d
Author: John Obelenus <[email protected]>
Date: 2014-01-24T18:11:26Z
Revert "variable endpoint url"
This reverts commit eb84616d894c928009e43fd5d4dbf0331e85cbc5.
commit caab9ed71c8e56a8170d30780150da459dd465c3
Author: John Obelenus <[email protected]>
Date: 2014-01-24T18:11:36Z
Revert "Revert "just doing this for a speed test, will revert later""
This reverts commit b201927cba1a265e708564ee02b655bf19667bc9.
commit 3b6e77443d164541e149ad544838b16f45755d5f
Author: John Obelenus <[email protected]>
Date: 2014-01-24T18:11:44Z
Revert "just doing this for a speed test, will revert later"
This reverts commit 04bf60445eaf05a2c2ba5eb9c63d605e1e8c7f2b.
commit d59a35be3f55a20e58367f564bddb91ff4927723
Author: John Obelenus <[email protected]>
Date: 2014-01-24T18:11:51Z
Revert "service type has changed for cloudFilesCDN"
This reverts commit afb068d1285c315cbb5800c367566769124cc2df.
commit 9109a572567f0e8465d6a8c045becfe719a8f321
Author: John Obelenus <[email protected]>
Date: 2014-01-24T18:13:35Z
Merge remote-tracking branch 'upstream/trunk' into trunk
commit c1f4aecb9a5966f5adeddbc25324b61c143b0c1d
Author: John Obelenus <[email protected]>
Date: 2013-12-06T16:04:23Z
variable endpoint url
----