2016.07.05 오늘의 구글링

오늘의 구글링

com.google.appengine.api.memcache.MemcacheServiceException: Memcache getIdentifiables: exception getting multiple keys는 대체 왜 자꾸 발생하는 거지?

  • query : com.google.appengine.api.memcache.MemcacheServiceException: Memcache getIdentifiables: exception getting multiple keys
    • Can you tweak GAE’s memcache timeout?
    • 흐흠. memcache 내부 proxy call이 오래걸리면서 발생하는 것인데, 이것 timeout을 짧게 가져가면 자동으로 retry하는 건지 다시 확인이 필요.
  • 결과 : memecache 내부 timeout 이슈
    • 추가분석
      • exeception을 던지는 메소드는 AsyncMemcacheServiceImpl.getIdentifiables() 요기네.
      • MemcacheSerialization.deserializeItem이 의심됨. deserialize가 오래 걸리는 걸까? 근데 막상 코드안에서는 timeout 날만한 곳이 안보이는데.

spot instance price가 무슨 말이지?

  • query : spot instance price aws
    • Amazon EC2 스팟 인스턴스 요금
    • 인스턴스 비용 절감을 위해 해당 리젼에서 예비로 생성된 인스턴스를 공급/수요에 따라 남아있는 것을 저렴한 가격으로 사용하는 방식이군. 가격은 입찰 방식으로 수요가 많으면 올라가는 방식. 신기하네 이런거 ㅋ
  • 결과 : 입찰방식의 과금