Hi,
1. Summary: Throughput of 'publish' is ~5.96 ops/s. Is this expected?
2. System configuration
Machine: Windows 7, Desktop, 12 hyper-threaded cores, 16GB RAM, SSD drive
Multichain: 1.0-alpha-24
Client: Java 1.8.0_91, Vert.x
3. Operation Steps (pseudo code)
3.1 Warmup
create stream "accounts" true
for (i from 1 to 10) {
account = "account-" + i
when(publish "accounts" account hex("active")).then(publish "accounts" account hex("inactive")
}
All calls to 'publish' are performed concurrently.
3.2 Run
for (i from 11 to 1000) {
account = "account-" + i
when(publish "accounts" "account-"+i hex("some data")).then(publish "accounts" account hex("inactive")
}
All calls to 'publish' to create "accounts" are carried out asynchronously and concurrently.
We measure the duration for each 'publish'.
4. Result
mean-time: 5.96 ops/second
Is this expected? Seems rather slow.
kind regards,
farzad