A compression technique motivated by the semantic characteristics of microservices' traces
Percentage decrease in the number of stored spans = 28%
Percentage decrease in the number of stored fields (key value pairs extracted from logs) = 88%
Percentage decrease in the storage (in MBs) = 70.8%
Steps:
- Follow the article for setting up distributed tracing and hosting a microservices site
- Visit the hosted site and do some actions that will generate some traces(in future, this step will be automated)
- Setup MySQL and create two empty databases: "original" and "compressed" (In future, this step will be automated)
- Create an emoty directory
results
where all the comparison (original db vs compressed db) results will be stored (too lazy to write a line of code for this). - Run
run.py
4.1) The traces will get stored in a newly created directorytraces
4.2) The two databases will get populated 4.3) The original db will have all the traces in full form 4.4) The compressed db will also have all traces but in the compressed form.