Comments (5)
Thanks @sohami
With concurrent segment search, there will be multiple slice threads each working on subset of segments
I think in case of the remote (warm index), this is a blessing and the curse. If the cluster has mix of hot (local) / warm (remote) indices, the single query could keep the index searcher pool busy downloading blocks and not searching, this could impact the queries to hot (regular) indices, we may need to think about separating these thread pools.
Using the hints we can potentially download all the data blocks across different index files or even subset of index files for those fields.
Hints sound like a good idea.
from opensearch.
Tagging @msfroh @andrross @ankitkala @mch2 for feedback
from opensearch.
Thanks @sohami
The Lucene work around IO concurrency looks promising enough, thanks for highlighting the change, some of the primitives for warm index would definitely be able to leverage the primitive to optimise query latency. Tagging @abiesps as well to ensure we are able to plan for this change.
I am assuming this is a logical extension to basic primitives from #8891 and similar issues like #9987 where some of the improvements including improving caching management is captured. Thanks for bringing this together.
For the historical query access pattern, we can consider maintaining a state of what blocks have been known to be hot, by taking point in time snapshots of the block metadata to better analyse patterns over time.
from opensearch.
I am assuming this is a logical extension to basic primitives from #8891 and similar issues like #9987 where some of the improvements including improving caching management is captured. Thanks for bringing this together.
Thanks for sharing these other issues. Yes some of the things captured in these touch upon the File cache management such as creating tiers within FileCache which operates in SegmentLRU fashion.
For the historical query access pattern, we can consider maintaining a state of what blocks have been known to be hot, by taking point in time snapshots of the block metadata to better analyse patterns over time.
Right which is the block level access frequency mechanism. Or using the hints/query visibility mechanism to understand at field level which index will be used for different queries and downloading those upfront. I think both will be useful for different use cases and providing an option to configure these based on use cases will be helpful.
from opensearch.
Thanks @sohami
With concurrent segment search, there will be multiple slice threads each working on subset of segments
I think in case of the remote (warm index), this is a blessing and the curse. If the cluster has mix of hot (local) / warm (remote) indices, the single query could keep the index searcher pool busy downloading blocks and not searching, this could impact the queries to hot (regular) indices, we may need to think about separating these thread pools.
True, other way to avoid such interference is using the dedicated warm nodes for hosting the warm indices. In that case, the threadpools will be separate for hot/warm indices. But agreed for shared setup we will need to look into the isolation between hot/warm from all the different aspects.
from opensearch.
Related Issues (20)
- [BUG] Wazuh-indexer service warnings: Terminally Deprecated method has been called HOT 2
- Refactor FastFilterRewriteHelper
- [Profiling deep dive] Default aggregation vs. optimization code path
- [Feature Request] Fine grained control of (ingest|search) processors to install HOT 1
- [BUG] Potential Cluster Slowdown/Lags after merging #13748(#14348) #14338(#14391) in 2.15 HOT 12
- [BUG] flaky test Test derived_field supported type using search definition HOT 1
- [BUG] Batch async shard fetch holds up significant memory causing OOMs
- [PROPOSAL] Highlight REST API Changes in PRs HOT 2
- [Remote State] Timing and tracing for RemoteWritableEntityStore
- [Remote State] Optimize diff publication
- [AUTOCUT] Gradle Check Flaky Test Report for IndicesStoreIntegrationIT
- [Automation Enhancement] Mechanism to close the created Gradle Check AUTOCUT flaky test issues. HOT 3
- [AUTOCUT] Gradle Check Flaky Test Report for RemoteStoreRestoreIT
- [AUTOCUT] Gradle Check Flaky Test Report for AzureStorageServiceTests HOT 6
- [Refactor] Consider removing the `opensearch-dashboards` module from this repo
- [BUG] Inconsistent behavior on POST _aliases when two opposing actions are operating on the same index/alias pair HOT 1
- [AUTOCUT] Gradle Check Flaky Test Report for ICacheKeySerializerTests
- [AUTOCUT] Gradle Check Flaky Test Report for LangPainlessClientYamlTestSuiteIT
- [BUG] Option in NodesStatsRequest to return per-shard stats in response
- [AUTOCUT] Gradle Check Flaky Test Report for RecoveryWhileUnderLoadIT
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 opensearch.