Giter Club home page Giter Club logo

Comments (7)

bluestreak01 avatar bluestreak01 commented on May 16, 2024

NFSdb bottleneck is not with disk. Memory Mapped files are perfectly efficient to achieve more than NFSdb does. Speed is a traid off of functionality. Index, partitioning and object reflection take most of the time.

Also making journal not make mapped files and than spill over will be very inefficient.

from questdb.

sirinath avatar sirinath commented on May 16, 2024

May be you can option that avoids indexing and partitioning incase you just write and read from the journal as a queue. (With auto commit.) A client can just read it and pipe it into another journals each being a queue based on an allocation methodology and applying a filer. Similarly you can pipe into multiple journals which the clients can read independently.

I am not sure how IO scales with multiple journals but will this be faster? At Least if might be functionally superior by having messaging patterns (#14).

from questdb.

bluestreak01 avatar bluestreak01 commented on May 16, 2024

Partitiioning and indexing are fully optional and both are off by default. You can try to see if performance suits your use case. I'll cover auto-commit under issue #9.

BulkWriter and BulkReader work at about 95% of performance of non-bulk variants and provided they only do sequential writes/reads they are not affected by your RAM size even. They'll work at constant rate until you run out of disk space. I think they cover the spill over problem in most efficient way possible albeit at a slight overall performance loss.

from questdb.

bluestreak01 avatar bluestreak01 commented on May 16, 2024

there is a major new functionality coming in version 3.0, which may have an influence on subject of in-memory only store. Let keep this closed until than to keep backlog clear.

from questdb.

sirinath avatar sirinath commented on May 16, 2024

OK. The only part may be an issue.

from questdb.

bluestreak01 avatar bluestreak01 commented on May 16, 2024

Do tell more :)

from questdb.

sirinath avatar sirinath commented on May 16, 2024

What you run out of memory. Can you spill into disk?

from questdb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.