This website requires JavaScript.
Explore
Help
Sign In
mahdium
/
CatsOfMastodon
Watch
1
Star
0
Fork
0
You've already forked CatsOfMastodon
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
bb950b97a77f7a905886be597808f7915049d570
CatsOfMastodon
/
PersonalNotes
/
faster-query.md
Mohammad Mahdi
4ce1b29d86
Update some packages - Add some personal notes
2025-02-26 13:59:41 +03:30
181 B
Executable File
Raw
Blame
History
How did I go from 4 second on each API request to under 1 second?
1. Using projection to limit fields
2. Using proper indexes
3. Using $sample along with aggregation