Giter VIP home page Giter VIP logo

Comments (5)

fake-name avatar fake-name commented on June 8, 2024

At the moment, row versioning is done via https://github.com/kvesteri/sqlalchemy-continuum, which you basically plug in and suddenly you have a changelog on a per-row basis.

Deduplication isn't /really/ done, though I probably need to look into that eventually.

from readablewebproxy.

COLABORATI avatar COLABORATI commented on June 8, 2024

Thanks!

from readablewebproxy.

fake-name avatar fake-name commented on June 8, 2024

NP.

FWIW, right now the indices are the great majority of the db size, so improving indice efficiency and just dropping the indices that aren't queried against from the history table has been a major improvement. Also, the postgresql TOAST and automatic compression do a crazy good job of storing lots of ASCII efficiently.

At one point, I had t GiST indice across the entire text content of every row (I was experimenting with full text search across the entire page), and the index alone was 4-5 times larger then the database content itself.

from readablewebproxy.

COLABORATI avatar COLABORATI commented on June 8, 2024

Did you ever experimented with using Elastic Search or some other specialized search engine or are you happy with postgresql ("good enough")? Thanks again for your attention!

from readablewebproxy.

fake-name avatar fake-name commented on June 8, 2024

I did spend some time looking at different search engines, but at the moment, I'm just not using search at all.

Mostly, it wasn't too useful, and the space costs were somewhat exorbitant. I can do offline queries into the DB if I really want something. It's slow as hell (as it's unindexed), but I can dump the output to a csv for post-analysis if needed.

Yet another thing I'd like to do at some point, and just haven't had time recently.

from readablewebproxy.

Related Issues (4)

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.