Skip to content

Implement wildduck's storage architecture for efficiency and scalability #291

@figassis

Description

@figassis

Use case

What problem you are trying to solve?
Maildir is less space efficient and less scalable than a clustered database as a mail store.

Note alternatives you considered and why they are not useful.
I've tried using Maildir over an S3 backend, but performance can be an issue.

Your idea for a solution

Compress messages, deduplicate attachments and store in a clustered database like MongoDB.

How your solution would work in general?
Wildduck stores messages and attachments in MongoDB. It compresses data and deduplicates attachments, greatly reducing storage requirements and allowing us to easily scale our deployments. I currently use it in production and works great.

  • I'm willing to help with the implementation

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions