by shigemk2

当面は技術的なことしか書かない

about elastic search cat api

JSON is great… for computers. Even if it’s pretty-printed, trying to find relationships in the data is tedious. Human eyes, especially when looking at an ssh terminal, need compact and aligned text. The cat API aims to meet this need. All the cat commands accept a query string parameter help to see all the headers and info they provide, and the /_cat command alone lists all the available commands.

APIのドキュメントなのにこんなにフランクでいいんですかね……

catは人間が読みやすい形(おもにJSON)に変換して返却してくれる系のAPI。なんでCATなのかは知らない。indiceはよく使います。

medium.com

www.elastic.co

fire and forget

! means “fire-and-forget”, e.g. send a message asynchronously and return immediately. Also known as tell.

ドキュメントを読めばわかるかもですけど、メッセージを送ったらすぐにリターンする。もとはたぶん追尾ミサイルのfire and forgetで、ミサイルを発射したら、ミサイルを発射した方はミサイルの行方を知らなくても良くて、着弾点の関心事はミサイル自身が担うというアレ。

Actors — Akka Documentation