Rituraj Borpujari
banner
riturajborpujari.bsky.social
Rituraj Borpujari
@riturajborpujari.bsky.social
Coder | Problem Solver | Technology Enthusiast

I write at https://riturajborpujari.com/posts
But unix like kernels only supports an integer.
April 23, 2025 at 3:31 PM
Okay maybe I'm overthinking here, why not just use an aggregation query that hydrates child records by using $lookup?
That turned out to be faster as the calls to mongodb were few

Also, updated the $projection clause to select only the required fields.

Result: 200 hydrated parents in 2s!!!
May 4, 2024 at 8:16 AM
So the method queried the parents at one go first and then collected all the child IDs into an array and then make batched calls to find those child records.

Tried changing the find logic the other way around, search for children by using `parent: <PARENT_ID>` for all parents.

That is faster
May 4, 2024 at 7:46 AM
This is so cool!
May 2, 2024 at 3:59 AM
Don't think you'd have to request bsky (via github/discord) to join the network anymore.

Recently the network became connect-able directly from individual servers.
April 25, 2024 at 6:48 AM
This made me remember ChatGPT.
April 24, 2024 at 3:19 AM
this is such a good news to hear.

we should always strive to keep Voyager alive!
April 23, 2024 at 4:16 AM
Isn't that the norm though?

When you use something FOSS, and need a feature/fix/change, you just wait until some dev do it, or, if you can, do it yourself.

Are you talking about the dev's attitude or the nature of FOSS?
April 23, 2024 at 3:44 AM