-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
POC performance gain with a Email/list method #1496
Labels
Comments
My solution is adding extra columns to CassandraEmailQueryViewTable. Currenlty, the table looks like:
I would add some extra fields so that there is no need to query from message table:
|
@hungphan227 please do not take this task. Pick another development task
Pffff its obvious one should base this on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The idea: combines
Email/query
andEmail/get
in one go.Why? Because it would do a single DB query do load all mails, instead of N.
I am mostly curious to know the possible performance gains with this approach.
I know we would remain 1 read per message for the preview and one other read per message for the headers... But theoretically this could be a 33% perf benefit for INBOX listing, which is quite common so worth a try...
Also it might allow reducing the JSON chatter a bit.
Spec
Definition of done
The text was updated successfully, but these errors were encountered: