Uh oh!
There was an error while loading. Please reload this page.
PHOENIX-6432 Add support for additional load generators - #1211
Conversation
jpisaac
commented
Apr 26, 2021
stoty
commented
Apr 26, 2021
💔 -1 overall
This message was automatically generated. |
| import org.apache.phoenix.pherf.rules.RulesApplier; | ||
| import org.apache.phoenix.thirdparty.com.google.common.collect.Sets; | ||
| import org.apache.phoenix.pherf.configuration.*; |
There was a problem hiding this comment.
nit: can you fix the import * here
| // This holds the info whether the tenant view was created (initialized) or not. | ||
| return BloomFilter.create(tenantViewFunnel, numTenants, 0.01); | ||
| return BloomFilter.create(tenantViewFunnel, numTenants, 0.0000001); |
There was a problem hiding this comment.
why did we change from 0.01 to 0.0000001?
There was a problem hiding this comment.
https://hur.st/bloomfilter/?n=1000000&p=1.0E-7&m=&k=
This shows that the space requirements are not that large for 1M items, for a false-positive probability of 1 in 10
million
| @@ -0,0 +1,52 @@ | |||
| package org.apache.phoenix.pherf.workload.mt.generators; | |||
| @@ -0,0 +1,169 @@ | |||
| package org.apache.phoenix.pherf.workload.mt.generators; | |||
| @@ -0,0 +1,25 @@ | |||
| package org.apache.phoenix.pherf.workload.mt.generators; | |||
| @@ -0,0 +1,194 @@ | |||
| package org.apache.phoenix.pherf.workload.mt.generators; | |||
| @@ -0,0 +1,169 @@ | |||
| package org.apache.phoenix.pherf.workload.mt.generators; | |||
| import com.beust.jcommander.internal.Maps; | |||
There was a problem hiding this comment.
what's the benefit of not using com.google.common.collect.Maps?
| package org.apache.phoenix.pherf.workload.mt; | ||
| import com.google.common.collect.Lists; | ||
| import com.lmax.disruptor.WorkHandler; |
There was a problem hiding this comment.
why do we need this WorkHandler?
There was a problem hiding this comment.
yes. I didn't see the usage in this class
stoty
commented
May 6, 2021
💔 -1 overall
This message was automatically generated. |
stoty
commented
May 6, 2021
💔 -1 overall
This message was automatically generated. |
stoty
commented
May 6, 2021
💔 -1 overall
This message was automatically generated. |
No description provided.