Want to know how I grew rapidly as a developer? I took popular apps, and made a lot of research about how they built their app, and how I would build a clone with today's modern technologies. I have learnt tons this way.

โšก๏ธHere's how I would build a Youtube Clone today ๐Ÿ‘‡

1. ๐Ÿ“Š Databases: Apache Cassandra (amazing alternative to MongoDB) is built for scale and can handle millions of writes per second as we scale. Redis would be perfect for storing tiny pieces of data that change fast such as likes, views, upload progress and queue jobs.
2. โ›ˆ๏ธ Frontend: ReactJS has proven to scale really nicely with application size. I'll add Next.js for server-side rendering of pages. Tailwind CSS would be perfect for styling, since we can style the whole thing with literally 25kb of CSS.
3. ๐Ÿ‘จโ€๐Ÿญ Backend: Node.JS can handle it ! So Fullstack javascript all the way ๐Ÿš€. We will also be able to use Node.js to stream uploads directly to third-party services, so that's awesome. It's fast, scalable, and we can deploy easily to any cloud.
4. ๐Ÿ˜ˆ Videos: The biggest pain. First I'll stream all uploads from Node.JS to AWS S3. When the file is uploaded to s3, a lambda will pick it up and send to AWS MediaConvert. This will convert the file into streamable .m3u8 format. Can be 2 conversions or 6, depends on the ...
...file uploaded. During the Upload, the Lambda can send API calls to the NodeJS backend so we show the progress to the user. Once the upload is done, the Lambda pings us again.
5. ๐Ÿฅธ Deployment: Github actions for continuous delivery, Kubernetes for the backend, and managed Cassandra and Redis instances somewhere in the cloud.
6. ๐Ÿฆท Liked it? Try it out. Pick an exciting project. Plan out how you'll build it with the technologies you know and share with me !

Thank you for reading this far ๐ŸŽ‰

Got better ideas on how to build a Youtube clone today ? Share your ideas below ๐Ÿ‘‡

More from All

You May Also Like

๐™Ž๐™๐™–๐™ง๐™ž๐™ฃ๐™œ ๐™ข๐™ฎ ๐™ฌ๐™ž๐™จ๐™™๐™ค๐™ข ๐‘พ๐’๐’'๐’• ๐’ƒ๐’† ๐’”๐’–๐’“๐’‘๐’“๐’Š๐’”๐’†๐’… ๐’Š๐’‡ ๐’•๐’๐’Ž๐’๐’“๐’“๐’๐’˜ ๐’– ๐’“๐’†๐’‚๐’… ๐’•๐’‰๐’† ๐’”๐’‚๐’Ž๐’† ๐’”๐’•๐’–๐’‡๐’‡ ๐’Š๐’ 50๐’Œ ๐’˜๐’๐’“๐’Œ๐’”๐’‰๐’๐’‘ ๐’๐’“ ๐’”๐’๐’Ž๐’†๐’๐’๐’† ๐’Ž๐’‚๐’๐’‚๐’ˆ๐’Š๐’๐’ˆ ๐’š๐’๐’–๐’“ ๐’Ž๐’๐’๐’†๐’š ๐’˜๐’Š๐’•๐’‰ ๐’”๐’‚๐’Ž๐’† ๐’๐’๐’ˆ๐’Š๐’„
Simple and effective way 2 make Money


Idea 1:- Use pivot level like 14800 in case of nifty and sell 14800straddle monthly expiry (365+335) exit if nifty closes on daily basis below S1 or above R1

After closing below S1 if it closes above S1 next day or any day enter the same position again vice versa for R1

Idea2:- Use R1 and S1 corresponding strikes multiple
Incase of R1 15337 take 15300ce
N in case of S1 14221 use 14200pe
Sell both and hold till expiry or exit if nifty closes below S1 or above R1 around closing
If the same bounces above S1 and falls below R1 re-enfer same strikes

Use same criteria for nifty, usdinr and banknifty

(This is must)Use this margin rule for 1lot banknifty pair keep 4Lax margin
For nifty one lot keep 3Lax
For usdinr 100lots keep 4Lax

I bet you if you do this on consistent basis your ROI will be more than 70% on yearly basis.

Couldn't explain easier than this

Criticisms are most welcomed.