Systems and methods for compressing digital data
Abstract
A computing system configured to (i) obtain a set of key-value pairs, wherein each key-value pair corresponds to a respective timestamp in a period of time, (ii) for at least one timestamp in the given period of time: (a) identify a first subset of the key-value pairs corresponding to the timestamp, (b) sort the first subset, and (c) generate a subset of compression values for the sorted first subset, (iii) for at least one key: (a) identify a second subset of the key-value pairs corresponding to the key, (b) sort the second subset, and (c) generate a subset of compression values for the sorted second subset, and (iv) store a set of compression values comprising (a) the subset of compression values that is generated for each of the at least one timestamp and (b) the subset of compression values that is generated for each of the at least one key.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 52 · Forward citations: 0.
Claims (20 — 3 Independent, 17 Dependent)
- Claim 1Independent Claim
A computing system comprising: at least one processor; at least one non-transitory computer-readable medium; and program instructions stored on the non-transitory computer-readable medium that are executable by the at least one processor such that the computing system is configured to: obtain a set of key-value pairs for a given period of time, wherein each key-value pair of the set of key-value pairs corresponds to a respective timestamp in the given period of time; for at least one respective timestamp in the given period of time: identify a first subset of the set of key-value pairs that corresponds to the respective timestamp; sort the first subset of key-value pairs according to value; and generate a respective subset of compression values for the sorted first subset of key-value pairs; for at least one respective key: identify a second subset of the set of key-value pairs that corresponds to the respective key; sort the second subset of key-value pairs according to timestamp; and generate a respective subset of compression values for the sorted second subset of key-value pairs; and store a set of compression values comprising (i) the respective subset of compression values that is generated for each of the at least one respective timestamp and (ii) the respective subset of compression values that is generated for each of the at least one respective key.
- Claim 2Depends on #1
The computing system of claim 1, wherein the program instructions that are executable by the at least one processor such that the computing system is configured to obtain the set of key-value pairs comprise program instructions that are executable by the at least one processor such that the computing system is configured to (i) retrieve the set of key-value pairs from a data storage repository that is accessible by the computing system, (ii) receive the set of key-value pairs from one or more other computing systems, or both.
- Claim 3Depends on #1
The computing system of claim 1, wherein the computing system comprises a first computing system, the first computing system further comprising program instructions stored on the at least one non-transitory computer-readable medium that are executable by the at least one processor such that the first computing system is configured to: transmit the set of compression values to a second computing system.
- Claim 4Depends on #3
The computing system of claim 3, wherein the first computing system comprises a server computing system, and wherein the second computing system comprises a client device.
- Claim 5Depends on #1
The computing system of claim 1, wherein key-value pairs of the set of key-value pairs correspond to digital metrics, with keys of the key-value pairs comprising metric names and values of the key-value pairs comprising metric values.
- Claim 6Depends on #1
The computing system of claim 1, wherein the respective subset of compression values for the sorted first subset of key-value pairs comprises compression values determined based on respective differences between respective adjacent values in the sorted first subset of key-value pairs.
- Claim 7Depends on #6
The computing system of claim 6, wherein at least one of the respective adjacent values in the sorted first subset of key-value pairs comprises a compression value.
- Claim 8Depends on #1
The computing system of claim 1, wherein compression values of the respective subset of compression values for the sorted second subset of key-value pairs comprise delta compression values determined based on respective differences between respective adjacent values in the sorted second subset of key-value pairs.
- Claim 9Depends on #8
The computing system of claim 8, wherein at least one of the respective adjacent values in the sorted second subset of key-value pairs comprises a compression value.
- Claim 10Independent Claim
A method implemented by a computing system, the method comprising: obtaining a set of key-value pairs for a given period of time, wherein each key-value pair of the set of key-value pairs corresponds to a respective timestamp in the given period of time; for at least one respective timestamp in the given period of time: identifying a first subset of the set of key-value pairs that corresponds to the respective timestamp; sorting the first subset of key-value pairs according to value; and generating a respective subset of compression values for the sorted first subset of key-value pairs; for at least one respective key: identifying a second subset of the set of key-value pairs that corresponds to the respective key; sorting the second subset of key-value pairs according to timestamp; and generating a respective subset of compression values for the sorted second subset of key-value pairs; and storing a set of compression values comprising (i) the respective subset of compression values that is generated for each of the at least one respective timestamp and (ii) the respective subset of compression values that is generated for each of the at least one respective key.
- Claim 11Depends on #10
The method of claim 10, wherein obtaining the set of key-value pairs comprises (i) retrieving the set of key-value pairs from a data storage repository that is accessible by the computing system, (ii) receiving the set of key-value pairs from one or more other computing systems, or both.
- Claim 12Depends on #10
The method of claim 10, wherein the computing system comprises a first computing system, the method further comprising: transmitting the set of compression values to a second computing system.
- Claim 13Depends on #12
The method of claim 12, wherein the first computing system comprises a server computing system, and wherein the second computing system comprises a client device.
- Claim 14Depends on #10
The method of claim 10, wherein key-value pairs of the set of key-value pairs correspond to digital metrics, with keys of the key-value pairs comprising metric names and values of the key-value pairs comprising metric values.
- Claim 15Depends on #10
The method of claim 10, wherein the respective subset of compression values for the sorted first subset of key-value pairs comprises compression values determined based on respective differences between respective adjacent values in the sorted first subset of key-value pairs.
- Claim 16Depends on #15
The method of claim 15, wherein at least one of the respective adjacent values in the sorted first subset of key-value pairs comprises a compression value.
- Claim 17Depends on #10
The method of claim 10, wherein compression values of the respective subset of compression values for the sorted second subset of key-value pairs comprise delta compression values determined based on respective differences between respective adjacent values in the sorted second subset of key-value pairs.
- Claim 18Depends on #17
The method of claim 17, wherein at least one of the respective adjacent values in the sorted second subset of key-value pairs comprises a compression value.
- Claim 19Independent Claim
A non-transitory computer-readable medium, wherein the non-transitory computer-readable medium is provisioned with program instructions that, when executed by at least one processor, cause a computing system to: obtain a set of key-value pairs for a given period of time, wherein each key-value pair of the set of key-value pairs corresponds to a respective timestamp in the given period of time; for at least one respective timestamp in the given period of time: identify a first subset of the set of key-value pairs that corresponds to the respective timestamp; sort the first subset of key-value pairs according to value; and generate a respective subset of compression values for the sorted first subset of key-value pairs; for at least one respective key: identify a second subset of the set of key-value pairs that corresponds to the respective key; sort the second subset of key-value pairs according to timestamp; and generate a respective subset of compression values for the sorted second subset of key-value pairs; and store a set of compression values comprising (i) the respective subset of compression values that is generated for each of the at least one respective timestamp and (ii) the respective subset of compression values that is generated for each of the at least one respective key.
- Claim 20Depends on #19
The non-transitory computer-readable medium of claim 19, wherein the program instructions that, when executed by the at least one processor, cause the computing system to obtain the set of key-value pairs comprise program instructions that, when executed by the at least one processor, cause the computing system to (i) retrieve the set of key-value pairs from a data storage repository that is accessible by the computing system, (ii) receive the set of key-value pairs from one or more other computing systems, or both.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS The present application is a continuation of U.S. application Ser. No. 18/047,880, filed on Oct. 19, 2022, which is a continuation of U.S. application Ser. No. 17/932,882, filed on Sep. 16, 2022, which is a continuation of U.S. application Ser. No. 17/410,921, filed on Aug. 24, 2021. The aforementioned applications are hereby incorporated by reference in their entirety. BACKGROUND Recent years have seen significant advancement in hardware and software platforms that perform digital data compression. For instance, various computing systems implement some form of analytics to monitor and improve the performance and health of a product or service across a computer network. As these analytics become more sophisticated, the quantity of digital data that is generated, stored, and communicated between different computing devices — often in the form of metric values or associated metadata — grows significantly. Accordingly, many computing systems utilize digital data compression to reduce the size of the digital data that is communicated and/or stored. Despite these advances, however, conventional metric compression systems suffer from several technological shortcomings that result in inflexible and inefficient operation. SUMMARY One or more embodiments described herein provide benefits and/or solve one or more of the foregoing or other problems in the art with systems, methods, and non-transitory computer-readable media that utilize a graph-based compression dictionary and time slice compression to flexibly and efficiently compress metric data. For instance, in one or more embodiments, the disclosed systems utilize a graph-based compression dictionary consisting of nodes and edges, such as a finite state transducer, to generate compressed values for metadata labels corresponding to metrics. The disclosed systems can update the graph-based compression dictionary by adding and/or removing nodes and edges corresponding to metric changes
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (52)
Non-Patent Literature (10)
- Graphite
- —
- Scalable Realtime Graphing. http://graphite.wikidot.com/. Accessed Mar. 20, 2015.
- Influxdb.com: InfluxDB
- —
- Open Source Time Series, Metrics, and Analytics Database. http://influxdb.com/. Accessed Mar. 20, 2015.
- L. Abraham, J. Allen, 0. Barykin, V. R. Borkar, B. Chopra, C. Gerea, D. Merl, J. Metzler, D. Reiss, S. Subramanian, J. L. Wiener, and 0. Zed. Scuba: Diving into Data at Facebook. PVLDB, 6(11):1057-1067, 2013.
- E. B. Boyer, M. C. Broomfield, and T. A. Perrotti. GlusterFS One Storage Server to Rule Them All. Technical report, Los Alamos National Laboratory (LANL), 2012.
- N. Bronson, T. Lento, and J. L. Wiener. Open Data Challenges at Facebook. In Workshops Proceedings of the 31st International Conference on Data Engineering Workshops, ICDE Seoul, Korea. IEEE, 2015.
- T. D. Chandra, R. Griesemer, and J. Redstone. Paxos Made Live: An Engineering Perspective. In Proceedings of the twenty-sixth annual ACM symposium on Principles of distributed computing, pp. 398-407. ACM, 2007.