The short answer is yes. In any case, flink wil spend time/cpu to invoke the 
timer. 

Best regards, 
Yuxia 


发件人: "Surendra Lalwani" <surendra.lalw...@swiggy.in> 
收件人: "User" <user@flink.apache.org> 
发送时间: 星期三, 2022年 6 月 29日 下午 3:52:32 
主题: Overhead on managing Timers with large number of keys 

Hi Team, 
I am working on the States and using KeyedStreams and Process Functions. I want 
to store the number of customers in the state and also I am registering onTimer 
for all the customer_ids. I wanted to understand if we register something 
around 70 Million Keys and we have onTimer registered for those keys. Will 
there be any overhead and if yes what will be the overhead, will it impact 
processing time? 

Thanks and Regards , 
Surendra Lalwani 



IMPORTANT NOTICE: This e-mail, including any attachments, may contain 
confidential information and is intended only for the addressee(s) named above. 
If you are not the intended recipient(s), you should not disseminate, 
distribute, or copy this e-mail. Please notify the sender by reply e-mail 
immediately if you have received this e-mail in error and permanently delete 
all copies of the original message from your system. E-mail transmission cannot 
be guaranteed to be secure as it could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or contain viruses. Company accepts no 
liability for any damage or loss of confidential information caused by this 
email or due to any virus transmitted by this email or otherwise. 

Reply via email to