Giter Site home page Giter Site logo

isucon5q's People

Contributors

qiita avatar spesnova avatar yujinakayama avatar yuku avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

isucon5q's Issues

Unicorn の worker process を増やす?

worker_processes should be at least the number of CPU cores on a dedicated server (unless you do not have enough memory). If your application has occasionally slow responses that are /not/ CPU-intensive, you may increase this to workaround those inefficiencies.

Tuning unicorn

mysql と unicorn でそれぞれどれくらいメモリ使うかによるけど

$ free -m
             total       used       free     shared    buffers     cached
Mem:          3548       3100        447          9        142       2291
-/+ buffers/cache:        666       2881
Swap:            0          0          0

メモリにまだ余裕はある

relationsの重複を排除する

友達関係を表していてaとbが友達のとき、one=a, another=bとone=b, another=aの両方が作られている

initializeもちゃんと直す必要有り

Dadadog 入れてみる

$ uname -a
Linux instance-1 3.19.0-21-generic #21-Ubuntu SMP Sun Jun 14 18:31:11 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

ubuntu

TODO

  • datadog agent 入れる
  • nginx 監視設定
  • mysql 監視設定
  • 最後に datadog agent は止める + 消す

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.