GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Buffered vectors should be flushed after a timeout · Issue #3737 · ArcadeData/arcadedb

Buffered vectors should be flushed after a timeout #3737

New issue
Copy link
New issue
Copy link
Closed
Feature
Closed
Buffered vectors should be flushed after a timeout#3737
Feature
Copy link
Assignees
lvca
Milestone
26.4.2

Description

@lvca
lvca
opened on Mar 27, 2026
Issue body actions

Hi @lvca,

I’m thinking about the scenario where the threshold (e.g., 1,000 vectors) isn't reached. If a user adds 250 vectors and then stops, those 250 entries will stay in the brute-force RAM indefinitely. While brute forcing 250 vectors is fast, it's still less efficient than the JVector graph, and those vectors won't be persisted to the official index until the next big batch.

Would you consider adding a inactivity timeout for the rebuild trigger?

The logic would look something like this:

  • Threshold Trigger: Rebuild immediately if mutations >= 1000.
  • Time Trigger: If mutations > 0 but less than 1,000, start a timer (e.g., 10–30 seconds).
  • Reset Logic: If a new vector is added during that window, reset the timer.
  • Final Action: Once the timer expires with no new activity, trigger the async rebuild regardless of the count.

This would ensure the index stays fully optimized and persisted even during low-volume ingestion periods. WDYT?

Malek

Originally posted by @lekmaneb in #3679

Activity

  1. lvca
    self-assigned this
    on Mar 27, 2026
  2. lvca
    added this to the 26.4.1 milestone on Mar 27, 2026
  3. lvca
    added the
    Feature
    issue type on Mar 27, 2026
  4. lvca
    added a commit that references this issue on Mar 28, 2026

    fix: vector indexes temporary vectors should be flushed after a timeout

    210fdb4
  5. lvca commented on Mar 28, 2026

    @lvca
    lvca
    on Mar 28, 2026
    MemberAuthor
    More actions

    Done, docs updated too

  6. lvca
    closed this as completedon Mar 28, 2026
  7. robfrank
    added a commit that references this issue on May 12, 2026

    fix: vector indexes temporary vectors should be flushed after a timeout

    3ddcd9a
  8. tae898
    added a commit that references this issue on Jun 28, 2026

    fix: vector indexes temporary vectors should be flushed after a timeout

    16a5cf7
  9. mergify
    added a commit that references this issue on Aug 18, 2026

    chore(deps): bump the go-modules group across 1 directory with 3 upda…

    4e0e573
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @lvca
    lvca

Labels

No labels
No labels

Type

Feature

Projects

No projects

    Milestone

    • 26.4.2

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.