01:03:59

30秒で支度しな(タイムアウト的な意味で)

01:13:04
2017-09-29 01:04:14 Posting 7_nana🎴マストどす 7_nana@mastodos.com

This account is not set to public on notestock.

04:09:53

実況会場はここでつか?

04:11:48
2017-09-29 03:46:44 Posting f_subal 👭 ✅ fsubal@pawoo.net

This account is not set to public on notestock.

04:13:06

Pawooさん時々流れてるよ

04:14:15

うちの子まだ接続8本でがんばってるの

$ heroku pg:info -a zundan-mastodon
=== DATABASE_URL, PG_HOBBY_BASIC_URL
Plan: Hobby-basic
Status: Available
Connections: 8/20
PG Version: 9.6.1
Created: 2017-04-20 18:31 UTC
Data Size: 282.8 MB
Tables: 35
Rows: 625563/10000000 (In compliance)

04:15:36

GCはじまった?

04:20:06
2017-09-29 04:19:48 Posting のりお 🌈 norio@pawoo.net

This account is not set to public on notestock.

04:20:19

バルス?

04:20:27

ば?

04:20:33

まだか

04:21:43

まだー?

04:22:20

\布団が/ \ふっとんだ!!/

04:23:07

:saba: ルス!

04:23:09

がっ

04:23:20

04:23:27

バルス!

04:24:12

ぎがー

04:28:01
04:28:24
2017-09-29 04:26:45 Posting まさらっき masarakki@friends.nico

This account is not set to public on notestock.

04:32:30
2017-09-29 04:32:30 Posting zunda zundan@mastodon.zunda.ninja
04:36:40

3分待ってやろう (おじいさん、もう終わったのよ?)

04:36:57
2017-09-29 04:24:35 Posting TacosTea tacostea@don.tacostea.net

This account is not set to public on notestock.

04:37:00
2017-09-29 04:37:00 Posting zunda zundan@mastodon.zunda.ninja
04:37:10
2017-09-29 04:31:36 Posting hello pompom@mstdn.jp

This account is not set to public on notestock.

04:38:08
2017-09-29 04:24:56 Posting きひろ hirohiro608@mastodon.noraworld.jp

This account is not set to public on notestock.

04:38:12

!?

04:38:24
2017-09-29 04:38:24 Posting zunda zundan@mastodon.zunda.ninja
04:39:29

@mitarashi_dango@mastodon.matcha-soft.com データベース接続のプールがどっかいっちゃったやつや…

04:40:46
2017-09-29 04:40:05 Posting pixiv 🎨 pixiv@pawoo.net

This account is not set to public on notestock.

04:42:05
2017-09-29 04:42:05 Posting zunda zundan@mastodon.zunda.ninja
04:46:27
2017-09-29 04:24:09 Posting はるか✅(ᕗ՞▿՞)ᕗ harurun@mstdn.jp

This account is not set to public on notestock.

04:46:29
2017-09-29 04:46:19 Posting しむどん三度無視 sximada@mstdn.jp

This account is not set to public on notestock.

04:46:47

見たみたw

04:47:07

@tadd お、おじいさん?

04:47:25
2017-09-29 04:27:14 Posting はるかさん harukasan@pawoo.net

This account is not set to public on notestock.

04:48:17

$ heroku pg:info -a zundan-mastodon
=== DATABASE_URL, PG_HOBBY_BASIC_URL
Plan: Hobby-basic
Status: Available
Connections: 8/20
PG Version: 9.6.1
Created: 2017-04-20 18:31 UTC
Data Size: 283.9 MB
Tables: 35
Rows: 625563/10000000 (In compliance) - refreshing

平常運転

04:49:14
2017-09-29 04:49:14 Posting zunda zundan@mastodon.zunda.ninja
04:50:14
2017-09-29 04:48:33 Posting ておりあ👐 theoria@wug.fun

This account is not set to public on notestock.

04:54:54

@mitarashi_dango@mastodon.matcha-soft.com うちの子はrack-timeoutのタイムアウトを延ばして例外飛ばないようにしてます。だいたいタイムアウトでコネクション漏らしちゃうみたいなので。

04:55:05
2017-09-29 04:53:58 Posting ぐすくま ✅ shiroma@mstdn.jp

This account is not set to public on notestock.

04:56:57
2017-09-29 04:56:43 Posting 7_nana🎴マストどす 7_nana@mastodos.com

This account is not set to public on notestock.

04:57:58
2017-09-29 04:20:24 Posting pixiv 🎨 pixiv@pawoo.net

This account is not set to public on notestock.

04:58:17

@abcang さんおつ!

05:00:04

あけおめ

05:00:17

もう次の負荷試験なの?ぼくはいつ寝るの?

05:00:35
2017-09-29 05:00:02 Posting きりの ✅ imksoo@mastodon.chotto.moe

This account is not set to public on notestock.

05:03:37

もう寝ましょう。明日はたくさん飛ばなきゃ

05:04:41

あ、$23/月構成から$16/月構成に戻すのは起きてから(忘れるなよ)

05:14:53

やっぱりぼっちインスタンスに来るリクエストの大部分はリモートのキューを通ってばらけてくるってのが大きいんだろうなあ

05:17:09
2017-09-29 05:14:14 Posting monaca mimoo@omochi.xyz

This account is not set to public on notestock.

06:41:16
2017-09-29 06:32:39 Posting 7_nana🎴マストどす 7_nana@mastodos.com

This account is not set to public on notestock.

06:42:40

@natsuki go言語で変数の宣言と代入を同時にするときかな?

06:44:08

@natsuki ババンバ バンバンバン♪(て古すぎて伝わらないか(´・ω・`)

06:51:02

@natsuki すんませんすんませんw

06:53:39

@zundan@friends.nico method=POST path="/inbox" fwd="54.65.24.58"

06:54:41

@zundan@pawoo.net method=POST path="/inbox" fwd="13.114.242.181"

06:55:43

method=POST path="/inbox"じゃないかな?

06:57:54

@zundan@mstdn.jp method=POST path="/inbox" fwd="27.133.147.46"

06:58:03

たぶん?

07:01:44

$ heroku pg:info -a zundan-mastodon
=== DATABASE_URL, PG_HOBBY_BASIC_URL
Plan: Hobby-basic
Status: Available
Connections: 8/20
PG Version: 9.6.1
Created: 2017-04-20 18:31 UTC
Data Size: 285.1 MB
Tables: 35
Rows: 649837/10000000 (In compliance)

07:04:24

このインスタンスを$16/月体制に戻しました

Scaling dynos... done, now running worker at 0:Hobby

DB_POOL: 6
MAX_THREADS: 3
RUN_WORKER: true
SIDEKIQ_THREADS: 1
WEB_CONCURRENCY: 1

07:04:34
2017-09-29 07:02:31 Posting unarist unarist@mstdn.maud.io

This account is not set to public on notestock.

07:05:07

年末の負荷試験は$13/月のまま突撃してみたいな

07:05:34

じゃなくて$16/月。足し算できません…

07:13:23

BASICは型あったっけ?DEFINT A-Zってなんだっけw

07:19:55
2017-09-29 07:19:01 Posting ぴけぴけ@Skebなど1件作業中 pikepikeid@mstdn.maud.io

落とさないでください~

07:19:59
09:41:37

バルスでいろいろおもしろいデータ取れたと思うんだけどとりあえずお仕事おしごと

09:45:34

このインスタンスには安いPostgresしかつけてあげてないので、数を数えるクエリのキャッシュはながーくしてあります。

https://github.com/zunda/mastodon/commit/38ac69d092cb5bf2cbbe68b868d24c77fe540b21#diff-141

11:19:31

(もしかしたら次の負荷試験はJアラート?

11:58:42

@popneo もちろん起こって欲しくないですが、「米海軍のミサイル追跡艦が出港」というツイートをみかけたのです… https://twitter.com/YokoyamaKouichi/status/913873837858578434

12:23:06

9月29日夜JSTのバルス反省会

このインスタンスに届いたトゥートの、トゥート時刻(created_at)と届いた時刻(updated_at)の差を、いくつかのリモートインスタンスについて眺めてみました。縦線は14:22:30 UTCで、だいたいバルスが放映された時刻だろうと思っています。横軸はトゥート時刻です。

トゥート元のホストによって色を分けてみると、バルス前から徐々に時間差が増え、バルス後に減るdon.tacostea.net、バルス時に急に増えリニアに減るfriends.nico、ばらばらと遅れの大きいトゥートがあるmstdn.jpとpawoo.netと、ホストによって違いがあることがわかりました。Sidekiqへのキューやスレッドの割り当て方で違いが出てるんだろうな。

このインスタンスからのトゥートについても見てみたかったのですが、自分では記録を取ってないようです。なんとかしたい。

https://mastodon.zunda.ninja/media/QSOb3QElOOfZB2X43cw

12:25:56

次にこのインスタンスのサービス時間(リクエストを処理するのにかかった時間)。サンプル内に2回30秒のタイムアウトが記録されていましたが、バルス時刻前後にも特にトラフィックやサービス時間が増えた様子はありませんでした。大きいインスタンスからの配信はキュー内で時間がばらけて、小さいインスタンスへの負荷は時間的に分散しているようです。 https://mastodon.zunda.ninja/media/uwYVkpOabzYCIdU1izk

12:28:47

最後にこのインスタンスから他のインスタンスへの配信エラー。pawoo.net、friends.nico、mstdn.jpへの配信の記録を抽出してみたら、mstdn.jpへの配信ではエラーが記録されていませんでした。pawoo.netへはバルスから30分くらいの間ちらほらエラーが記録れていたので、リクエストが高い状態だったのかもしれません。 https://mastodon.zunda.ninja/media/VzteyfFZ3-ckG-kTyaw

12:55:48
2017-09-29 05:19:03 Posting はるかさん harukasan@pawoo.net

This account is not set to public on notestock.

12:55:56

勝手に親近感

12:56:17

テーブル総なめにする子はダメです

12:57:39

でも結構発行させちゃう(タイムアウトしてコネクションプール漏れませんように-人-

13:10:45

あけおめ負荷試験はこっちだと朝の5時かあ…

15:07:49

:thisisfine: 入れたいんだけどライセンスがわからないよね

15:08:03

:doge: も入れたいんだけどライセンスがわからないよね

15:08:37

:ruby: と :gopher: はだいじょび?どこかにライセンス書いとくべきなのかな

15:24:32

土曜日朝のみなさまおはようございます! こちらは金曜日で早朝の負荷試験のため眠いですがぼちぼち仕事してます。

Good morning to those who are enjoying Saturday morning! It is still Friday here and I feel sleepy from waking up early in the morning for the national scheduled load test day in Japan, aka, airing of "Castle in the Sky". I'm happy to announce this instance withstood the load test anyway :)

15:35:53

ロードはいいぞ (もうずーいぶん乗ってないな)

15:39:31

久々Scout詳細。…/timelines/public?local=trueはapplication_controller.rb:89から
SELECT "statuses"."id", "statuses"."updated_at" FROM "statuses" LEFT OUTER JOIN "accounts" ON "accounts"."id" = "statuses"."account_id" WHERE ("statuses"."local" = ? OR "statuses"."uri" IS NULL) AND "statuses"."visibility" = ? AND (statuses.reblog_of_id IS NULL) AND (statuses.reply = FALSE OR statuses.in_reply_to_account_id = statuses.account_id) AND "accounts"."silenced" = ? ORDER BY "statuses"."id" DESC LIMIT ?

15:39:51

created_at > 昨日 とか入れるとずいぶん早くできるんだけどな

15:41:19

3.3秒の/@zundan?max_id=223589もapplication_controller.rb:89から

SELECT "statuses"."id", "statuses"."updated_at" FROM "statuses" WHERE "statuses"."account_id" = ? AND "statuses"."visibility" IN (?) AND (statuses.reply = FALSE OR statuses.in_reply_to_account_id = statuses.account_id) AND ("statuses"."id" < ?) ORDER BY "statuses"."id" DESC LIMIT ?

15:59:40

過去24時間のトラッフィックが見えました。バルスの前20分、後1時間20分間くらいトラフィックが高かったようです。それでも変化してないレスポンス時間。えらい。 https://mastodon.zunda.ninja/media/bpjtsjxvea1s4MiXhDs

16:03:09

\バルスを/ \耐えて/ \ますたー!!/

Merged tootsuite/mastodon at 0060f988478e54cb1b54b255d06376fd9fa265b1

16:04:35

ActivityPub::DeliveryWorkerのログがちょっと賑やかになったかな?

16:05:44

Pubsubhubbub::DeliveryWorkerも

16:11:45

アプリログでSidekiqの動きが少し見えるようになったのいいな

16:27:01

Awoo

16:28:04

How many hours in an "all day” in MDT (Mastodon Development Time)?

16:32:18

DistributionWorkerとかLinkCrawlWorkerも居る。

16:32:38

DistributionWorker、PushUpdateWorker

16:33:16

LinkCrawlWorkerがHEADしに来てる子だったのかもねえ

16:33:35
2017-09-29 16:32:37 Posting Eugen Rochko Gargron@mastodon.social

This account is not set to public on notestock.

16:44:53

なになにぼくがでぷろいしてる間にReact来てたのw

$ git log upstream/master...master
commit ebb8c8920795a31a3188d39b926a5074bb8b69cf
Author: Eugen Rochko <eugen@zeonfederated.com>
Date: Sat Sep 30 04:29:56 2017 +0200

Upgrade to React 16 (#5119)

* Upgrade to React 16.0.0

* Disable some uncritical tests while chai-enzyme remains incompatible

16:47:15

眠いと囁くのよ、私のゴーストが (こうですか違います

17:04:04

Ctrl+Alt+Delなら3ストローク (なんのはなし?

17:14:00

んだんだ

17:51:20
2017-09-29 17:35:43 Posting ヒドロ🦊 OH@v1x3n.net

This account is not set to public on notestock.

17:51:31

onion TLDかっこええ

19:41:21

いいなあいいなあ -- Cookpad Ruby Hack Challenge 開催報告 - クックパッド開発者ブログ http://techlife.cookpad.com/entry/2017/09/29/224024

20:27:02
2017-09-29 20:26:22 Posting あべ abcang@pawoo.net

This account is not set to public on notestock.

20:27:05

20:57:22
2017-09-29 20:56:45 Posting THE BOSS the_boss@theboss.tech&OLD

This account is not set to public on notestock.

20:57:31

あ、そか、それもあっての更新ですね

20:59:34

あまり頻繁には出ないエラーを余分に目立たないように改造したのでうまくいったかどうかすぐには見分けれれないw まあしばらく放置して検索しよう。