Giter Site home page Giter Site logo

作業ログ about isucon11-qualifier HOT 8 CLOSED

motemen avatar motemen commented on July 19, 2024
作業ログ

from isucon11-qualifier.

Comments (8)

motemen avatar motemen commented on July 19, 2024 1

.ssh/config

Host isu01
  User isucon
  Hostname 35.76.23.211

Host isu02
  User isucon
  Hostname 35.73.159.202

Host isu03
  User isucon
  Hostname 35.74.221.161

これでよろしく

from isucon11-qualifier.

motemen avatar motemen commented on July 19, 2024

Mariadb 外部接続できるようにする

MariaDB [(none)]> GRANT ALL PRIVILEGES ON *.* TO 'isucon'@'%' IDENTIFIED BY 'isucon' WITH GRANT OPTION;

これ書くサーバで

from isucon11-qualifier.

motemen avatar motemen commented on July 19, 2024
  • isu01 nginx, app
  • isu02 app
  • isu03 db, あと app の /initialize のみ
    という担当で

from isucon11-qualifier.

motemen avatar motemen commented on July 19, 2024

スローログ

isu03

MariaDB [(none)]> SET GLOBAL slow_query_log_file = '/tmp/mysql-slow.log'
    -> ;
Query OK, 0 rows affected (0.000 sec)

MariaDB [(none)]> SET GLOBAL long_query_time = 0;
Query OK, 0 rows affected (0.000 sec)

MariaDB [(none)]> SET GLOBAL slow_query_log = ON;
Query OK, 0 rows affected (0.002 sec)

from isucon11-qualifier.

motemen avatar motemen commented on July 19, 2024

https://gist.github.com/motemen/5c848cd4f695fbeb415a9102ed28dcd8

from isucon11-qualifier.

motemen avatar motemen commented on July 19, 2024

こういう感じ

alp ltsv --file /var/log/nginx/access_log.ltsv -m '/api/condition/.*,/api/isu/[^/]*/icon,/api/isu/[^/]*/graph,/api/isu/[^/]*$,/isu/[^/]*/condition,/isu/[^/]*/graph,/isu/[^/]*$,/assets/.*' --sort sum --reverse

from isucon11-qualifier.

motemen avatar motemen commented on July 19, 2024

pt-query-digest #4 (comment)

from isucon11-qualifier.

toricls avatar toricls commented on July 19, 2024

dropProbaility まわりをコメントアウトしてまわしたジョブ

https://portal.isucon.net/contestant/benchmark_jobs/5526

from isucon11-qualifier.

Related Issues (4)

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.