Coder Social home page Coder Social logo

benjaminkim / navercast_rss_feed Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 4.0 313.09 MB

네이버캐스트 rss 피드

Home Page: navercast.petabytes.org

Ruby 81.04% JavaScript 2.70% CoffeeScript 0.49% CSS 1.66% HTML 13.36% Shell 0.33% SCSS 0.42%
rss ruby

navercast_rss_feed's Introduction

navercast_rss_feed's People

Contributors

benjaminkim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

navercast_rss_feed's Issues

피드 아이템 갯수 줄이기

전체공개를 하는 정책은 여전히 변함이 없지만 피드아이템 갯수는 좀 줄이는게 좋겠다.(현재 요청 하나당 25개 정도의 아이템이 피딩되고 있음)
갯수를 줄이는 이유는 무료인줄 알고 쓰던 aws free 티어에서 한달 아웃바운드 데이터 무료 제한용량인 15G 가 넘어가서 요금 고지서가 날라오고 있기 때문에;;

서버 환경을 AWS 로 이전

집에서 돌리는 서버가 노후되어 자꾸 전원이 꺼져버린다.
이 참에 귀찮지만 AWS 로 옮겨야겠다.

README 파일 자동 생성

새로 추가될 때마다 손으로 데이터를 입력하는게 번거롭고 데이터가 잘못될 수 있어서 좀 더 편하고 정확하게 피드 URL 들을 README 에 빌드시켜주고 싶다.

/author_contents_list.nhn 주소는 네이버캐스트로 포워딩 시켜줄 것

I, [2014-12-30T16:10:21.500101 #19842]  INFO -- : Started GET "/author_contents_list.nhn?acknowledgeType=author&acknowledgeId=au577" for 127.0.0.1 at 2014-12-30 16:10:21 +0900
F, [2014-12-30T16:10:21.505556 #19842] FATAL -- :
ActionController::RoutingError (No route matches [GET] "/author_contents_list.nhn"):
  actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
  actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
  railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
  railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
  activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
  activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
  activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
  railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
  actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
  rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
  rack (1.6.0) lib/rack/runtime.rb:18:in `call'
  activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
  rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
  railties (4.2.0) lib/rails/engine.rb:518:in `call'
  railties (4.2.0) lib/rails/application.rb:164:in `call'
  unicorn (4.8.3) lib/unicorn/http_server.rb:576:in `process_client'
  unicorn (4.8.3) lib/unicorn/http_server.rb:670:in `worker_loop'
  unicorn (4.8.3) lib/unicorn/http_server.rb:525:in `spawn_missing_workers'
  unicorn (4.8.3) lib/unicorn/http_server.rb:140:in `start'
  unicorn (4.8.3) bin/unicorn:126:in `<top (required)>'
  /var/www/navercast_feed/shared/bundle/ruby/2.1.0/bin/unicorn:23:in `load'
  /var/www/navercast_feed/shared/bundle/ruby/2.1.0/bin/unicorn:23:in `<main>'

서버 모니터링 강화

aws 가 메모리가 너무 부족해서 유니콘이 메모리가 부족해서 죽는다.
모니터링도 달고 주기적으로 재시작이라도 시켜서 서비스가 중단되지 않도록 해두는게 좋겠다.

피드 아이템들에 대한 캐시 추가.

네이버에 가서 계속 똑같은 콘텐츠들을 긁어오므로 조금이라도 캐시해서 트래픽을 아껴야겠다.
공짜로 쓸수 있는줄 알았는데 트래픽이 넘쳐서 자꾸 청구서가 날라온다;;

피드 전문 노출 안됨

원래 피드에 전문 노출이 되었었는데 원문 HTML이 뭔가 변경되었는지 어디선가 깨진 것 같다.

서버 살려놓기

여행가있는 동안 집에서 돌리는 서버가 전원이 내려가서 일주일 째 서비스가 안되고 있다.
오늘 집에 가면 바로 서비스부터 살려놓고 다른 곳으로 옮기던지 대책을 마련해봐야겠다.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.