我正在考虑将FastDB用于时间序列数据,在一个项目中,1)亚毫秒的随机访问读取延迟,以及2)每秒数百万行的顺序读取吞吐量将是非常好的.
我找不到很多关于FastDB第一手经验的参考资料;这里有人用它吗?你能指出FastDB的任何基准测试,特别是那些考虑读取延迟和吞吐量的基准测试吗?
解决方法
If you don’t want to spend too much time coding C++,since you have
already done good work of abstracting mnesia backend,why don’t you
create an Erlang driver for this database: www.fastdb.org. It’s based
on memory mapped files,implemented in C++,is relatively fast compared
to other in-memory databases (about 250k lookups/s,50k inserts/s),has
time-series capabilities,simple C-API. I implemented FastDB interface
in several languages,and generally it’s good for systems that deal with
latencies in sub-milliseconds range. It may suffice for you unless you
need to stay in the low microseconds realm.My 2c.
Serge
看到人们在低微秒内担心延迟是非常令人生畏的;我正在考虑将FastDB用于数字信号处理(DSP),其中现场音频系统通常将延迟限制在不超过10毫秒.当然,如果系统以毫秒为单位响应,我们可能会使用长度仅为几微秒的输入脉冲.
没有提到什么系统用于250K查找/秒,50K插入/秒.不过,这是一个积极的迹象.