Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[function][monitoring] warning for huge collection scan #4

Closed
lynix94 opened this issue Aug 5, 2014 · 1 comment
Closed

[function][monitoring] warning for huge collection scan #4

lynix94 opened this issue Aug 5, 2014 · 1 comment

Comments

@lynix94
Copy link
Contributor

lynix94 commented Aug 5, 2014

bop 의 range 를 잘못 지정하는 등의 이유로 의도하지 않은 huge collection scan 이 발생할 경우 이를 탐지할 수 있는 방안이 있으면 좋겠다.

보통 응용에서는 start, end 조건을 encoding 해서 요청하는데 잘못 인코딩하거나 조건을 잘못 주는 경우 huge collection scan 이 발생하고 조기에 탐지하지 못할 경우 장애로 이어질 수 있다.

가능하다면,

사용자가 threshhold 값을 지정하고 (ex. 1만건) 이를 넘는 collection scan 건수가 stats 에 나오면 이런 류의 상황을 빨리 탐지할 수 있을것 같다.

@jhpark816
Copy link
Contributor

long query(or request) detection 기능이 arcus-memcached 1.9.4에 들어갔습니다.

manual은 아래를 참고하세요..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants