Coder Social home page Coder Social logo

Auto cleanup as data grows about ground-db HOT 2 OPEN

ramezrafla avatar ramezrafla commented on June 14, 2024
Auto cleanup as data grows

from ground-db.

Comments (2)

raix avatar raix commented on June 14, 2024

you could in theory add some offline metrics like size/usage/age of documents, then have a sort function using weights to figure out the most important documents. I've done this in the past and wanted this in gdb at some point. It's something to think about.

from ground-db.

ramezrafla avatar ramezrafla commented on June 14, 2024

Thanks @raix

I had an idea to make sure we keep data well sync-ed with server. The problem is with all the subscriptions, it's tricky running a keep as you may lose data that is still on server but not subscribed to yet.

We could have a server method to which we send all the ids currently in gdb and it returns the ones that are valid, and we would run on the client a keepIds (a clone of keep but that depends on id's).

Thoughts? If you are willing to accept a PR, I could work on it. It could be a simple client method called sync() that would take care of everything.

from ground-db.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.