SwayDB
SwayDB copied to clipboard
Searchable Log API
A simple benchmark on 1 million logs with logback-classic took 4.5 seconds and SwayDB with MMAP enabled took 2.2 seconds which is twice as fast.
A Log API similar to Map, Set & Queue could be useful.
We could structure the keys and values and order them to make logs searchable and answer questions like
- show all logs between timeA and timeB for classA and classB.
- show logs after or before timeA
- show logs that contain some text
- etc
Leaving this task open for discussion and ideas.