Design an ML Recommendation Engine | System Design

  Рет қаралды 18,637

Interview Pen

Interview Pen

Күн бұрын

Пікірлер: 21
@shreys3
@shreys3 9 ай бұрын
These are incredibly well made and well articulated videos. Thank you!
@interviewpen
@interviewpen 8 ай бұрын
Thanks!
@beautifulveneer
@beautifulveneer 3 ай бұрын
In the beginning the model output is the probability that a given post will be liked by a given user. One thing missing is how the worker jobs processing the new post queue scale to millions of users (or followers if only applying to posts by users that are followed) and what is cached. Another thing is resiliency around post to queue and write to database. A lot of dbs stream data so that is one potential solution. Good job though.
@alirezakhorami
@alirezakhorami 8 ай бұрын
Amazing job, I love your videos about data, keep rocking
@interviewpen
@interviewpen 8 ай бұрын
Thank you!
@estebanmurcia8451
@estebanmurcia8451 3 ай бұрын
7:49 i have a question here, if the inference server is distributed, would the cache still be a single "instance"? if not, how would the api know from what server should it get the corresponding data for a specific user?
@beautifulveneer
@beautifulveneer 3 ай бұрын
The inference service would be stateless and use a scalable distributed cache such as redis.
@interviewpen
@interviewpen 3 ай бұрын
A caching service such as Redis is shared, so data can be distributed across instances. We have a whole video on sharding at interviewpen.com :)
@chrisogonas
@chrisogonas 4 ай бұрын
That was incredibly useful. Thanks
@interviewpen
@interviewpen 4 ай бұрын
Glad it helped :)
@chrisogonas
@chrisogonas 4 ай бұрын
@@interviewpen 👍
@motbus3
@motbus3 9 ай бұрын
I see you used Airflow for generic approach, but Argo has easier integration with MLFlow
@interviewpen
@interviewpen 8 ай бұрын
Good to know, thanks!
@RiwenX
@RiwenX 9 ай бұрын
So you have to retrain the model for each new user?
@JohnSmith-op7ls
@JohnSmith-op7ls 9 ай бұрын
You can train a model to simply correlate various demographic attributes to liking certain things, then it can guess based on new user demographics. You can get more elaborate and first try to find if there are strong correlations between cohorts of certain baskets of demographics, then use that, alone or in combination with individual demographic attributes. Basically you have to run the numbers to see what produces the best recommendations. You wouldn’t have nearly enough data on new users to be statistically relevant in a data set large enough to itself be statistically relevant. Over time you’d want to,retrain the model as enough new data on new and existing users is added. Otherwise the model’s accuracy can drift.
@interviewpen
@interviewpen 8 ай бұрын
Not necessarily--the model can still make guesses based on the behaviors of other users along with whatever data you feed it during inference. However updating the model with a user's past behaviors will increase accuracy. Hope that helps!
@ALWALEEDALWABEL
@ALWALEEDALWABEL 9 ай бұрын
Why do you hide their names? Why is the teacher's name not put on the video? Is there something you are ashamed of?
@drhxa
@drhxa 4 күн бұрын
What are you even talking about? It was a great video
@tanishkmahakalkar761
@tanishkmahakalkar761 9 ай бұрын
First!💯🔥
@semyaza555
@semyaza555 9 ай бұрын
SECOND 😈
@pieter5466
@pieter5466 9 ай бұрын
Last
Design a Data Warehouse | System Design
14:08
Interview Pen
Рет қаралды 32 М.
When to Use Kafka or RabbitMQ | System Design
8:16
Interview Pen
Рет қаралды 157 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Machine Learning System Design (YouTube Recommendation System)
13:01
Quick recap on the state of language model reasoning
16:22
Interconnects AI
Рет қаралды 2,3 М.
Basic System Design for Uber or Lyft | System Design Interview Prep
16:18
Scalability Simply Explained in 10 Minutes
9:20
ByteByteGo
Рет қаралды 54 М.
HTTP/1.1 vs HTTP/2 vs HTTP/3 | System Design
6:26
Interview Pen
Рет қаралды 6 М.
Good APIs Vs Bad APIs: 7 Tips for API Design
5:48
ByteByteGo
Рет қаралды 254 М.
Don't Learn Machine Learning, Instead learn this!
6:21
Deepchand O A
Рет қаралды 124 М.