SwayDB icon indicating copy to clipboard operation
SwayDB copied to clipboard

Searchable Log API

Open simerplaha opened this issue 5 years ago • 0 comments

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.

simerplaha avatar Apr 05 '20 05:04 simerplaha