<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Tech on Game Server Services | Docs</title>
    <link>/tags/tech/</link>
    <description>Recent content in Tech on Game Server Services | Docs</description>
    <generator>Hugo</generator>
    <language>en</language>
    <atom:link href="/tags/tech/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Implementation Patterns for Error Handling</title>
      <link>/articles/tech/error/pattern/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/articles/tech/error/pattern/</guid>
      <description>In network feature implementation using GS2, error handling directly impacts game stability and user experience (UX). Here are some practical implementation patterns that go beyond simple exception catching.&#xA;1. Error Classification and Handling Policy GS2 exceptions can be broadly classified into three categories based on their nature.&#xA;Category Applicable Exceptions (Example) Handling Policy Transient Errors InternalServerError, ServiceUnavailable, RequestTimeout Automatic Retry. If it fails after several attempts, display an error dialog. Logic/Configuration Errors BadRequest, NotFound Errors to be resolved during development.</description>
    </item>
    <item>
      <title>SDK Cache Mechanism</title>
      <link>/articles/tech/cache/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/articles/tech/cache/</guid>
      <description>The GS2 game-engine SDKs (GS2 SDK for Unity, GS2 SDK for Unreal Engine, and so on) have a built-in cache that keeps data fetched from the server inside the SDK. Understanding this cache helps you reduce the number of API calls and improves both responsiveness and cost.&#xA;Basic behavior When you fetch data through a Domain object (an access pattern such as gs2.Inventory.Namespace(...).Me(...).Inventory(...)), the fetched data is stored in the SDK&amp;rsquo;s internal cache.</description>
    </item>
    <item>
      <title>Cost Optimization</title>
      <link>/articles/tech/cost/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/articles/tech/cost/</guid>
      <description>Since GS2 uses a pay-as-you-go pricing model, usage fees can vary significantly depending on the game&amp;rsquo;s design. This section explains key design points to keep costs down while maintaining performance.&#xA;1. Reduction of API Call Count A large portion of GS2 fees is determined by the number of API requests.&#xA;Utilize SDK Caching Mechanism The GS2 SDK has a built-in caching mechanism. When the same data is retrieved multiple times in a short period, it is designed to return the data from the cache without sending a request to the server.</description>
    </item>
  </channel>
</rss>
