Skip to content
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

Enhancement Chat Service Database Solution - Chat Logs and Messages #293

Open
parhamrahmani opened this issue Jan 7, 2025 · 2 comments · May be fixed by #297
Open

Enhancement Chat Service Database Solution - Chat Logs and Messages #293

parhamrahmani opened this issue Jan 7, 2025 · 2 comments · May be fixed by #297
Assignees
Labels
enhancement New feature or request thesis Suitable for a thesis

Comments

@parhamrahmani
Copy link
Contributor

parhamrahmani commented Jan 7, 2025

Description

Related to this thesis issue

This issue should be an enhancement on the existing approach for chat logs and messages that was presented in my last pull request

Motivation

Existing problem: all chat messages from all chat sessions would be stored on a single table that may cause bloat and scalability issues (can't be scaled horizontally) and is not ideal for bigger volumes.

Details

Possible solutions:

  • A NoSQL document database for chat messages that can organize chat messages to collections of documents instead of a single SQL table, which makes it possible for scaling horizontally. Ideal for larger, semi-structured data.
  • or implementing a partitioning/sharding logic for the chat message table to avoid bloat and make it possible for horizontal scaling and ideal for bigger volumes.
@parhamrahmani
Copy link
Contributor Author

@astanik I am already working on this here. This is a needed part of the thesis, but if you see this as a not needed enhancement, i can just develop this on the forked branch and don't merge it here.

@astanik astanik added enhancement New feature or request thesis Suitable for a thesis labels Jan 8, 2025
@astanik
Copy link
Contributor

astanik commented Jan 8, 2025

@parhamrahmani If you would like to develop this enhancement as part of your thesis anyway, then you can do so via this issue and we will evaluate the result after completion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request thesis Suitable for a thesis
Projects
None yet
2 participants