Home > Storage > PowerFlex > White Papers > Dell APEX Block Storage for AWS: MongoDB using Kubernetes and PowerFlex CSI > Use case 2: Workload B
Workload B simulates the read-mostly type of workload (95 percent read, 5 percent write). Twenty million records were read/written on each MongoDB sharded pod. Each YCSB-mongo client can read/write a subset of the data and that was accomplished by changing the number of threads and the requestdistribution=sequential option:
kubectl -n mongo exec $(kubectl get pod -n mongo | grep YCSB-pod1 | awk '{print $1}') -- \ ./bin/YCSB load mongodb -s -threads 64 \
-P "workloads/workloadb" \ -p mongodb.url=mongodb://mongodb:*****@10.244.3.9:27017/YCSB?w=1 2>&1 \
-p recordcount=200000000 \
-p operationcount=200000000 \
-p insertproportion=1 \
-p requestdistribution=sequential \
-p mongodb.writeConcern=acknowledged \
-p writeallfields=true | tee -a /home/ec2-user/mongodblogs/20m_64_workloadb_s0n1 &
The following figure shows the results of (95 percent read, 5 percent write) operations across all eight MongoDB sharded pods on the PowerFlex two-layer cluster on the AWS public cloud. A cumulative throughput of 1,456,476 ops/s ~ 1.45 million ops/s is achieved at a submillisecond latency for 64 threads on the MongoDB sharded cluster.