Get the source code for this video for FREE → https://the-dotnet-weekly.kit.com/cur...
Want to master Clean Architecture? Go here: https://bit.ly/3PupkOJ
Want to unlock Modular Monoliths? Go here: https://bit.ly/3SXlzSt
Join a community of 1000+ .NET developers: / milanjovanovic
In-depth explanation here: https://dub.sh/cursor-pagination
*Small oversight in the video related to cursor pagination: we shouldn't always remove the last element, but only when there's a next page.
In this video, I reveal how switching to cursor-based pagination transformed my database performance, delivering a mind-blowing 400x speed improvement! Watch as I break down:
Why traditional offset pagination was killing my app's performance
How cursor pagination works behind the scenes
Step-by-step implementation guide you can follow today
Real query plan showing the 400x difference
If you're dealing with slow queries or pagination headaches, this is the solution you've been looking for. Don't miss the optimization tips at 8:46 that took my implementation to the next level!
Understanding Cursor Pagination and Why It's So Fast (Deep Dive)
https://www.milanjovanovic.tech/blog/...
Check out my courses:
https://www.milanjovanovic.tech/courses
Read my Blog here:
https://www.milanjovanovic.tech/blog
Join my weekly .NET newsletter:
https://www.milanjovanovic.tech
Chapters
0:00 Basics: Offset pagination
2:04 Why Offset pagination is slow
3:18 Cursor pagination - How to build
6:22 Demonstrating Cursor pagination
7:27 Deep dive: EXPLAIN ANALYZE
8:46 An index should fix it
9:55 THE SOLUTION
11:10 Translating with EF Core
コメント