Implemented Token Bucket algorithm for Rate limiting.
used Cron job to keep filling bucket after every 2 second,
After understanding the algo, It was fairly simple to implement it.
Stored timestamp as token into the bucket.
I have started Learning about System Design and I have learnt how a Rate limiting System is Designed.
Learned about :
- Token Bucket
- Leakey Bucket
- Fixed Window Counter
- Sliding Window Log
- Sliding Window Counter.
Building projects alone is great.
Building with a team is where you learn how software is actually made.
We're launching community-driven projects where members can contribute, collaborate, and gain hands-on experience working in a real development workflow.
What a session it was, got lot's of insights, how questions can be born from your own resume.
How you should approach a question and many more.
Looking forward for more such sessions.
Friday Discussion about HydrationBoundary, TanStack Query, SSR/CSR, hydration mismatches, Suspense, React Server Components, "use client", prefetching, cache transfer, selective hydration, SSR pitfalls, and Next.js App Router.
thanks for joining us for few minutes @nirudhuuu
I have been exploring go lang, so in the process of exploration and learning, I was able to understand ,
- Variable, Datatype
- http module,
- encoding json modules and other stuff,
Able to write my very first backend in go lang.
Next step to dive into it and build small todo