-
Notifications
You must be signed in to change notification settings - Fork 0
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
作業スレ #1
Comments
マニュアル NAME: isucon Database Init: ~isucon/webapp/sql/init.sh 一部APIは他のリクエストへの反映までに許容される猶予時間があります
429 Too many Request もあるので、問題ない エラーが発生した場合は、負荷走行スコアから (エラーの数 × 1)% が減点されます。ただしCriticalなエラーについては、負荷走行スコアから (エラーの数 × 10)% が減点されます |
DROP TABLE IF EXISTS competition;
DROP TABLE IF EXISTS player;
DROP TABLE IF EXISTS player_score;
CREATE TABLE competition (
id VARCHAR(255) NOT NULL PRIMARY KEY,
tenant_id BIGINT NOT NULL,
title TEXT NOT NULL,
finished_at BIGINT NULL,
created_at BIGINT NOT NULL,
updated_at BIGINT NOT NULL
);
CREATE TABLE player (
id VARCHAR(255) NOT NULL PRIMARY KEY,
tenant_id BIGINT NOT NULL,
display_name TEXT NOT NULL,
is_disqualified BOOLEAN NOT NULL,
created_at BIGINT NOT NULL,
updated_at BIGINT NOT NULL
);
CREATE TABLE player_score (
id VARCHAR(255) NOT NULL PRIMARY KEY,
tenant_id BIGINT NOT NULL,
player_id VARCHAR(255) NOT NULL,
competition_id VARCHAR(255) NOT NULL,
score BIGINT NOT NULL,
row_num BIGINT NOT NULL,
created_at BIGINT NOT NULL,
updated_at BIGINT NOT NULL
);
|
Initialize reload db SQLiteのデータベースを初期化MySQLを初期化mysql -u"$ISUCON_DB_USER" rm -f ../tenant_db/.db |
Table Size
Vist history very big |
Problem
|
最初の作業 (40分で終わないといけない)
インフラ担当
アプリケーション担当1
競争中:忘れないといけないこと
インフラ担当
アプリケーション担当
終了する時に
sudo systemctl reboot
The text was updated successfully, but these errors were encountered: