<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
    <channel>
        <title>DevOps - แท็ก - Kawin&#39;s Pages</title>
        <link>https://kawin.dev/tags/devops/</link>
        <description>DevOps - แท็ก - Kawin&#39;s Pages</description>
        <generator>Hugo -- gohugo.io</generator><language>th</language><managingEditor>kawin.v@kkumail.com (Kawin Viriyaprasopsook)</managingEditor>
            <webMaster>kawin.v@kkumail.com (Kawin Viriyaprasopsook)</webMaster><lastBuildDate>Wed, 13 Mar 2024 00:45:21 &#43;0700</lastBuildDate><atom:link href="https://kawin.dev/tags/devops/" rel="self" type="application/rss+xml" /><item>
    <title>GOMAXPROCS, GOMEMLIMIT กับ Kubernetes</title>
    <link>https://kawin.dev/posts/go/go_kube_resource_limits/</link>
    <pubDate>Wed, 13 Mar 2024 00:45:21 &#43;0700</pubDate>
    <author>kawin.v@kkumail.com (Kawin Viriyaprasopsook)</author>
    <guid>https://kawin.dev/posts/go/go_kube_resource_limits/</guid>
    <description><![CDATA[<div class="featured-image">
                <img src="/featured-image.webp" referrerpolicy="no-referrer">
            </div><p><a href="https://pkg.go.dev/runtime" target="_blank" rel="noopener noreffer ">Go runtime</a> มีค่า ENV ที่สามารถตั้งค่าได้อยู่ไม่กี่ตัว แต่มันจะมีอยู่ 2 ค่าที่ชาว DevOps จะเอามาใช้เป็นค่าเริ่มต้นเลย คือ <strong>GOMAXPROCS</strong> และ <strong>GOMEMLIMIT</strong> โดยแต่ละค่าจะใช้ทำอะไรได้บ้างเรามาลองดูกัน</p>]]></description>
</item>
<item>
    <title>DragonflyDB vs Redis</title>
    <link>https://kawin.dev/posts/db/dragonfly/</link>
    <pubDate>Tue, 22 Aug 2023 08:35:52 &#43;0700</pubDate>
    <author>kawin.v@kkumail.com (Kawin Viriyaprasopsook)</author>
    <guid>https://kawin.dev/posts/db/dragonfly/</guid>
    <description><![CDATA[<div class="featured-image">
                <img src="/featured-image.webp" referrerpolicy="no-referrer">
            </div><p>ปกติแล้วเวลาเราใช้งาน In-memory database ก็มักจะนึกถึง Redis กับ Memcache วันนี้เลยจะมาแนะนำอีกตัวนึงที่น่าสนใจนั่นคือ Dragonfly ซึ่งเคลมตัวเองว่าเป็น <strong>multi-threaded Redis replacement</strong> เลยมาลองทดสอบดูว่าระหว่าง Dragonfly กับ Redis 7 ผลจะเป็นอย่างไร</p>]]></description>
</item>
<item>
    <title>GOMAXPROCS เพื่อนที่ดีของ DevOps</title>
    <link>https://kawin.dev/posts/go/automaxprocs/</link>
    <pubDate>Sun, 13 Aug 2023 00:19:58 &#43;0700</pubDate>
    <author>kawin.v@kkumail.com (Kawin Viriyaprasopsook)</author>
    <guid>https://kawin.dev/posts/go/automaxprocs/</guid>
    <description><![CDATA[<div class="featured-image">
                <img src="/featured-image.webp" referrerpolicy="no-referrer">
            </div><p>ตั้งแต่ Go 1.5 เป็นต้นมานั้น ค่าของจำนวน <code>User-Level</code> ที่ Go App จะสามารถให้ทำงานพร้อมกันนั้นในแต่ละ Instance จะถูกกำหนดด้วย GOMAXPROCS แล้วทีนี้ค่าของ GOMAXPROCS จะมีค่าตามนิยามนี้
<div class="details admonition note open">
        <div class="details-summary admonition-title">
            <i class="icon fas fa-pencil-alt" aria-hidden="true"></i>Note<i class="details-icon fas fa-angle-right" aria-hidden="true"></i>
        </div>
        <div class="details-content">
            <div class="admonition-content">GOMAXPROCS sets the maximum number of CPUs that can be executing simultaneously and returns the previous setting. It defaults to the value of runtime.NumCPU. If n &lt; 1, it does not change the current setting. This call will go away when the scheduler improves.</div>
        </div>
    </div></p>]]></description>
</item>
<item>
    <title>ลองเทียบประสิทธิภาพของ Apps กับ Database ระหว่าง TCP กับ Unix socket</title>
    <link>https://kawin.dev/posts/linux/tcp_vs_socket/</link>
    <pubDate>Fri, 28 Jul 2023 19:52:51 &#43;0700</pubDate>
    <author>kawin.v@kkumail.com (Kawin Viriyaprasopsook)</author>
    <guid>https://kawin.dev/posts/linux/tcp_vs_socket/</guid>
    <description><![CDATA[<div class="featured-image">
                <img src="/featured-image.webp" referrerpolicy="no-referrer">
            </div><p>ปกติแล้วเวลาใช้งาน database ในระดับงานที่ไม่ใหญ่มาก ใน container เราก็มักจะเชื่อมต่อกันด้วย TCP/IP กันถูกไหมครับ แต่รู้หรือไม่ว่าเราสามารถเพิ่มประสิทธิภาพง่าย ๆ ด้วยการลด overhead ของ TCP ออกด้วยการใช้ Unix socket แทนผลจะเป็นยังไง ลองมาดูกันครับ</p>]]></description>
</item>
<item>
    <title>เปิดเว็บเซอร์วิสสู่ชาวโลกด้วย K3S &#43; Cloudflare Tunnel</title>
    <link>https://kawin.dev/posts/cloudflare/tunnel_k3s/</link>
    <pubDate>Thu, 20 Jul 2023 19:49:54 &#43;0700</pubDate>
    <author>kawin.v@kkumail.com (Kawin Viriyaprasopsook)</author>
    <guid>https://kawin.dev/posts/cloudflare/tunnel_k3s/</guid>
    <description><![CDATA[<div class="featured-image">
                <img src="/featured-image.webp" referrerpolicy="no-referrer">
            </div><p>หากเรามี home lab หรือ service ที่อยู่ใน k3s/k8s อยากเปิดให้ชาวโลกได้เข้ามาใช้งาน แต่ไม่มี public IP จะทำอย่างไรได้นะ ยิ่งในโลกที่ทุกวันนี้ ISP แจก IP แบบ Carrier-grade NAT หรือเรียกติดปากกันว่า large-scale NAT (LSN) ทำให้จะใช้ DDNS ก็ลำบากอัปเดต IP กันอีก จึงเป็นที่มาของพระเอกในบทความนี้ครับ</p>]]></description>
</item>
<item>
    <title>Linux Sysctl Tuning</title>
    <link>https://kawin.dev/posts/linux/sysctl_tuning/</link>
    <pubDate>Wed, 19 Jul 2023 23:56:31 &#43;0700</pubDate>
    <author>kawin.v@kkumail.com (Kawin Viriyaprasopsook)</author>
    <guid>https://kawin.dev/posts/linux/sysctl_tuning/</guid>
    <description><![CDATA[<div class="featured-image">
                <img src="/featured-image.jpg" referrerpolicy="no-referrer">
            </div><p>เราสามารถปรับตั้งค่าใน sysctl เพื่อให้ Linux server ทำงานได้ราบลื่นเมื่อมีโหลดมากขึ้น โดยปกติแล้ว Linux ในแต่ละ Distro จะมีการตั้งค่า sysctl มาให้กลางอยู่แล้วเช่นสาย RHEL อาจจะปรับมาเพื่อให้บริการเป็นเครื่องแม่ข่ายเป็นพิเศษ DEB อาจจะปรับมาเพื่อให้ทำงานได้อย่างบาลานซ์ เป็นต้น ซึ่งในบทความนี้ผมจะมาแนะนำค่าที่ผมใช้งานอยู่ใน Production ของงานแต่ละประเภทดังนี้ครับ</p>]]></description>
</item>
<item>
    <title>ซ่อนเว็บเซอร์วิสไว้ข้างหลัง Cloudflare</title>
    <link>https://kawin.dev/posts/cloudflare/secure_origin/</link>
    <pubDate>Sat, 15 Jul 2023 21:57:40 &#43;0700</pubDate>
    <author>kawin.v@kkumail.com (Kawin Viriyaprasopsook)</author>
    <guid>https://kawin.dev/posts/cloudflare/secure_origin/</guid>
    <description><![CDATA[<div class="featured-image">
                <img src="/featured-image.jpg" referrerpolicy="no-referrer">
            </div>บทความนี้จะแนะนำวิธีการซ่อนเว็บของเราไว้ข้างหลัง cloudflare อย่างมิดชิด]]></description>
</item>
</channel>
</rss>
