Ever processed millions of rows without killing your memory?
That’s what cursors do: stream DB results in chunks instead of loading them all at once.
Use them when:
✅ Large data exports
✅ ETL pipelines
✅ Batch jobs
Know when to iterate smart.
#Backend#SystemDesign#Software
Why might Open AI moved from nextjs to remix??
More than double the speed of streaming in remix when compared to next??
Thoughts….?
#WebDev#nextjs#vercel#remix#openai#chatgpt
@im_sumanth Good question.
both have O(1) time complexity, and types are erased during compilation ☺️ compiler takes care of it. No worries 😉
#codeperformance#efficientcoding
🚀 Dive into the power of #TypeScript! 🛠️ Combine types like a pro & for scalable code. 🎯🤝 #DevCommunity#TypeScriptTips#Coding#Code#WebDev#Programming
type Flying = { fly: () => void };
type LaserVision = { shootLaser: () => void };
type SuperHero = Flying & LaserVision;
We remain committed to our partnership with OpenAI and have confidence in our product roadmap, our ability to continue to innovate with everything we announced at Microsoft Ignite, and in continuing to support our customers and partners. We look forward to getting to know Emmett Shear and OAI's new leadership team and working with them. And we’re extremely excited to share the news that Sam Altman and Greg Brockman, together with colleagues, will be joining Microsoft to lead a new advanced AI research team. We look forward to moving quickly to provide them with the resources needed for their success.
What is GraphQL? Is it a replacement for the REST API?
The diagram below shows the quick comparison between REST and GraphQL.
🔹GraphQL is a query language for APIs developed by Meta. It provides a complete description of the data in the API and gives clients the power to ask for exactly what they need.
🔹GraphQL servers sit in between the client and the backend services.
🔹GraphQL can aggregate multiple REST requests into one query. GraphQL server organizes the resources in a graph.
🔹GraphQL supports queries, mutations (applying data modifications to resources), and subscriptions (receiving notifications on schema modifications).
We talked about the REST API in last week’s video and will compare REST vs. GraphQL vs. gRPC in a separate post/video.
Over to you:
1). Is GraphQL a database technology?
2). Do you recommend GraphQL? Why/why not?
—
Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): https://t.co/oxMBsTqaGS
📢 Dive into the Magic of React's Virtual DOM! ✨
React's Virtual DOM is a game-changer in web development. 🎯
🧠 It's a lightweight representation of the actual DOM that enhances performance and efficiency by minimizing unnecessary re-renders.
#ReactJS#VirtualDOM#webdev#JS
📢 Supercharge your React apps with Intelligent Rendering! ✨🎯
With React's intelligent rendering, you can optimize performance by selectively updating only the components affected by state or prop changes. ⚡️ Say goodbye to unnecessary re-renders!
#ReactJS#FrontEndDevelopment
📢 Dive into JS: Unleash the Magic of Currying! 🎯
Currying simplifies complex functions by breaking them down into reusable, single-argument functions. 🧙♂️
Example:
```
const add = a => b => a + b;
const add5 = add(5);
const res = add5(3); // Outputs 8
```
#JavaScript#webdev