Apologies if this sounds dumb! We are working with flink to make async IO calls. A lot of the times, the IO calls are repeated (same set of parameters) and about 80% of the APIs that we call return the same response for the same parameters. So, we would like to avoid making the calls again. We thought we could use state to store previous responses and use them again. The issue is that though our responses can be used again, the number of such responses is huge and therefore requires a lot of memory. Is there a way to persist this to drive and query as and when required?
相关问题
- Can we combine both and count and process time Tri
- IOExcpetion while connecting to Twitter Streaming
- Exception when trying to upgrade to flink 1.3.1
- Is global state with multiple workers possible in
- Flink TaskManager timeout?
相关文章
- How to handle errors in custom MapFunction correct
- Flink: Sharing state in CoFlatMapFunction
- Apache Flink (v1.6.0) authenticate Elasticsearch S
- How to filter Apache flink stream on the basis of
- Is it possible to process multiple streams in apac
- Manage state with huge memory usage - querying fro
- MongoDB as datasource to Flink
- Why does Apache Flink need Watermarks for Event Ti
Not a dumb question at all!
A few facts reveal why this isn't straightforward:
Of course, it may not be necessary for the cache be in Flink's managed state.
Some options: