4 ms·
Hello siscia, do you have any benchmark against a sqlite Db on Ramdisk?
by azureel 10y ago
Hello siscia, do you have any benchmark against a sqlite Db on Ramdisk?
- siscia 10y agoHi Azureel, benchmark are a little tricky in this situation. You are sending data to the redis instance, that read your statement and pass it to the module, the module execute and finally reply. And everything really depends on your network and load on redis itself. However, to just give some number on my machine I do 1000 insert on 0.6 seconds, the longest insert took 0.01 second and overall I can claim a total of 1000 / 0.6 => 1600 insert per second. Consider that each insert is a isolated transaction. The test I run is exactly the one you can find here: https://github.com/RedBeardLab/rediSQL/blob/381e3796ad31c231719380afb92352c54b244b8c/test/performance/rediSQL_bench.py https://github.com/RedBeardLab/rediSQL/blob/381e3796ad31c231... Of course, if you start to insert JOINS everything is slowing down. Also please consider that, at the moment, it is a BLOCKING version, while executing the statements redis itself is waiting. Finally I believe there are possibilities to improve this numbers.