Skip to content

Too many channel manager writes in LDK? #2502

@moneyball

Description

@moneyball

From LDK Discord, @TonyGiorgio:

"One thing I'm realizing now is how often channel manager saves. Like after a single reload it makes dozens of saves under a second apart.

just noticed all the network requests."

...

"channel manager writes by our account look insane atm.

I brought it up once before and it was sort of a "yeah they do that" kind of thing. Not sure why, but I've also chatted with other LDK implementers and that seems to be the consensus. I don't know if there's something wrong on our end, or LDK, or if there's an open issue or not.

But our DB just crapped itself because of it so we need to figure it out. Though it's possible it's not related to the high writes, it's just the only database that had a problem.

i also suspect that's why browser storage policies kick in and stop writing to disk sometimes too."

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