Simer

Results 78 issues of Simer

There are cases where multiple cached byte slices from `HashMap[FileId, Slice[Byte]]` are read and concatenated to complete a read request which currently requires copying (Related - #327). This copying can...

performance

## Overview The amount of bytes read per disk seek can be configured with [blockSize](https://swaydb.io/configuration/memoryCache/?language=scala) which defaults to 4098 bytes. If more than 4098 bytes are required by a read...

performance

Having the ability to directly allocate objects and byte-arrays off heap would be a major improvement. If [cacheSegmentBlocksOnCreate](http://swaydb.io/configuration/segmentConfig/?language=java&q=cache) is disabled then compaction bytes can be discarded immediately skipping the JVMs...

performance

## Issue `scala.Tuple2[T1, T2]`'s equivalent in Java is `KeyVal[K, V]` and `Pair[L, R]` which requires type conversion to `Tuple2` so it could be used by core. ## Solution Copy the...

performance
java

## Current behaviour Currently [variable-length encoding](https://developers.google.com/protocol-buffers/docs/encoding) is used by default for all data blocks (sortedIndex, hashIndex, bloomFilter etc) ## Issue All reads will read the `byte[]` into heap (cached if...

performance

## Current behaviour Currently compaction is allowed to close files without checking if its being read by another thread which requires reads to set checkpoints incase the file was closed...

performance

Suggested feature > Hi, is it possible to use cursors? For example if I have "abc" as a key and search for "ab" then I would like to cursor to...

feature

Implement [order preserving encryption](https://eprint.iacr.org/2012/624.pdf) to allow searchable encrypted data without requiring any decryption by SwayDB. So all data stored on disk will encrypted, ordered and searchable directly on encrypted keys...

feature

There are no external `core` dependencies other than LZ4 and Snappy which are not used unless [compression](http://swaydb.io/configuration/compressions/?language=scala&q=compression) is configured. So they should be installable. ```scala libraryDependencies += "io.swaydb" %% "lz4"...

good first issue
Improvement
core

Looking for use-case to compile SwayDB to Scala.js (#1). Listing out some use-cases here - On the browser, a [Map](http://swaydb.io/quick-start/?language=scala/) could be used to store cookies as a simple key-values....

discuss
future task