Sensors (Oct 2020)

MongoDB Database as Storage for GPON Frames

  • Martin Holik,
  • Tomas Horvath,
  • Vaclav Oujezsky,
  • Petr Munster,
  • Adrian Tomasov,
  • Sobeslav Valach

DOI
https://doi.org/10.3390/s20216208
Journal volume & issue
Vol. 20, no. 21
p. 6208

Abstract

Read online

This work is focused on creating an open-source software-based solution for monitoring traffic transmitted through gigabit passive optical network. In this case, the data are captured by the field-programmable gate array (FPGA) card and reassembled using parsing software from a passive optical network built on the International Telecommunication Unit telecommunication section (ITU-T) G.984 gigabit-capable passive optical network GPON recommendation. Then, the captured frames are converted by suitable software into GPON frames, which will be further processed for analysis. Due to the high transfer rate of GPON recommendations, the work describes the issue of writing to the Mongo database system. In order to achieve the best possible results and minimal loss of transmitted frames, a series of tests were performed. The proposed test scenarios are based on different database writing approaches and are implemented in the Python and C# programming languages. Based on our results, it has been shown that the high processing speed is too high for Python processing. Critical operations must be implemented in the C# programming language. Due to rapid application development, Python can only be used for noncritical time-consuming data processing operations.

Keywords