update params files and readme for new benchmark.

This commit is contained in:
Nick Martin
2013-11-05 15:29:31 -08:00
parent 28aa83d774
commit 4500a1aa6d
4 changed files with 10 additions and 51 deletions

View File

@@ -1,27 +1,12 @@
Parameters for simulation:
Each client creates a room when it starts up and joins that room plus
`roomsPerClient` other rooms.
Each document is randomly placed in a collection, with a random
'bucket' field. Clients sub to 1 bucket in each collection.
Every `talkativePeriodSeconds`, each client has a
`chanceClientIsTalkative` probability of being "talkative". If it is
talkative for that period, it will send one `messageSize` sized message
every `talkativeMessagesPerSecond` for the duration of the period.
- numCollections
how many collections to spread the documents over
- numBuckets
number of buckets per collection.
- initialDocuments: Inital documents added by the server. Probably
not usefully combined with maxAgeSeconds
- maxAgeSeconds: How long to leave documents in the database. This,
combined with all the various rates, determines the steady state
database size. In seconds. falsy to disable.
Per-client action rates:
- insertsPerSecond
- updatesPerSecond
- removesPerSecond
- documentSize: bytes of randomness per document.
// XXX make this a random distribution?
- documentNumFields: how many fields of randomness per document.
XXX also max documents? (count and remove N)
Old messages are deleted every `messageHistorySeconds` seconds. Old
rooms are deleted every `roomHistorySeconds`. `roomHistorySeconds`
should line up with the length a particular client dwells on the site
(typically part of the phantomjs script used to drive the clients.)

View File

@@ -1,9 +0,0 @@
{
"params": {
"numCollections": 1,
"numBuckets": 1,
"initialDocuments": 1024,
"documentSize": 2048,
"documentNumFields": 64
}
}

View File

@@ -1,10 +0,0 @@
{
"params": {
"numCollections": 1,
"numBuckets": 1,
"initialDocuments": 1024,
"updatesPerSecond": 0.2,
"documentSize": 1024,
"documentNumFields": 32
}
}

View File

@@ -1,7 +0,0 @@
{
"params": {
"numCollections": 1,
"numBuckets": 1,
"initialDocuments": 0
}
}