Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
Indexer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSDU
OSDU Data Platform
System
Indexer
Merge requests
!512
tweak parameters to enhance reindex performance
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
tweak parameters to enhance reindex performance
reindex-performance
into
master
Overview
0
Commits
3
Pipelines
2
Changes
4
Merged
Neelesh Thakur
requested to merge
reindex-performance
into
master
2 years ago
Overview
0
Commits
3
Pipelines
2
Changes
4
Expand
Use max 'limit' param value (1000) to fetch record-ids from Storage for kind.
Batch 1k record-ids to 50 (same limit as Storage PUT API record-changed event).
With these changes, we see 5x performance improvements on reindex API.
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
13f4593f
3 commits,
2 years ago
4 files
+
108
−
45
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
provider/indexer-azure/src/main/java/org/opengroup/osdu/indexer/azure/di/PublisherConfig.java
0 → 100644
+
28
−
0
Options
// Copyright © Schlumberger
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package
org.opengroup.osdu.indexer.azure.di
;
import
lombok.Getter
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.context.annotation.Configuration
;
@Configuration
@Getter
public
class
PublisherConfig
{
@Value
(
"${azure.publisher.batchsize:50}"
)
private
Integer
pubSubBatchSize
;
}
Loading