GithubHelp home page GithubHelp logo

Comments (2)

jmeagher avatar jmeagher commented on July 22, 2024

Adding a specific use case we use ElasticSearch for the searching capability instead of trying that with our database layer. The indexing workload ends up being about 90% updates and 10% indexes. All operations are done via the /_bulk endpoint.

A typical index vs update flow would look like:

  • Index to create the initial document with 50-100 fields
  • Update 3-4 fields or nested documents on a daily to weekly basis

from rally-tracks.

danielmitterdorfer avatar danielmitterdorfer commented on July 22, 2024

Thanks for the use case. To me this sounds as if this should be solved with a dedicated corpus that includes documents and the corresponding action-and-meta-data line though because the documents that should be updated need to be crafted specifically. The approach we use here instead is to simulate id conflicts randomly (but based on a configurable probability) and then emit either an index or update action in the corresponding meta-data line but we always use the full document. Hope that makes sense now with my additional explanation.

from rally-tracks.

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.