Github user qingwen220 commented on the issue:

    https://github.com/apache/eagle/pull/869
  
    @haoch my idea is to split the timeline into different ranges, which is 
slightly different from your understanding. 
    
    Give an example, `endpointConfig.requestTimeInHour=3h, requestNum=4`, the 
possible ranges are 
    (-inf, currentTime - 3h), (currentTime-3h, current-2h), (currentTime-2h, 
currentTime-1h), (currentTime-1h, +inf)  
    
    With this division, ideally we won't miss any applications. 
    
    As for the algorithm you mentioned, I have a question. For example, 
    (-inf, currentTime - 3h): 4 apps
    (currentTime-3h, current-2h): 0
    (currentTime-2h, currentTime-1h): 0
     (currentTime-1h, +inf): 23 apps
    
    If my understanding is right, we will miss the 4 apps in (-inf, currentTime 
- 3h)



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to