Cloud customer?
Start for Free>
Upgrade in MyJFrog >
What's New in Cloud >





You are viewing an old version of this page. View thecurrent version.

Compare with CurrentView Page History

Version 1当前»

Overview

This binary provider is not independent and will always be used as part of a template chain for a remote filestore that may exhibit upload latency (e.g. S3 or GCS). To overcome potential latency, files are first written to a folder called “eventual” under thebaseDataDirin local storage, and then later uploaded to persistent storage with the cloud provider.

Page Contents

Eventual-Cluster Binary Provider Configuration

The default location of the最终folder is under the$JFROG_HOME/artifactory/data/artifactoryfolder and is not configurable. You need to make sure that Artifactory has full read/write permissions to this location.

There are two additional folders under theeventual folder:

  • _pre: part of the persistence mechanism that ensures all files are valid before being uploaded to the remote filestore
  • _queue: handles all actions on files that will reach the remote filestore
id
最终-cluster
addStalePeriod

Default: 300000 ms

The amount of time to wait before anaddaction is deemed stale when trying to handle the addition of a file that is not present in Artifactory.

maxWorkers

Default: 5

The number of worker threads employed by this provider. These threads handle all actions against the remote filestore.

dispatcherInterval

Default: 1000 ms

The time to wait between scans of the eventual directory.

checkPeriod

Default: 15000 ms

The minimum time to wait between trying to re-activate the provider if it had fatal errors at any point.

zone
The name of the sharding zone the provider is a part of (only applicable under a sharding provider)

Example

The configuration below uses the google-storage chain template and configures 10 parallel threads for uploading and a scan time of 1 second.

   commondatastorage.googleapis.com  XXXXXX XXXXXXX    5 1000 15000 300000 local  
  • 没有标签
Copyright © 2023 JFrog Ltd.