<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>RUSSIAN DATA LAKE PROTOTYPE AS AN APPROACH TOWARDS NATIONAL FEDERATED STORAGE FOR MEGASCIENCE</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>A. Al</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>A. Kiry</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>A. Klim</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>T. Kor</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>D. Oleynik</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
          <xref ref-type="aff" rid="aff6">6</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>A. Zarochentsev</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff6">6</xref>
          <xref ref-type="aff" rid="aff7">7</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Aleksandr Alekseev</institution>
          ,
          <addr-line>Andrey Kiryanov, Aleksey Klimentov, Tatyana Korchuganova, Danila Oleynik, Anderey Zarochentsev</addr-line>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Brookhaven National Laboratory</institution>
          ,
          <addr-line>Upton, NY</addr-line>
          ,
          <country country="US">USA</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Ivannikov Institute for System Programming RAS</institution>
          ,
          <addr-line>25 Alexander Solzhenitsyn st., Moscow, 109004</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
        <aff id="aff3">
          <label>3</label>
          <institution>Joint Institute for Nuclear Research</institution>
          ,
          <addr-line>6 Joliot-Curie st., Dubna, 141980</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
        <aff id="aff4">
          <label>4</label>
          <institution>NRC “Kurchatov Institute”</institution>
          ,
          <addr-line>1 Akademika Kurchatova sq., Moscow, 123182</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
        <aff id="aff5">
          <label>5</label>
          <institution>Petersburg Nuclear Physics Institute of NRC “Kurchatov Institute”</institution>
          ,
          <addr-line>1 Orlova Rocha, Gatchina, 188300</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
        <aff id="aff6">
          <label>6</label>
          <institution>Plekhanov Russian University of Economics</institution>
          ,
          <addr-line>36 Stremyanny lane, Moscow, 117997</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
        <aff id="aff7">
          <label>7</label>
          <institution>Saint Petersburg State University</institution>
          ,
          <addr-line>7-9 Universitetskaya emb., Saint Petersburg, 199034</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
        <aff id="aff8">
          <label>8</label>
          <institution>University Andres Bello</institution>
          ,
          <addr-line>Santiago, Chili</addr-line>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2021</year>
      </pub-date>
      <fpage>5</fpage>
      <lpage>9</lpage>
      <abstract>
        <p>A substantial data volume growth will appear with the start of the HL-LHC era. It is not well covered by the current LHC computing model, even taking into account the hardware evolution. The WLCG DOMA project was established to provide data management and storage researches. National data lake r&amp;d's, as a part of the DOMA project, should address the study of possible technology solutions for the organization of intelligent distributed federated storage. This talk will present the current status of the Russian Scientific Data lake prototype and the methodology, which is used for the validation and functional testing of deployed infrastructure.</p>
      </abstract>
      <kwd-group>
        <kwd>HL-LHC</kwd>
        <kwd>WLCG</kwd>
        <kwd>Data Lake</kwd>
        <kwd>Distributed Storage</kwd>
        <kwd>Megascience</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>High Luminosity LHC (HL-LHC) will be a multi-Exabyte challenge where the envisaged
Storage and Compute needs are a factor 10 above the expected technology evolution. WLCG
community needs to evolve current computing and data organization models in order to introduce
changes in the way it uses and manages the infrastructure, focused on optimizations to bring
performance and efficiency, not forgetting simplification of operations.</p>
      <p>
        Technologies that will address the HL-LHC computing challenges may also be applicable to
other communities, such as SKA, DUNE, CTA, LSST, BELLE-II, JUNO, etc. and allow them to
manage large-scale data volumes. One of such technologies that we will discuss in this paper is Data
Lake [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
      </p>
      <p>Generally speaking, Data Lake is a set of sites, associated by proximity, providing together
storage services, possibly accompanied by compute ones, to an identified set of user communities,
capable to carry out independently well-defined tasks. Proximity could be defined by geography,
connectivity, funding or a shared user community. This requires that their combined storage capacity
and network bandwidth can meet the demands of the designated task and that the usage of different
sites is transparent to the users. This implies some form of trust relationship between the sites and a
way to orchestrate their shared resources.</p>
      <p>In this work we will focus on a specific scenario of a national Data Lake with a common
namespace, providing storage for a set of relatively small CPU-oriented sites alongside a large
national research center with a reliable storage system [fig.1]. Our goal is to optimize the
computational effectiveness by using techniques like read caching and write buffering, minimizing the
CPU idle time during heavy data I/O operations.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Prototype Implementation</title>
      <p>
        A national Data Lake prototype was deployed on a number of Russian sites connected by a
modern network infrastructure also used for processing of LHC data (part of the LHC ONE network)
[fig. 2]. In our prototype JINR acts as a Data Lake entry point providing data storage and
orchestration. Three other sites (PNPI, MEPhI and PRUE) act as CPU-oriented resources with
relatively small volatile local storages used as caches.
The prototype is being built using the following building blocks:
 Resources
o Bare-metal at JINR and MEPhI
o Virtualized at PNPI and PRUE
 Storage systems
o EOS [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]
o dCache [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]
o XCache [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]
 Payloads configuration, submission and testing
o Custom synthetic tests
o PanDA and ProdSys2 (ATLAS) [
        <xref ref-type="bibr" rid="ref5 ref6">5, 6</xref>
        ]
o HammerCloud [7]
o CRIC (former AGIS) [
        <xref ref-type="bibr" rid="ref7">8</xref>
        ]
 Monitoring infrastructure
o perfSONAR
o Logstash
o ElasticSearch
o Kibana
o Custom web app extending Kibana interface
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. Tests</title>
      <p>In order to conduct efficiency tests authors have used both synthetic and real-life tests.
Synthetic tests were basically generating files of a given size with random contents and measuring
read/write performance of these files in various conditions. Real life tests involved application from
ATLAS software stack reading and processing event files. Different set of tests was used for read- and
write-intensive scenarios.</p>
      <sec id="sec-3-1">
        <title>3.1. Caching</title>
        <p>The first synthetic tests were mostly designed as functional tests with an additional goal of
measuring maximum "theoretical" efficiency in ideal conditions. The tests were reading a predefined
set of files of a certain size with a certain number of repetitions. Three scenarios were examined:
1) No cache (reference value)
2) Dedicated cache on a single server
3) Distributed cache on the worker nodes</p>
        <p>
          Caching scenarios were primarily targeted at workloads that reprocess data, i.e. read the same
input data file more than once. Such payloads are not uncommon as can be seen in the ATLAS data
popularity studies [
          <xref ref-type="bibr" rid="ref8">9</xref>
          ].
        </p>
        <p>The next step was to test the real-life experiment payloads. This was achieved using the
HammerCloud stress-testing system submitting ATLAS analysis tasks.</p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. Buffering</title>
        <p>Write buffering is targeted at workloads that mostly write data. In order to optimize the CPU
efficiency on the worker nodes, generated data is written into the local buffer and then migrated into
the Data Lake in the background automatically by the storage system. Currently only synthetic tests
are developed for this scenario. HammerCloud requires some modifications in order to be used for this
kind of workloads. A fundamental agreement has been reached with the developers of this system, but
the implementation is still a work in progress.</p>
        <p>Unlike in caching tests, in this case it was decided not to measure the I/O speed directly, but to
compare the CPU usage efficiency on the worker nodes. In order to do this one needs a real-life
CPUintensive workload that will generate data and on top of that the CPU time it consumes must be
significantly higher than the time that is necessary for saving the generated data on the local storage.</p>
        <p>As with the caching tests, buffering must be examined using multiple scenarios:
1) No buffer (reference value)
2) Dedicated buffer on a single server
3) Distributed buffer on the worker nodes</p>
        <p>Due to technical difficulties the third scenario has not been implemented yet.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Monitoring</title>
      <p>For the monitoring of the Russian Data Lake prototype, a unified monitoring system was
created using the ELK stack [fig. 3]. This stack includes ElasticSearch (non-relational data storage),
Logstash (collector and data processor) and Kibana (data visualization system). In total, four
dashboards were implemented in the Kibana system:
1. Xrootd dashboard based on the processed data from the event logs for monitoring the</p>
      <p>Xrootd component
2. Billing monitoring dashboard to get information about dCache
3. Jobs monitoring provides information about all test jobs which run on the Russian</p>
      <p>Data Lake prototype computing resources
4. Accounting dashboard containing the information about the consumed CPU resources
Additionally, a web application was developed for monitoring and analytics of the Russian
Data Lake prototype testing. It uses data from the same job monitoring index in the unified
ElasticSearch storage and mitigates a lack of advanced charts customizing features in Kibana
visualization platform providing ready-for-publication quality comparison plots.</p>
      <p>The perfSONAR system is used separately to collect and analyze information about data
transmission on the global network. The prototype structure assumes that each site has a dedicated
perfSONAR node for network measurements.</p>
    </sec>
    <sec id="sec-5">
      <title>5. Acknowledgements</title>
      <p>This work was funded in part by the Russian Science Foundation under contract
No.19-7130008 (research is conducted in Plekhanov Russian University of Economics)</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>Kiryanov</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Klimentov</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Zarochentsev</surname>
          </string-name>
          .
          <source>Russian scientific data lake // Open Systems Journal, issue 4</source>
          ,
          <year>2018</year>
          . Available at: https://www.osp.ru/os/2018/04/13054563/
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>Luca</given-names>
            <surname>Mascetti</surname>
          </string-name>
          , Massimo Lamanna, Daniel Van Der Ster, at al.,
          <string-name>
            <surname>CERN Disk Storage</surname>
          </string-name>
          <article-title>Services: Report from last data taking, evolution and future outlook towards Exabyte-scale storage // EPJ Web Conf</article-title>
          .,
          <volume>245</volume>
          (
          <year>2020</year>
          )
          <fpage>04038</fpage>
          -
          <lpage>DOI</lpage>
          : https://doi.org/10.1051/epjconf/202024504038
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Tigran</given-names>
            <surname>Mkrtchyan</surname>
          </string-name>
          , Patrick Fuhrmann, at al.,
          <article-title>dCache - storage for advanced scientific use cases</article-title>
          and beyond // EPJ Web Conf.,
          <volume>214</volume>
          (
          <year>2019</year>
          )
          <fpage>04042</fpage>
          -
          <lpage>DOI</lpage>
          : https://doi.org/10.1051/epjconf/201921404042
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>Andrew</given-names>
            <surname>Hanushevsky</surname>
          </string-name>
          , Mario Lassnig, Vincent Garonne,
          <string-name>
            <given-names>J Ilija</given-names>
            <surname>Vukotic</surname>
          </string-name>
          , at al.
          <article-title>Xcache in the ATLAS Distributed Computing Environment // EPJ Web Conf</article-title>
          .,
          <volume>214</volume>
          (
          <year>2019</year>
          )
          <fpage>04008</fpage>
          -
          <lpage>DOI</lpage>
          : https://doi.org/10.1051/epjconf/201921404008
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>The</given-names>
            <surname>Production</surname>
          </string-name>
          and
          <article-title>Distributed Analysis (PanDA) system</article-title>
          . Available at: https://pandawms.readthedocs.io/en/latest/index.html
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <surname>Borodin</surname>
            <given-names>M.</given-names>
          </string-name>
          et al.,
          <article-title>Scaling up ATLAS production system for the LHC Run 2</article-title>
          and beyond: project ProdSys2 // Journal of Physics: Conference Series. -
          <year>2015</year>
          . - Vol.
          <volume>664</volume>
          . - DOI: 10.1088/
          <fpage>1742</fpage>
          - 6596/664/6/062005. - URL:https://iopscience.iop.org/article/10.1088/
          <fpage>1742</fpage>
          -6596/664/6/062005
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>Alexey</given-names>
            <surname>Anisenkov</surname>
          </string-name>
          , Julia Andreeva, Alessandro Di Girolamo, at al.,
          <article-title>CRIC: Computing Resource Information Catalogue as a unified topology system for a large scale, heterogeneous and dynamic computing infrastructure // EPJ Web Conf</article-title>
          .
          <volume>245</volume>
          <fpage>03032</fpage>
          (
          <year>2020</year>
          )
          <article-title>-</article-title>
          DOI: 10.1051/epjconf/202024503032
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>Thomas</given-names>
            <surname>Beermann</surname>
          </string-name>
          , Alessandro Di Girolamo, Alexei Klimentov, Mario Lassnig, Markus Schulz, Andrea Sciaba, at al.
          <article-title>Methods of Data Popularity Evaluation in the ATLAS Experiment at</article-title>
          the LHC // EPJ Web Conf.,
          <volume>251</volume>
          (
          <year>2021</year>
          )
          <fpage>02013</fpage>
          -DOI: https://doi.org/10.1051/epjconf/202125102013
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>