폴링 작업은 클라우드 공급자를 통해 버킷 목록 보기를 생성합니다. 모델 버전을 계속 업데이
트할 때는 버킷에 많은 파일이 포함될 수 있습니다. 이렇게 하면 목록 보기 메시지가 많아지므
로 시간이 지나면서 많은 양의 트래픽이 소모됩니다. 클라우드 공급자는 보통 이런 목록 작업
에서 생성된 네트워크 트래픽에 요금을 청구합니다. 청구 문제가 발생하지 않도록 폴링 빈도를
120
초로 줄이기를 권장합니다. 폴링 빈도는 여전히 시간당 최대
30
개의 잠재적 업데이트를 제
공하지만 트래픽은
60
배 더 적게 생성합니다.
docker run -p 8500:8500
\
...
-t tensorflow/serving
\
--file_system_poll_wait_seconds=120
텐서플로 서빙 인수는
docker
run
명령의 이미지 사양 뒤에 추가해야 합니다.
1
초보다 큰 폴
링 대기 시간을 지정할 수 있습니다. 대기 시간을
0
으로 설정하면 텐서플로 서빙이 로드된 모
델을 새로 고치지 않습니다.
9.2
배포를 위한 모델 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.
O’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
I wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
I’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
I'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.