<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kazutomo</author_name>
  <author_url>https://blog.hatena.ne.jp/kazutomo/</author_url>
  <blog_title>GS2 Blog</blog_title>
  <blog_url>https://gs2.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>はじめに GS2におけるトランザクション処理というのはユーザーデータの増減処理を指します。 たとえば、「課金通貨を消費してスタミナを回復する」というような操作です。 機能追加の背景 GS2はレスポンスタイムの最適化を日々行なっており、数百msのオーダーで処理が実行されます。 しかし、通信が完了するまでUIを更新しないとこの数百msのラグが違和感を生んでしまいます。そこで、ユーザー体験を最適化するために投機的実行機能を実装しました。 追加された機能の詳細 GS2-Showcase の Buy や GS2-Exchange の Exchange 関数に第二引数 bool speculativeEx…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgs2.hatenablog.com%2Fentry%2F2023%2F11%2F07%2F110000&quot; title=&quot;トランザクション処理の投機的実行機能が追加されました - GS2 Blog&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>2023-11-07 11:00:00</published>
  <title>トランザクション処理の投機的実行機能が追加されました</title>
  <type>rich</type>
  <url>https://gs2.hatenablog.com/entry/2023/11/07/110000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
