Skip to content

Commit

Permalink
[Serve] Add more bucket size (#35242)
Browse files Browse the repository at this point in the history
Increase the bucket size. 
- Still providing current granularity with 0 - 100 ms latency.
- Providing more buckets for 100ms - 1000ms latency precision out of the box.
- Increase the bucket range to handle heavier use case.

**note: we are going to increase 2x stats points for the latency, it should be trivial comparing with host network bandwidth.**
  • Loading branch information
sihanwang41 authored May 12, 2023
1 parent 639b97e commit 72e5f6b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions python/ray/serve/_private/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,23 @@
50,
100,
200,
300,
400,
500,
1000,
2000,
# 5 seconds
5000,
# 10 seconds
10000,
# 60 seconds
60000,
# 2min
120000,
# 5 min
300000,
# 10 min
600000,
]

#: Name of deployment health check method implemented by user.
Expand Down

0 comments on commit 72e5f6b

Please sign in to comment.