<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>pospome</author_name>
  <author_url>https://blog.hatena.ne.jp/pospome/</author_url>
  <blog_title>pospomeのプログラミング日記</blog_title>
  <blog_url>https://www.pospome.work/</blog_url>
  <categories>
    <anon>DDD</anon>
  </categories>
  <description>DDDでは「適切なドメインモデリング」が重要になってくる。このモデリングには明確な答えがなかったりするので、 自分が（チームが）適切だと思ったモデリングで進めていくと思うんだけど、 DBアクセスを伴う仕様では上手く表現できないケースが有る。具体的に言うと、 自分が正しいと思うドメインモデリングでは、 DBアクセス回数が増えてしまい、 パフォーマンスが気になってしまうことがある。 （これは自分がソーシャルゲームのような瞬間的に高負荷になるサービスに携わっていたからかもしれない）チャットアプリケーションを例に挙げて説明する。チャットには「ルーム」があり、ルームには「メンバー」が存在する。 メンバー…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.pospome.work%2Fentry%2F20150917%2F1442471307&quot; title=&quot;DDDにおけるDBアクセス回数とドメインモデル表現のトレードオフについて - pospomeのプログラミング日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-09-17 15:28:27</published>
  <title>DDDにおけるDBアクセス回数とドメインモデル表現のトレードオフについて</title>
  <type>rich</type>
  <url>https://www.pospome.work/entry/20150917/1442471307</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
