31397602183b08c825e89aae2f2c75ba66ec1abc
Commit Graph

90 Commits

Author SHA1 Message Date
Darrell Bishop
ed3b12d05c Can run swift-bench across multiple cores/servers.
You run one or more swift-bench-client processes like this:
 $ swift-bench-client 127.0.0.1 20001
 $ swift-bench-client 127.0.0.1 20002
Then you run swift-bench with a new option, --bench-clients (-b), which is
specified once for each swift-bench-client:
 $ swift-bench -b 127.0.0.1:20001 -b 127.0.0.1:20002
You get log lines from each client (interleaved) along with a final report
for all clients:
 127.0.0.1:20002 swift-bench-server 2012年08月25日 22:44:06,148 INFO Auth version: 1.0
 127.0.0.1:20001 swift-bench-server 2012年08月25日 22:44:06,148 INFO Auth version: 1.0
 127.0.0.1:20001 swift-bench-server 2012年08月25日 22:44:12,249 INFO 83 PUTS [0 failures], 41.5/s
 127.0.0.1:20002 swift-bench-server 2012年08月25日 22:44:14,430 INFO 74 PUTS [0 failures], 34.3/s
 ...
 127.0.0.1:20002 swift-bench-server 2012年08月25日 22:45:18,942 INFO Auth version: 1.0
 127.0.0.1:20002 swift-bench-server 2012年08月25日 22:45:20,946 INFO 238 DEL [2 failures], 118.9/s
 swift-bench 2012年08月25日 22:45:27,549 INFO 2000 PUTS **FINAL** [0 failures], 56.8/s
 swift-bench 2012年08月25日 22:45:27,550 INFO 30000 GETS **FINAL** [50 failures], 974.6/s
 swift-bench 2012年08月25日 22:45:27,550 INFO 2000 DEL **FINAL** [20 failures], 237.1/s
The concurrency, PUT count, and GET count config settings are divided by
the number of bench_clients. In other words, the same volume of work is
attempted (vs. not specifying --bench-clients), but it can now span
servers and CPU cores.
Benchmark containers are created (if use_proxy = yes) and deleted (if
delete = yes), with appropriate concurrency, in the initiating
swift-bench process, not any of the swift-bench-client processes.
Change-Id: Idbf31a23093244ab357a9bf77e6031257774f24a
2012年08月30日 18:22:49 +00:00
Chmouel Boudjnah
afa4f70024 Move swift_auth middleware from keystone to swift.
- Rename it to keystoneauth for consistenties.
- Implements blueprint keystone-middleware.
Change-Id: I208fecdf3ee991694b4239f065032324d297fd35
2012年07月05日 14:36:14 -04:00
Chmouel Boudjnah
22572b506a Remove swift.common.client from here.
- It has been to its own gerrit project.
- direct_client should follow next.
- Implements blueprint clientbindings.
Change-Id: I3bb50c95eba81302bfec71cb7ce5288b85a41dc0
2012年06月07日 16:36:49 +02:00
Michael Barton
7c98e7a625 Move proxy server logging to middleware.
Change-Id: I771c87207d4e1821e32c3424b341d182cc7ea7c0
2012年05月24日 21:15:51 -07:00
Chmouel Boudjnah
d02a73f4a9 Remove swift3 from here.
- Reference https://github.com/fujita/swift3 in associated_projects.
- Implements blueprint add-associated-projects-docs.
Change-Id: I48ef4c03449edf6ef4fda1a391228cacac7d2ac6
2012年05月24日 10:21:42 +02:00
John Dickinson
1e90b61076 Re-add cname lookup and domain remap middleware
Revert "removed cname lookup middleware"
This reverts commit b47bcf19e4.
Revert "removed domain remap middleware"
This reverts commit 317cf868bdf66dbc17c02d4ca383efafa5e2f229.
Change-Id: I260498d555c93b28896ace48a6f0e96701cbcc38
2012年05月21日 20:02:04 -05:00
gholt
1c3b75c291 Reverted the pulling out of various middleware:
RateLimit
StaticWeb
TempURL/FormPOST
Change-Id: I988e93e6f4aacb817a2e354d43a04e47516fdf88
2012年05月16日 21:25:10 +00:00
John Dickinson
b47bcf19e4 removed cname lookup middleware
The code has moved to https://github.com/notmyname/swift-cnamelookup.
For current users of cname lookup, this will require installing the new
package and changing the "use" line of the cname lookup conf section's
to:
[filter:cname_lookup]
use = egg:swift_cnamelookup#swift_cnamelookup
And then 'swift-init proxy reload'.
Change-Id: If622486ddb04a53251244c9840aa3cfe72168fc5
2012年05月09日 14:00:51 -05:00
gholt
3f00c1a630 Pulled out Rate Limit middleware
Rate Limit middleware is now at
http://dpgoetz.github.com/swift-ratelimit/
For current users of Rate Limit, this will require installing the new
package and changing the "use" line of the ratelimit conf section to:
[filter:ratelimit]
use = egg:swiftratelimit#middleware
And then 'swift-init proxy reload'.
Change-Id: I2ab774e9cee9fba4103c1be4bea6d52d1adb29f7
2012年05月09日 18:44:45 +00:00
John Dickinson
7dfbd785b0 removed domain remap middleware
The code has moved to https://github.com/notmyname/swift-domainremap.
For current users of domain remap, this will require installing the new
package and changing the "use" line of the domain remap conf section's
to:
[filter:domain_remap]
use = egg:swift_domainremap#swift_domainremap
And then 'swift-init proxy reload'.
Change-Id: I710caf9b991f9d37df36b826ae4338086d0ec36d
2012年05月08日 21:30:35 -05:00
gholt
c0532a6ef2 Pulled out TempURL/FormPOST
TempURL/FormPOST is now at http://gholt.github.com/swift-tempurl/
For current users of TempURL/FormPOST, this will require installing the new
package and changing the "use" line of the tempurl and formpost conf section's
to:
[filter:tempurl]
use = egg:swifttempurl#tempurl
[filter:formpost]
use = egg:swifttempurl#formpost
And then 'swift-init proxy reload'.
Change-Id: I5bddf7f9e09ee07815530a41c46ff901fc21b447
2012年05月08日 20:20:29 +00:00
gholt
7dde909621 Pulled StaticWeb out to separate project
StaticWeb is now at http://gholt.github.com/swift-staticweb/
For current users of StaticWeb, this will require installing the new
package and changing the "use" line of the staticweb filter conf
section to:
use = egg:swiftstaticweb#middleware
And then 'swift-init proxy reload'.
Change-Id: Iab32adb5927698a667c5c6d6a572c44ca23414eb
2012年05月05日 00:40:33 +00:00
John Dickinson
1ecf5ebba1 updated copyright date for all files
Change-Id: Ifd909d3561c2647770a7e0caa3cd91acd1b4f298
2012年03月19日 13:45:34 -05:00
Eamonn O'Toole
cf1aa3c309 Adds name_check filter
Bug 926048.
Filter checks path for user-defined forbidden characters, and for
user-defined maximum length.
Includes changes to reflect gholt's latest comments to Patch Set 4
Also includes a change to a unit-test, renames another unit-test,
and removes one superfluous unit-test.
Added section to the example proxy config
Fixed-up unit test pep8 warnings
Changed error response code to 400 (Bad Request)
Change-Id: Iace719d6a3d00fb3dda1b9d0bc185b8c4cbc00ca
2012年03月08日 17:23:58 +00:00
gholt
7141c52bd6 Remove old stats tools.
https://blueprints.launchpad.net/swift/+spec/remove-old-swift-stats-tools
Change-Id: Ibb57b3d71c7f18060d2d48a1d3754a7f1444624d
2012年03月06日 17:57:16 +00:00
gholt
7fc1721d7d TempURL and FormPost Middleware
Change-Id: I8d2ce2abdfe3a44605c9441ad7b1abc6c77e282d
2012年01月10日 21:57:52 +00:00
gholt
65dba1a7aa Added swift-orphans and swift-oldies.
Change-Id: I95210098556a22d7bd05f245ae387ee13041fa61
2011年12月29日 19:19:41 +00:00
gholt
872420efdb Expiring Objects Support
Please see the doc/source/overview_expiring_objects.rst for
more detail.
Change-Id: I4ab49e731248cf62ce10001016e0c819cc531738
2011年11月01日 15:49:00 +00:00
John Dickinson
e76bfa67d4 simplified setup.py 2011年08月19日 10:58:18 -05:00
Florian Hines
4d0e4622de add binary's/recon.py to setup.py 2011年08月11日 15:17:28 -05:00
gholt
8c24a70139 Merged from trunk 2011年06月30日 21:52:09 +00:00
John Dickinson
65d79d18b5 merged with trunk 2011年06月15日 14:05:28 -05:00
gholt
ba4f74d4fe Merge from trunk 2011年06月14日 23:13:47 +00:00
John Dickinson
0eeeae664e renamed st to swift 2011年06月14日 11:04:06 -05:00
John Dickinson
5949217ce1 removed basic slogging code 2011年06月13日 15:57:32 -05:00
gholt
b4221114c5 Merged with deswauth 2011年06月03日 00:11:32 +00:00
gholt
ce710a54a5 Merged with trunk 2011年06月01日 20:43:10 +00:00
gholt
288ccb1703 Merged from trunk 2011年05月31日 18:09:53 +00:00
Soren Hansen
2d1274c497 Add a __canonical_version__ attribute to the swift module. This is only the numbered part of the version string, no "-dev" or similar suffixes.
Add a couple of unit tests to make sure __version__ and __canonical_version__ are generated correctly and to ensure __canonical_version__ never accidentally has anything other than numbers and points in it.
2011年05月26日 11:25:39 +02:00
gholt
f68b6354e2 Renaming TestAuth to TempAuth because nose hates anything with the word test in it. 2011年05月26日 02:24:12 +00:00
gholt
3ee4a01100 Remove swauth; update references from swauth to testauth. 2011年05月26日 02:17:42 +00:00
gholt
b24b063552 Created testauth WSGI middleware to replace Swauth as development auth service. 2011年05月26日 01:19:03 +00:00
David Goetz
bc894f9efb update with trunk 2011年05月12日 14:24:51 -07:00
Jay Payne
56d00c2f29 Added bin/swift-container-stats-logger 2011年05月02日 23:49:44 +00:00
gholt
0546c8d15f Merged from trunk 2011年04月15日 23:11:34 +00:00
gholt
6c13001244 Rename swift-stats-* to swift-dispersion-* to avoid confusion with log stats stuff 2011年03月31日 22:32:41 +00:00
gholt
6318b996b5 Merged from trunk 2011年03月18日 15:07:03 +00:00
gholt
39889d71dd Merge from trunk 2011年03月18日 15:04:09 +00:00
gholt
34f82afc62 Fixes with removing DevAuth 2011年03月14日 03:08:23 +00:00
gholt
bd22dbe712 Removing DevAuth 2011年03月14日 02:56:37 +00:00
gholt
305e4b41f5 Initial work on container syncing 2011年02月23日 23:26:05 -08:00
gholt
eac721b003 Working staticweb filter 2011年02月18日 23:22:15 -08:00
Michael Barton
ccaaa55b0e refactor setup.py 2011年01月27日 00:06:20 +00:00
Michael Barton
9fcb3ad4f6 add pybabel setup.py commands and initial .pot 2011年01月27日 00:01:24 +00:00
FUJITA Tomonori
ec58618eb3 Merging the upstream 2011年01月14日 03:42:21 +09:00
FUJITA Tomonori
d17b7c9956 rename the module from s3.py to swift3.py (suggested by Chuck Thier) 2011年01月06日 18:51:26 +09:00
gholt
1665568458 Merge from trunk 2011年01月05日 07:17:36 -08:00
Anne Gentle
8823427161 Changed copyright notices on py files and the single rst file with a copyright notice 2011年01月04日 17:34:43 -06:00
FUJITA Tomonori
6e555802bb add S3 API support 2011年01月04日 18:18:58 +09:00
gholt
09e39032bf new swauth-cleanup-tokens; restricted listing .auth account to .super_admin; doc updates 2010年12月09日 17:57:26 -08:00