codingchili / chili-core

Reactive framework for creating transport & storage-transparent microservices with Vert.x
https://codingchili.github.io/chili-core/
MIT License
14 stars 5 forks source link

AsyncStorage<Value>::values should return a Stream<Value> #248

Closed codingchili closed 5 years ago

codingchili commented 5 years ago

Current issues

codingchili commented 5 years ago

MongoDB, Hazel and ElasticSearch does not implement streaming/cursors for the values() invocation. This will however improve memory/cpu usage when iterating over in-JVM based storages. This will be enough for now. The method is not seeing much use to be optimized anyways.