On 18.11.24 20:02, Will Hartung wrote:


On Sun, Nov 17, 2024 at 10:47 AM Michael Bien <mbie...@gmail.com> wrote:

    I personally barely notice index updates since they don't happen all
    that often. The one I just tested took about 150s. I don't think
    it ever
    ran while I used completion and I needed something that wasn't in the
    local index results already.


For whatever reason, they're intrusive enough that I take notice. I've even had one recently that took over an hour to update (that's abnormal, no idea why that took so long).

forgot to reply to that one. What you saw there most likely is some kind of server side connection throttling. The update segments are relatively small - so both download and import don't take long under normal conditions.

(I have seen something like that before during tests when dl dropped down to a few kb/s, but this doesn't seem to happen very often)


I heard the compute and bandwidth cost for the index upkeep seem to be high for maven central too and it doesn't scale well in its current form. So the future for this feature is probably not certain.

I am planning to maintain the indexer in NetBeans as long as remote indices are still available but probably won't put a lot of energy into optimizations.

NB 25 might be (finally) able to migrate the index from NB 24 cache though:
https://github.com/apache/netbeans/pull/7976

-mbien


It's impactful enough in my environment that I dread it and strive to avoid it (as I mentioned).  If nothing else, it lights the fans up on my machine. It's just one of those triggering "oh no" things.

If I could easily eliminate it entirely, I'd probably do it (sort of what I was trying for with the external index updater -- let it run at 3am and take as long as it wants).

I do a lot of "green field" fiddling. PoCs and what not, so I'm constantly digging into the depths of the Maven repositories.

Regards,

Will Hartung



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to