<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>higayasuo</author_name>
  <author_url>https://blog.hatena.ne.jp/higayasuo/</author_url>
  <blog_title>ひがやすを技術ブログ</blog_title>
  <blog_url>https://higayasuo.hatenablog.com/</blog_url>
  <categories>
    <anon>くーす</anon>
  </categories>
  <description>キャッシュは難しいテーマだと思います。 ばら色に見えて実は有効に機能していない分野だと 思うからです。 どこでキャッシュされるのかという点で考えてみます。 業務ロジックのうち、データアクセスに絡まない部分を Logic(サービス)層と呼ぶことにすると、Logic層で キャッシュが有効なのは、結果を導き出すために必要な データが不変で、処理そのものには時間がかかる場合でしょう。 普段そのような状況にあまり出会わないような気がしますが、 であったとしても、アスペクトで処理せずLogic層に直接処理を 記述した方が良いと思います。 アスペクトは、複数のクラスにまたがる共通的な処理を おこなう場合に有…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhigayasuo.hatenablog.com%2Fentry%2F20040808%2F1091933710&quot; title=&quot;キャッシュとアスペクト - ひがやすを技術ブログ&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>2004-08-08 11:55:10</published>
  <title>キャッシュとアスペクト</title>
  <type>rich</type>
  <url>https://higayasuo.hatenablog.com/entry/20040808/1091933710</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
