mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
update params files and readme for new benchmark.
This commit is contained in:
@@ -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.)
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"params": {
|
||||
"numCollections": 1,
|
||||
"numBuckets": 1,
|
||||
"initialDocuments": 1024,
|
||||
"documentSize": 2048,
|
||||
"documentNumFields": 64
|
||||
}
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
{
|
||||
"params": {
|
||||
"numCollections": 1,
|
||||
"numBuckets": 1,
|
||||
"initialDocuments": 1024,
|
||||
"updatesPerSecond": 0.2,
|
||||
"documentSize": 1024,
|
||||
"documentNumFields": 32
|
||||
}
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
{
|
||||
"params": {
|
||||
"numCollections": 1,
|
||||
"numBuckets": 1,
|
||||
"initialDocuments": 0
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user