This technology introduces a State Manager between the streaming memory table and the Join Manager in in-memory streaming processing frameworks like Spark, providing a GC marking method that flags the stateful information of processed RDDs for immediate garbage collection.
When performing long-running streaming queries, such as in smart factories or real-time video analysis, intermediate state objects generated during join and aggregation processes remain in memory, reducing available capacity. This leads to frequent garbage collection, memory contention, and significant processing delays.
This technology allows the State Manager to periodically inspect RDD state information and, upon identifying objects that are no longer referenced, apply a marking tag to clear unnecessary state data from memory ahead of watermark expiration. Applicable to real-time log/sensor data analysis platforms and big data engines handling large-scale stream joins, it is expected to reduce memory usage by an average of 30% compared to existing methods.
This invention was developed with support from the HSA Cloud project under the Original Technology Development Program, focusing on SLA compliance and energy-optimized intelligent system software development.