THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
基于海量时间序列元数据场景,测试在内存ID表中两者的性能
每时间序列标识长度为200字节,共有100万时间序列,其中measurement占用20字节每时间序列标识长度为200字节,共有1000万时间序列,其中有10万个device,每个device下有100个measurement,其中measurement占用20字节
数据结构为:Map<DeviceID, Map<String, SchemaEntry>>
...
- 插入性能(put)
- 查询性能(get)
- 内存占用
实验结果
插入性能(put)
原生HashMap | 堆外内存hashMap |
---|---|
594_212 record / s | 696_427 record / s |