Skip to content
This repository has been archived by the owner on Jul 2, 2022. It is now read-only.

[Discussion] Database optimization #79

Open
KaMeHb-UA opened this issue Aug 14, 2018 · 4 comments
Open

[Discussion] Database optimization #79

KaMeHb-UA opened this issue Aug 14, 2018 · 4 comments

Comments

@KaMeHb-UA
Copy link
Contributor

There is few questions:
Comments duplicates in posts.. Is it really needed? Why shoud it be if client can query comments from /comments collection with sort and limit?
User data in posts and comments data. This is overingeneering, I think. Can client write only own id? This may be more scalable solution if there is no need to get all the comments with all the user data, isn't it?

@Qolzam
Copy link
Member

Qolzam commented Aug 14, 2018

@KaMeHb-UA Thanks for your questions. Sure there are more ways to optimize. Not only comments also posts and users, etc. However there are so many details need to be covered which is impossible with my narrow time. Not sure why people only want to to work and start the project again by themselves, instead of contributing like a team work so we can cover more features and optimizations.

Anyway, I expect for version alpha-1 to have search engine with Algolia, sms notification, email notifications, chat, data optimization, security extensions and other improvements. These are done but there is problem that for new version I need to go on on Firebase Pricing Plan which cost to show demo for users. I have to get support or set limitation for number of requests. I hope I can do that soon.

@KaMeHb-UA
Copy link
Contributor Author

Unfortunately, I (for now) can't help with optimizations because of I don't know TS, so now I writing live chat system in pure JS (wait for contributing😀)

@KaMeHb-UA
Copy link
Contributor Author

@Qolzam Will be able I to contribute pure JS code?

@Qolzam
Copy link
Member

Qolzam commented Aug 14, 2018

@KaMeHb-UA I really appreciate your contribution as always 😀 👍 . There is no different between TS and JS. only type that make the job easier and faster. In my opinion you need one or two days to get basic TS and it's enough for start.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants