Skip to content

Commit

Permalink
add configuration sample for aliyun-oss
Browse files Browse the repository at this point in the history
  • Loading branch information
mycodediary committed Nov 2, 2017
1 parent dff0fee commit 1cdab2d
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions release/conf/aliyun-config-sample.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8" ?>
<workload name="oss-sample" description="sample benchmark for aliyun-oss">

<storage type="oss" config="accesskey=<Access Key Id>;secretkey=<Access Key Secret>;proxyhost=<proxyhost>;proxyport=<proxyport>;endpoint=<endpoint>" />

<workflow>

<workstage name="init">
<work type="init" workers="1" config="cprefix=my-aliyun-bucket;containers=r(1,2)" />
</workstage>

<workstage name="prepare">
<work type="prepare" workers="1" config="cprefix=my-aliyun-bucket;containers=r(1,2);objects=r(1,10);sizes=c(64)KB" />
</workstage>

<workstage name="main">
<work name="main" workers="8" runtime="30">
<operation type="read" ratio="80" config="cprefix=my-aliyun-bucket;containers=u(1,2);objects=u(1,10)" />
<operation type="write" ratio="20" config="cprefix=my-aliyun-bucket;containers=u(1,2);objects=u(11,20);sizes=c(64)KB" />
</work>
</workstage>

<workstage name="cleanup">
<work type="cleanup" workers="1" config="cprefix=my-aliyun-bucket;containers=r(1,2);objects=r(1,20)" />
</workstage>

<workstage name="dispose">
<work type="dispose" workers="1" config="cprefix=my-aliyun-bucket;containers=r(1,2)" />
</workstage>

</workflow>

</workload>

0 comments on commit 1cdab2d

Please sign in to comment.