1 / 20

Online Feedback-based Estimation of Dynamic Page Service Time

Online Feedback-based Estimation of Dynamic Page Service Time. Ashwini Kumar Kaushik Veeraraghavan Benjamin Wester Kang Shin. Motivation. Dynamic pages Increasingly prevalent Pages difficult to cache Service time applications Differentiated QoS (prioritizing requests) Load balancing

ember
Download Presentation

Online Feedback-based Estimation of Dynamic Page Service Time

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Online Feedback-based Estimation of Dynamic Page Service Time Ashwini Kumar Kaushik Veeraraghavan Benjamin Wester Kang Shin

  2. Motivation • Dynamic pages • Increasingly prevalent • Pages difficult to cache • Service time applications • Differentiated QoS (prioritizing requests) • Load balancing • Virtual host services • Estimates: credit card payment times 2

  3. Idea • History • Maintain records of past service times • Predict based on existing records • Assume a correlation between past and future • What is the invariant property? • What system state can we store to track it? • We explore three estimators and their design 3

  4. Outline • Motivation • Design & Implementation • Evaluation • Conclusion and Future Work 4

  5. History • Maintain per-URL fixed-size history table • Data depends on the estimator used • Tag incoming requests • Update history when request processing finishes 5

  6. SEDA: Haboob 6

  7. Sirocco 7

  8. Estimators 8

  9. Outline • Motivation • Design & Implementation • Evaluation • Conclusion and Future Work 9

  10. Evaluation • How close are our estimators? • Load patterns • Steady load: httperf • 50ms / request • Changing load: SURGE 10

  11. Average Estimator (steady) • Request takes ~35ms to complete • Estimator should not be too responsive 11

  12. Average Estimator (changing) • Each point averages 20 requests • Vertical bars indicate the addition of a handling thread 12

  13. Average Estimator • How to read the graph: • Enters system: t = 5.4s • Estimated service time: 1.6s • Real service time: 4.9s 13

  14. Average Estimator • History becomes out-of-date • Base estimation on the current state of the system 14

  15. STQ Estimator • It’s better than the Average Estimator… • Inaccurate around a thread change 15

  16. STQ Estimator • Estimations will be inaccurate unless the estimator knows about the coming change in the number of threads • After a change, recently-completed requests show a mixed view of system state and will pollute the history 16

  17. STQT Estimator • Overshoots target because of a polluted history • Fix: Integrate request times across the thread change 17

  18. Outline • Motivation • Design & Implementation • Evaluation • Conclusion and Future Work 18

  19. Concluding Remarks • Takeaways • Don’t adapt to transient delays • Use current state along with the history • Be aware of underlying changes • Future Directions • Extrapolate requests’ service times • URL service time as a distribution 19

  20. Questions?

More Related