Skip to content

Latest commit

 

History

History

plugins

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

/ mohawk / plugins

Storage Plugins

Mohawk architecture makes it easy to implement and set up storage plugins for new data storage. The storage directory include documentation, examples and a template for plugin development.

Current storage plugin list include:
Plugin name Storage Advantages Use case
memory Memory No storage ware and tear from fast I/O Fast I/O, no need for persistence data
sqlite Local File No data loss on network outages Persistence data, W/O external data base
mongo Mongo DB High availabilty, High volume storage Long term H.A. storage

Storage plugins Benchmarks

Plugin Time %CPU RSS byte
memory 0m2.011s 0.2 - 5.5 7456 - 11028
mongo (2) 0m4.885s 0.5 - 0.8 11892 - 11892
sqlite3 0m14.471s 0.2 - 7.4 8416 - 12560

(1) Description: 1000 writes + 1000 reads ( benchmark.py ) less is better.

(2) the mongo usage metrics does not include usage of the mongodb server.

Chart: different Plugins vs. Run Time

Time chart