Giter Club home page Giter Club logo

Comments (1)

davemoore- avatar davemoore- commented on June 11, 2024

@pmartin-96

I recommend this webinar (slides) where I discuss sizing and capacity planning for Elasticsearch. Below are some steps you can take following the guidance of that presentation.

Improving the performance of individual searches by tuning the resource configurations of Elasticsearch data nodes:

  • Prefer SSD over HDD storage devices
  • Prefer local storage over SAN, and SAN over NAS
  • Increase memory (RAM) on the Elasticsearch host to read more of the data from cache instead of from disk. If your data is ~4GB, consider allocating >8GB RAM (4GB JVM heap, 4GB for the OS) to fit the entire data set in the file system cache (i.e. the non-heap memory). You may also consider testing the index.store.preload setting, which preloads the contents of your index entirely into the file system cache for faster searches. By default, data is cached only after it's read for the first time.

Parallelizing searches to minimize end-to-end duration of multiple resolution jobs:

  • Add nodes and replicas to increase search throughput. For example, add two data nodes to the cluster and set the number of replicas on your index to 2 to employ all three nodes in your searches. Assuming your index has one primary shard (which I recommend given the size of your index), then only one node will execute a given search even with the other replicas present. Having multiple and replicas won't improve the speed of any single search by itself -- but it will let you run more searches per second. So if you can run your resolution requests in parallel (rather than one at a time in series) then this could drastically cut your processing time overall.

I don't think an upgrade will be necessary, although I think it's always a good idea to stay on the latest stable releases when possible. I've checked the release notes for zentity and Elasticsearch, and I don't see performance enhancements that would likely help your desired outcome.

from zentity.

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.