タグ

2015年7月30日のブックマーク (3件)

  • はてなで大規模サービスのインフラを学んだ - ゆううきブログ

    中〜大規模サービスのインフラの様子を知りたいアプリケーションエンジニア向けに、もともとアプリケーションコードを書いていた視点から、個人的な体験をベースにはてなで大規模サービスのインフラを学んだ過程や学んだ内容の一部を紹介します。 Webアプリケーションのブラックボックス Webアプリケーションフレームワークの向こう側 なぜ複数のサーバが必要なのか 突然のWebサービス3層構成 リバースプロキシ アプリケーション データベース その他のコンポーネント キャッシュは麻薬 飛び道具としてのKVS/NoSQL 非同期処理 バッチ処理 Mackerelの場合 参考 まとめ Webアプリケーションのブラックボックス 今年もはてなインターンの時期が近づいてきた。 毎年ではないけど、はてなインターンでは「インフラ講義」というのをやっている。 今年はインフラ講義の講師としてアサインされたのでちょうど何を話そ

    はてなで大規模サービスのインフラを学んだ - ゆううきブログ
    t-wada
    t-wada 2015/07/30
    相変わらず素晴らしいクオリティのエントリだ。若手にも一連のシリーズを読んでもらうことで Web システムのアーキテクチャを理解してもらえると思う。
  • bliki: Tell Dont Ask

    Tell-Don't-Ask is a principle that helps people remember that object-orientation is about bundling data with the functions that operate on that data. It reminds us that rather than asking an object for data and acting on that data, we should instead tell an object what to do. This encourages to move behavior into an object to go with the data. Let's clarify with an example. Let's imagine we need t

    bliki: Tell Dont Ask
    t-wada
    t-wada 2015/07/30
    "Tell, Don't Ask" について。図が分かりやすい。
  • Tell, Don't Ask | The Pragmatic Bookshelf

    This website uses cookies for account and order processing. By using this site you understand and agree to our use of cookies, our Terms Of Use, and Privacy Policy Alec Sharp, in the recent book Smalltalk by Example [SHARP], points up a very valuable lesson in few words: Procedural code gets information then makes decisions. Object-oriented code tells objects to do things. — Alec Sharp That is, yo

    t-wada
    t-wada 2015/07/30
    オブジェクト指向プログラミングのプラクティス "Tell, Don't Ask" について。デメテルの法則やコマンドクエリ分離原則に照らしながら説明。