yunfengzhou-hub opened a new pull request, #108:
URL: https://github.com/apache/flink-ml/pull/108

   ## What is the purpose of the change
   This PR mainly adds a data cache option that allows to store cached records 
in heap memory in deserialized format.
   
   ## Brief change log
   - Add `DATA_CACHE_STRATEGY` and `DATA_CACHE_HEAP_MEMORY_FRACTION` in 
`IterationOptions` to control how to cache records and how much memory space 
can be used for caching.
   - Add `OnHeapMemoryPool` to control the usage of heap memory.
   - Add `OnHeapMemorySegmentReader/Writer` for the implementation  of on-heap 
cache.
   - Modify `DataCacheWriter`, `DataCacheSnapshot` and `ListStateWithCache` to 
support on-heap cache with the introduced classes above.
   - Add tests to verify the correctness of introduced classes.
   
   ## Does this pull request potentially affect one of the following parts:
   - Dependencies (does it add or upgrade a dependency): (yes)
   - The public API, i.e., is any changed class annotated with 
@public(Evolving): (no)
   - Does this pull request introduce a new feature? (no)
   - If yes, how is the feature documented? (N/A)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to