Giter Site home page Giter Site logo

ipfs-elastic-provider-bitswap-peer's Introduction

IPFS Elastic Provider Bitswap peer

Deployment environment variables

Variables in bold are required.

Name Default Description
AWS_ACCESS_KEY_ID The AWS key ID.
AWS_REGION The AWS region.
AWS_SECRET_ACCESS_KEY The AWS access key.
CACHE_BLOCKS_INFO false Set to true to cache block informations with in a in-memory LRU cache.
CACHE_BLOCKS_SIZE 1e3 Max entries of the cache.
CONCURRENCY 128 The maximum concurrency when searching CIDs.
DYNAMO_BLOCKS_TABLE blocks The DynamoDB table where store CIDs informations to.
DYNAMO_CARS_TABLE cars The DynamoDB table where store CAR files informations to.
DYNAMO_MAX_RETRIES 3 DynamoDB max attempts in case of query failure.
DYNAMO_RETRY_DELAY 500 DynamoDB delay between attempts in case of failure, in milliseconds.
S3_MAX_RETRIES 3 S3 max attempts in case of failure.
S3_RETRY_DELAY 500 S3 delay between attempts in case of failure, in milliseconds.
ENV_FILE_PATH $PWD/.env The environment file to load.
NODE_DEBUG If it contains aws-ipfs, debug mode is enabled.
NODE_ENV Set to production to disable pretty logging.
PEER_ID_DIRECTORY /tmp The directory of the file containing the BitSwap PeerID in JSON format.
PEER_ID_FILE peerId.json The filename of the file containing the BitSwap PeerID in JSON format.
PEER_ID_S3_BUCKET The S3 bucket to download the BitSwap PeerID in JSON format.
PEER_ANNOUNCE_ADDR Swarm multiaddr to announce to the network (excluding peer ID).
PIPELINING 16 The maximum request to pipeline in a single HTTP connections in AWS.
PING_PERIOD_SECONDS 10 Wait interval for ping connected peer (Keep Alive)
PORT 3000 The port number to listen on.
TELEMETRY_PORT 3001 The telemetry port number for the OpenTelemetry server to listen on.

ipfs-elastic-provider-bitswap-peer's People

Contributors

francardoso93 avatar shogunpanda avatar alanshaw avatar

Watchers

James Cloos avatar

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.