Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: ts_aos
-
Labels:
-
Story Points:3
-
Epic Link:
-
Sprint:TSSW Sprint - Apr 15 - Apr 27
-
Team:Telescope and Site
Description
This task will evaluate the integration between influxDB and influx_writer of SAL. This task will also benchmark the performance of InfluxDB to use the SSD, NVME, or hard disk.
Compare the MariaDB quary language and InfluxDB quary language.
Evaluation steps:
- Check with the AT CSC owners with the telemetry rate according to the page: https://confluence.lsstcorp.org/display/SYSENG/Auxiliary+Telescope+Control+Computers+in+Tucson
- Clone the ts_sal repository to the /home/ttsai. Install the SAL and build the AT CSC test scripts I need. Make sure the sal version is 3.9 and opensplice version is 6.9.
- Change the test telemetry script to run infinity times (iseq in C++) with the correct telemetry frequency (delay_1s in C, the first argument is sec and the second is nano-sec).
- Run the test for SSD, NVME, and Disk.
- The path variable of "LSST_EFD_HOST" gives the IP_address of influxDB.
- I can do "./some_writer >& log.1 &" to run the writer in the background. And I can use "tail -f log.1 to see the log file".
- Once I changed the cpp file, I can go to the "stand_alone" directory and do "make -f Makefile.sacpp_blahblak_pub" to build the code in the same directory.
- I can also do the above modifications by python.
We noticed that there is the message loss for only one CSC with high frequency (10 Hz). After the discussion with Dave, he will provide a new influxwriter for the test. In this new writer, each http API by writer will send one topic value in one time.