Hide
Socialite load workload (available at https://github.com/10gen-labs/socialite).
java -jar target/socialite-0.0.1-SNAPSHOT.jar load --users 10000000 --maxfollows 1000 --messages 2000 --threads 32 sample-config.yml
|
3 node replica set c3.2xlarge instances, 8 cpu, 15g.
Replica set configuration
{
|
"_id" : "shard1",
|
"version" : 1,
|
"members" : [
|
{
|
"_id" : 1,
|
"host" : "shard1-01.knuckleboys.com:27017"
|
},
|
{
|
"_id" : 2,
|
"host" : "shard1-02.knuckleboys.com:27017"
|
},
|
{
|
"_id" : 3,
|
"host" : "shard1-03.knuckleboys.com:27017"
|
}
|
]
|
}
|
Socialite load workload: java -jar target/socialite-0.0.1-SNAPSHOT.jar load --users 10000000 --maxfollows 1000 --messages 2000 --threads 32 sample-config.yml
Indexes:
[
|
{
|
"v" : 1,
|
"key" : {
|
"_id" : 1
|
},
|
"name" : "_id_",
|
"ns" : "socialite.content"
|
},
|
{
|
"v" : 1,
|
"key" : {
|
"_a" : 1,
|
"_id" : 1
|
},
|
"name" : "_a_1__id_1",
|
"ns" : "socialite.content"
|
}
|
]
|
[
|
{
|
"v" : 1,
|
"key" : {
|
"_id" : 1
|
},
|
"name" : "_id_",
|
"ns" : "socialite.followers"
|
},
|
{
|
"v" : 1,
|
"unique" : true,
|
"key" : {
|
"_f" : 1,
|
"_t" : 1
|
},
|
"name" : "_f_1__t_1",
|
"ns" : "socialite.followers"
|
}
|
]
|
[
|
{
|
"v" : 1,
|
"key" : {
|
"_id" : 1
|
},
|
"name" : "_id_",
|
"ns" : "socialite.following"
|
},
|
{
|
"v" : 1,
|
"unique" : true,
|
"key" : {
|
"_f" : 1,
|
"_t" : 1
|
},
|
"name" : "_f_1__t_1",
|
"ns" : "socialite.following"
|
}
|
]
|
[
|
{
|
"v" : 1,
|
"key" : {
|
"_id" : 1
|
},
|
"name" : "_id_",
|
"ns" : "socialite.users"
|
}
|
]
|
Show
Socialite load workload (available at https://github.com/10gen-labs/socialite ).
java -jar target/socialite-0.0.1-SNAPSHOT.jar load --users 10000000 --maxfollows 1000 --messages 2000 --threads 32 sample-config.yml
3 node replica set c3.2xlarge instances, 8 cpu, 15g.
Replica set configuration
{
"_id" : "shard1",
"version" : 1,
"members" : [
{
"_id" : 1,
"host" : "shard1-01.knuckleboys.com:27017"
},
{
"_id" : 2,
"host" : "shard1-02.knuckleboys.com:27017"
},
{
"_id" : 3,
"host" : "shard1-03.knuckleboys.com:27017"
}
]
}
Socialite load workload: java -jar target/socialite-0.0.1-SNAPSHOT.jar load --users 10000000 --maxfollows 1000 --messages 2000 --threads 32 sample-config.yml
Indexes:
[
{
"v" : 1,
"key" : {
"_id" : 1
},
"name" : "_id_",
"ns" : "socialite.content"
},
{
"v" : 1,
"key" : {
"_a" : 1,
"_id" : 1
},
"name" : "_a_1__id_1",
"ns" : "socialite.content"
}
]
[
{
"v" : 1,
"key" : {
"_id" : 1
},
"name" : "_id_",
"ns" : "socialite.followers"
},
{
"v" : 1,
"unique" : true,
"key" : {
"_f" : 1,
"_t" : 1
},
"name" : "_f_1__t_1",
"ns" : "socialite.followers"
}
]
[
{
"v" : 1,
"key" : {
"_id" : 1
},
"name" : "_id_",
"ns" : "socialite.following"
},
{
"v" : 1,
"unique" : true,
"key" : {
"_f" : 1,
"_t" : 1
},
"name" : "_f_1__t_1",
"ns" : "socialite.following"
}
]
[
{
"v" : 1,
"key" : {
"_id" : 1
},
"name" : "_id_",
"ns" : "socialite.users"
}
]