2 ms·
This is cool. The world could definitely use more email server implementations, even if JS isn't my cup of tea. Have you considered supplementing Mongo with bl
by Felz 7y ago
This is cool. The world could definitely use more email server implementations, even if JS isn't my cup of tea.
Have you considered supplementing Mongo with block storage like S3, though? I've found it to be a pretty much perfect match for storing immutable mail messages.
- andris9 7y agoFor messages no, for attachments yes. WildDuck parses stored messages and separates attachments from rest of message data. Deduplicated attachments are then stored to MongoDB as GridFS files but this could be just as well S3 in the future. Message data needs to be in Mongo because of indexing and speed, attachments do not have such requirements and could be stored anywhere.