Nice Content !. always there are new techniques to learn which never ends.
@Techie0072 жыл бұрын
Thank you so much
@AmanSharma-vb5jl2 жыл бұрын
you taught it like a story amazing ,complete imagination got created in brain ,thanks bro
@Techie0072 жыл бұрын
Glad you liked it.
@mpboardupdates Жыл бұрын
Great Explanation🤞🤞🤞
@Techie007 Жыл бұрын
Thank you.
@astrix88122 жыл бұрын
Just yesterday I was trying to find some old messages(from 2017) on an old discord server and I was blown away by the fact that discord was able to fetch those old messages so quickly which made me think about this particular topic and today I received your video notification! Thank you very much for sharing this, it was very informational!
@astrix88122 жыл бұрын
Also, although I like how you easily explain things, I have a small suggestion. Please do add more diagrams or small animation kind of thing if possible.
@Techie0072 жыл бұрын
Thank you so much. Glad you found it useful. Will surely try to add more diagrams and animations
@astrix88122 жыл бұрын
@@Techie007 That awesome! Thank you very much
@ujjawal_2 жыл бұрын
way you explained is amazing. I haven't read system design yet but understood it.
@Techie0072 жыл бұрын
Thanks Ujjawal. That's great to hear.
@mangaRoxo2 жыл бұрын
Great info
@Techie0072 жыл бұрын
Glad it was helpful!
@maheshrajput17032 жыл бұрын
Thank you for awesome content! 👏
@utkarshahunungare94522 жыл бұрын
Informative video👍Great learning today
@Techie0072 жыл бұрын
Glad to hear that
@yashswarnkar17022 жыл бұрын
Thanks for this. One suggestion when you were introducing the new concepts[ES, discord shards, lucene] it didn't actually connect well with the overall arch due to the info overload. One way would be to present the overall arch first and then deep dive into components. Something that you did while summarising. Follow up question: What happens when we have to store messages for years and allow search over it? Do we use hot-warm clusters?
@Techie0072 жыл бұрын
Thanks for the suggestion Yash. I will definitely keep this in mind. I think Hot-Warm clusters is not for this use-case. This can be used: www.elastic.co/guide/en/elasticsearch/reference/current/rollup-understanding-groups.html
@gokulkrishnan74272 жыл бұрын
Great content 🔥
@Techie0072 жыл бұрын
Thank you
@SuryanshuDinkar2 жыл бұрын
very very informative
@Techie0072 жыл бұрын
Thank you
@namansingh37632 жыл бұрын
Great Video!
@Techie0072 жыл бұрын
Thanks!
@ZoySauce2 жыл бұрын
Amazing content as always! Thanks for teaching us in such a fun way! 😇
@Techie0072 жыл бұрын
Thank you so much. Means a lot
@destroyerYT-d4s2 жыл бұрын
really valuable content
@Techie0072 жыл бұрын
Thank you
@logitechmr77622 жыл бұрын
Hi @Technie007, I love the note of steps that you wrote on linkedin. could you please add these note steps on the description(show more). thanks a lot!!! ❤
@Techie0072 жыл бұрын
Sure. I will add them.
@shwetashukla62972 жыл бұрын
Could it store keywords to be mapped with messageId only, why timestamp is required, just wanted to know if messageId would be sufficient or not?
@Techie0072 жыл бұрын
Timestamp helps to query range of messages. Like Get me messages in a particular date range. This helps to create a paginated response.
Can you please point to an article if there is any.
@Techie0072 жыл бұрын
Official article: discord.com/blog/how-discord-indexes-billions-of-messages My article: sukhadanand.medium.com/how-discord-indexes-billions-of-messages-f242e605e47c
@mahanteshambali2 жыл бұрын
@@Techie007 thank you very much. 👍
@vicky10352 жыл бұрын
Great video. I guess discord recently switched to scylla db instead of cassandra
@Techie0072 жыл бұрын
Thanks for sharing. Will check it out.
@kongzilla28972 жыл бұрын
When I type something on search bar the suggested messages(drop down) will change(dynamically) while I type... So my doubt is when is the request to elastic search done? Does it go for every character I type? If so then the keys must be not just the words but also their prefixes ( Like for word "drinking" I get suggestion for all "dri" or "drink" or "dr" ) ..So so much memory will be used to make the mappings even for a small message? Btw it was a great video :)
@Techie0072 жыл бұрын
Hi, it does not make a call when you are typing. The suggestions you get while you are typing are type suggestions which you get on all websites and that is handled differently. The call is made when you press enter and it shows searching on the top and then brings all the messages with the word which you searched as highlighted.
@saurabhsharma30092 жыл бұрын
search engines do provide the flexibility to index all ngrams of a token to facilitate prefix searches . That feature can be utilised while indexing the data.
@somakkamos2 жыл бұрын
I didn’t understand the storing of message id piece…if someone cn kindly shed some light So if text is cst is drinking water…. Es saves it as cat =message id, is=messageid,drinking=messageid.. Isnt that the same case as saving the whole text..??? How is data savings achieved.
@Techie0072 жыл бұрын
"Cat is drinking the water" - storing complete sentence multiple times takes more memory than storing id multiple times.
@nsandeep7574 Жыл бұрын
How are messages encrypted when the sentences are able to been broken down?
@Techie007 Жыл бұрын
You can do both - Break Down the Message to generate keys And store the final message - the value as encrypted. When there is a query - reach the value - final message - decrypt it - give it to the user.
@tyrellwreleck42262 жыл бұрын
Cassandra was created by facebook and they released it for free. Insane.