Coder Social home page Coder Social logo

Comments (4)

tedgin avatar tedgin commented on July 19, 2024 1

Matthew, thanks for taking the time to explain how you perform asynchronous replication at scale. You've given me food for thought.

from irods_client_icommands.

mcast avatar mcast commented on July 19, 2024 1

from irods_client_icommands.

mcast avatar mcast commented on July 19, 2024

from irods_client_icommands.

tedgin avatar tedgin commented on July 19, 2024

Matthew's good suggestion is not a workaround for us. We replicate to a data center 1400 km away (27 ms RTT), The time overhead of a single irepl call is 1-2 s. We typically replicate 20 - 30 TiB per week of files with sizes ranging from 0 B - 1 TiB with a median of ~20 kiB, so we primarily replicate smalll files. For a few hundred thousand small files, passing only one file at a time to irepl would add several days to the time it takes to replicate the data. We currently bin our files by size. For files under 100 MiB, we make 16 irepl calls in parallel passing in 512 files per call, as file size increases, we reduce the number of files passed to each irepl, and we reduce the number of irepl calls made at time. Over 100 MiB, multi-threaded transfer kicks in. We try to keep the total number of transfer threads to at least 16. We can usually complete a weeks worth of replication in 2 - 3 days.

from irods_client_icommands.

Related Issues (20)

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.