Skip to content
This repository was archived by the owner on Jan 9, 2025. It is now read-only.
This repository was archived by the owner on Jan 9, 2025. It is now read-only.

why the microstream write performance is not good as DB? microsteam write cost is about 100ms+ #688

@useryq8

Description

@useryq8

the original issue is microstream-one/bookstore-demo#10, the actual write cost is very bad.
the batch mode can't be used for the actual case is that every user add one book and it needs to be stored into microstream to avoid data lost when app shutdown or machine shutdown accidentally.

Do we have any best practice when using microstream, for example StorageEntityCache.Default.setGarbageCollectionEnabled(false); or set housekeeping to 24housr/15min, then call the issueGarbageCollection explicitly at scheduled time ?

such as, only using in reading scenario, not use in writing scenario(write all thing when app starts, not write in real-time when app is running).image

arthas(https://github.com/alibaba/arthas) analysis log
image
@fh-ms @hg-ms

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions