From d46fc4ee01373c227876d26224d31df7690c9239 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Sun, 18 Feb 2024 11:23:02 +0100 Subject: [PATCH] reword concl --- content/blog/2024-ram-usage-encryption-s3/index.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/content/blog/2024-ram-usage-encryption-s3/index.md b/content/blog/2024-ram-usage-encryption-s3/index.md index 3076d9f..d5b983c 100644 --- a/content/blog/2024-ram-usage-encryption-s3/index.md +++ b/content/blog/2024-ram-usage-encryption-s3/index.md @@ -404,11 +404,14 @@ and we will take decisions about these points when it will be *really* required. Back to the question "Does Aerogramme use too much RAM?", it of course depends on the context. -For now, we want to start with 1 000 users, a 1k email INBOX, and a server of 8GB of RAM, -and Aerogramme seems ready for a first deployment in this context. Of course, in the long term, -we expect better ressource usages. +We want to start with 1 000 users, a 1k email INBOX, and a server of 8GB of RAM, +and Aerogramme seems ready for a first deployment in this context. +So for now, the answer could be "No, it does not". -Based on this benchmark, I identify 3 low-hanging fruits to improve performances that do not require major design changes: 1) in FETCH+SEARCH queries, handling emails one after another instead of loading the full mailbox in memory, 2) streaming FETCH responses instead of aggregating them in memory, and 3) reducing the RAM usage of a base user by tweaking its Garage connectors configuration +Of course, in the long term, +we expect better ressource usages, and I am convinced that for many people, today the answer is still "Yes, it does". + + Based on this benchmark, I identified 3 low-hanging fruits to improve performances that do not require major design changes: 1) in FETCH+SEARCH queries, handling emails one after another instead of loading the full mailbox in memory, 2) streaming FETCH responses instead of aggregating them in memory, and 3) reducing the RAM usage of a base user by tweaking its Garage connectors configuration. Collecting production data will then help priorize other, more ambitious works, on the authentication side, -on the idling side, and on the email streaming side. +on the idling side, and on the email streaming side.