Kicking off with JSON vs BSON today.
What changes when your “JSON object” actually lives inside a database?
Why did MongoDB create BSON in the first place?
Diving into how databases actually store and move data under the hood
@Monish697@purnima_twt@mahin_katariya
Took 2 peer classes in the #ChaiCode Web Dev Cohort and earned ₹10,000 in bounties!
Love how this cohort rewards students for teaching and lets them earn more than the course fee itself
Really grateful to all the mentors ❤️
@ChaiCodeHQ@Hiteshdotcom@piyushgarg_dev@nirudhuuu
Great peer session by @sameerbhagtani on monorepo.
full breakdown from basics, its requirement, why multi & mono repos, and setting it up with trpc & turborepo.
honestly the best peer class so far 🔥
@ChaiCodeHQ@nirudhuuu
Been inactive for weeks, but finally it’s done.
Sentinel, a custom OIDC & OAuth 2.0 implementation.
Feel free to check it out and share your thoughts:
https://t.co/EIrToKts8L
took me almost 3 weeks to build from scratch.
special thanks to @atharvdangedev for helping whenever I got stuck.
React Session 4 Notes
Takeaways:
- State is the single source of truth.
- Normal variables do not trigger UI updates.
- useState gives value and setter.
- Setter updates state and signals React.
- React creates new virtual DOM after update.
- React compares old and new virtual DOM.
- Only changed real DOM nodes are updated
- Component must return one parent node.
- Props pass data from parent to child.
- Every component instance has its own state.
- Keys help React identify list items.
- Do not use index as key when list changes.
- Do not mutate array/object state directly.
- Use new reference for state updates.
- Next.js improves first paint using SSR/server components.
- Use client components only where interactivity is needed.
for almost a year, i have been thinking to try mobile dev. have enrolled in @ChaiCodeHQ mobile dev cohort, by @surajtwt_ & @Hiteshdotcom .
done with the first lecture today on react internals, setup & folder structure. hope to start actual development in rn very soon.
#chaicode
HIgh Throughput Systems
coolest lecture so far, really loved the concept of kafka & the live location implementation was lit🔥
learned about high throughput systems, kafka producer consumer architecture, consumer groups, append only log systems & zero copy principle.
@Hiteshdotcom@piyushgarg_dev@nirudhuuu@surajtwt_@ChaiCodeHQ #chaicode
𝗦𝗼𝗰𝗸𝗲𝘁𝘀 & 𝗥𝗮𝘁𝗲 𝗟𝗶𝗺𝗶𝘁𝗶𝗻𝗴
great session on websockets, scaling & rate limiting.
learned about vertical & horizontal scaling, how websockets can be scaled using shared state & better architecture, valkey, & managing state across servers.
it’s not just about more servers, but how everything connects behind the scenes
@Hiteshdotcom@piyushgarg_dev@nirudhuuu@yntpdotme@surajtwt_@devwithjay@BlazeisCoding@ChaiCodeHQ
#chaicode