Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timeline #1

Open
sorah opened this issue Nov 25, 2023 · 23 comments
Open

timeline #1

sorah opened this issue Nov 25, 2023 · 23 comments

Comments

@sorah
Copy link
Collaborator

sorah commented Nov 25, 2023

No description provided.

@rosylilly
Copy link
Member

@rosylilly
Copy link
Member

@sorah
Copy link
Collaborator Author

sorah commented Nov 25, 2023

DNS水責めがあるの、完全に kazeburo さんの恨み入ってそう

@sorah
Copy link
Collaborator Author

sorah commented Nov 25, 2023

Host isu1
  HostName 52.69.112.84
Host isu2
  HostName 18.178.255.184
Host isu3
  HostName 57.180.97.87
Host isu1 isu2 isu3
  Port 22
  User isucon

@sorah
Copy link
Collaborator Author

sorah commented Nov 25, 2023

JobId 56
57.180.97.87
3,444

@rosylilly
Copy link
Member

2023-11-25 10-21-50

これで3番の DNS 使いつつ他も使ってサービスアクセスできる

@mirakui
Copy link

mirakui commented Nov 25, 2023

Ruby
4,081

@sorah
Copy link
Collaborator Author

sorah commented Nov 25, 2023

3,809

@sorah
Copy link
Collaborator Author

sorah commented Nov 25, 2023

mysql> select User,Host from mysql.user;
+------------------+-----------+
| User             | Host      |
+------------------+-----------+
| debian-sys-maint | localhost |
| isucon           | localhost |
| isudns           | localhost |
| mysql.infoschema | localhost |
| mysql.session    | localhost |
| mysql.sys        | localhost |
| root             | localhost |
+------------------+-----------+
7 rows in set (0.00 sec)

mysql> update mysql.user set Host = '%' where User like 'isu%';
Query OK, 2 rows affected (0.00 sec)
Rows matched: 2  Changed: 2  Warnings: 0

mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)

mysql> ^DBye

@mirakui
Copy link

mirakui commented Nov 25, 2023

@sorah
Copy link
Collaborator Author

sorah commented Nov 25, 2023

なんもしてないのにスコア上がった 8996

@sorah
Copy link
Collaborator Author

sorah commented Nov 25, 2023

score/11768

@sorah
Copy link
Collaborator Author

sorah commented Nov 25, 2023

score/14447

@sorah
Copy link
Collaborator Author

sorah commented Nov 25, 2023

icon オフロード 20160

@sorah
Copy link
Collaborator Author

sorah commented Nov 25, 2023

50089

  • さよならpdns
  • さよなら theme
  • stats counter cache
  • moderation sqlクエリマシ

@sorah
Copy link
Collaborator Author

sorah commented Nov 25, 2023

2023-11-25 04:43:09 - Mysql2::Error - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1:
        /home/isucon/vendor/bundle/ruby/3.3.0+0/gems/mysql2-0.5.5/lib/mysql2/client.rb:151:in `_query'
        /home/isucon/vendor/bundle/ruby/3.3.0+0/gems/mysql2-0.5.5/lib/mysql2/client.rb:151:in `block in query'
        /home/isucon/vendor/bundle/ruby/3.3.0+0/gems/mysql2-0.5.5/lib/mysql2/client.rb:150:in `handle_interrupt'
        /home/isucon/vendor/bundle/ruby/3.3.0+0/gems/mysql2-0.5.5/lib/mysql2/client.rb:150:in `query'
        /home/isucon/vendor/bundle/ruby/3.3.0+0/gems/mysql2-cs-bind-0.1.1/lib/mysql2-cs-bind.rb:11:in `xquery'
        /home/isucon/git/webapp/ruby/app.rb:656:in `block (2 levels) in <class:App>'
        /home/isucon/git/webapp/ruby/app.rb:75:in `db_transaction'
        /home/isucon/git/webapp/ruby/app.rb:642:in `block in <class:App>'

syntax error出しちゃったねえ^^

@mirakui
Copy link

mirakui commented Nov 25, 2023

88,874

@sorah
Copy link
Collaborator Author

sorah commented Nov 25, 2023

15:26 に 92110 は出てる

@sorah
Copy link
Collaborator Author

sorah commented Nov 25, 2023

15:57 109,465

@sorah
Copy link
Collaborator Author

sorah commented Nov 25, 2023

反省: エンドポイントが負荷レベルに寄与してるか怪しいと思ったら sleep を入れてみよう

@sorah
Copy link
Collaborator Author

sorah commented Nov 25, 2023

反省2: ローカルTLS終端できる便利設定くらいは事前に手配しよう

でもフロントエンド壊れてたんだよな

@sorah
Copy link
Collaborator Author

sorah commented Nov 25, 2023

反省: 304をappに寄せたけどそのpumaへの影響をちゃんと確認しておくべきだった

@mirakui
Copy link

mirakui commented Nov 26, 2023

ベンチマーカーが送ってくるリクエストをキャプチャしといて手元で再現する何かを用意したい

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants