Vector databases
0-day streakReview

Your progress

Level 1

0 XP100 XP to level 2
0day streak
0best streak
0topics started
0cards reviewed
    Review cards

    Progress is stored only in this browser. No account is required.

    Layer 3 · Go deeper · 8 min

    Go deeper

    Size it, build it, then make the calls an interviewer will push you on.

    Back of the envelope

    Size it up

    Tap through each step of the arithmetic.

    How long does one exact search over 10 million vectors take?

      How much RAM per copy for 100 million 768-dimension vectors?

        How many nodes serve those 100 million vectors at 4,000 queries a second?

          4 interview moments

          You’re the candidate

          The interviewer pushes on the hard parts. Pick an approach and see how it holds up.

          1. Deep dive 1 of 4

            Interviewer

            “Your app runs on Postgres and needs semantic search over well under 10 million chunks. Where do the vectors live?”

            Your move. Pick an approach:

          2. Deep dive 2 of 4

            Interviewer

            “RAG over company documents: each employee may read only some passages. How do you apply the permission filter?”

            Assume each employee may read 1–10% of passages, a filter unrelated to the question’s meaning.

            Your move. Pick an approach:

          3. Deep dive 3 of 4

            Interviewer

            “Reverse image search over a billion images, 768 dimensions each. How do you hold the vectors?”

            Your move. Pick an approach:

          4. Deep dive 4 of 4

            Interviewer

            “A chat assistant saves each turn as a vector. The user asks, “What did I just tell you?” Which store do you trust?”

            Your move. Pick an approach: