Comments (1)
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)
- [Bug] HOT 2
- Support for ElasticSearch 8.X HOT 12
- support recent patch versions for ES 7.17.x HOT 1
- Non-Lating Language Support
- Zentity not honoring nesting HOT 6
- Release Plan: 1.6.2 HOT 1
- Add logging to zentity
- Use a multi-node cluster in production mode for integration tests HOT 3
- Rename the default branch from "master" to "main" HOT 1
- Allow creation of entity models with empty top-level objects. HOT 2
- Implement and enforce requirements for names of attributes, resolvers, and matchers. HOT 2
- Allow attributes to be represented as nested fields HOT 1
- Release Plan 1.8.0 HOT 2
- Add integration tests for Elasticsearch security features HOT 2
- [Bug] zentity fails to obtain attribute values from object arrays during resolution
- Release Plan: 1.8.1 HOT 1
- OpenSearch support HOT 1
- Releases 7.12.1.jar instead of .zip HOT 1
- Support for Elasticsearch 7.13.x and 7.14.x HOT 1
- Support OpenSearch HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zentity.