Skip to content
This repository was archived by the owner on Nov 4, 2020. It is now read-only.
This repository was archived by the owner on Nov 4, 2020. It is now read-only.

Performance issues with 3000+ files #14

@ZetaTwo

Description

@ZetaTwo

Faxes started to fail due to timeouts. I have about 3000 sent faxes at a total of ~700mb

> db.faxFile.stats()
{
	"ns" : "vapor.faxFile-backup1",
	"size" : 745257940,
	"count" : 3050,
	"avgObjSize" : 244346,
	"storageSize" : 728104960,

Removing all old files by running

> db.faxFile.renameCollection("faxFile_backup1")

Got rid of the issue. In my opinion, 3000 files totalling 700mb isn't that much data and it feels like there is some kind of inefficiency in the code. Unfortunately, I haven't had the time to look closer to try to see what the problem could be or how it could be improved but I post this here in the meanwhile as a start for further investigation.

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