Coding Gun

รวมบทความเกี่ยวกับ Microservices

Microservices ถือว่าเป็น skill ที่ developer ยุคใหม่ต้องทำการเรียนรู้ ในบทความต่างๆเหล่านี้จะนำทุกท่านเข้าสู่ยุคของ Microservices และเข้าใจทั้งข้อดีและข้อเสียของ Microservices

เราต้องรู้จักการออกแบบและวิธีคิดแบบ Microservices แต่ก็ไม่ใช่ทุก project ที่เหมาะกับ Microservices

การสร้าง Distributed Cached ด้วย Redis
Jun 17, 23

microservices

การสร้าง Distributed Cached ด้วย Redis
Redis ถือได้ว่าเป็น In-memory database ที่ถูกนำมาใช้ทำ distributed cache มากที่สุด
API Gateway กับ Microservices
Jun 17, 23

microservices

API Gateway กับ Microservices
api gateway ถืิอว่าเป็นของที่ต้องมีสำหรับ web api โดยเฉพาะใน microservices นอกจาก api gateway เพียงตัวเดียวเรายังสามารถใช้ backend for frontend(BFF) ได้อีกด้วย
Database Design
Jun 7, 23

microservices

Database Design
การเปลี่ยนจาก monolith มาเป็น microservices นั้นสิ่งที่ยากที่สุดคือการเปลี่ยนแนวคิด และหนึ่งในสิ่งที่คุณต้องทำคือการ redesign database
Software Testing in Microservices
Jun 7, 23

microservices

Software Testing in Microservices
การทดสอบใน microservices จะเปลี่ยนไป โดยเราจะเน้นการ ทำ Integration test มากกว่าการ testing ในรูปแบบอื่นๆ
Microservices Patterns: Saga
Feb 24, 23

microservices

Microservices Patterns: Saga
SAGA คือ microservices architecture pattern ที่ทำหน้าที่จัดการกับ distributed transactions(การจัดการกับ transaction ที่อยู่บน database หลายๆตัว)
Microservices คืออะไร? และข้อดีข้อเสียของ Microservices
Feb 2, 23

microservices

Microservices คืออะไร? และข้อดีข้อเสียของ Microservices
Microservices คือแนวคิดในการออกแบบ(architecture)รูปแแบบหนึ่ง ซึ่งเปลี่ยนจากการทำระบบใหญ่ๆเพียงระบบเดียว ไปเป็นการแยกออกเป็น services ย่อยๆ
จัดการกับข้อผิดพลาดด้วย Circuit Breaker
Jan 18, 23

microservices

จัดการกับข้อผิดพลาดด้วย Circuit Breaker
circuit breaker คือ design patterns ที่จะช่วยเพิ่ม reliability ให้กับ microservices ใน pattern นี้เราจะไม่ส่ง request ไปยัง service ที่ยังไม่พร้อมใช้งาน
CQRS และ Event Sourcing
Jan 18, 23

microservices

CQRS และ Event Sourcing
CQRS คือ microservices architecture pattern ที่ให้แยก service สำหรับการ insert, update หรือ delete ออกจาก service ที่ใช้สำหรับการ query ข้อมูล
จัดการกับ Kong แบบง่ายๆด้วย Konga
Oct 27, 23

kong

จัดการกับ Kong แบบง่ายๆด้วย Konga
Konga คือ Open-source ที่ช่วยให้เราจัดการกับ Configuration ของ Kong ผ่านทาง GUI ซึ่งจะช่วยให้เราทำงานกับ Kong ได้ง่ายขึ้นมากๆ
การใช้งาน Kong บน Docker
Oct 27, 23

kong

การใช้งาน Kong บน Docker
ถ้าเราใช้ Kong API Gateway บน Docker เราจะใช้การ Config แบบ DBLess(ใช้ YAML) ซึ่งจะทำให้ Kong มีความเป็น Stateless มากกว่าแบบมี Databse
การจัดการ Load Balance ใน Kong
Oct 6, 23

kong

การจัดการ Load Balance ใน Kong
ถ้าเราต้องการเพิ่ม Load Balancer เข้าไปใน Kong API Gateway เราจะเริ่มจากการเพิ่ม upstreams และ targets เข้าไปใน Configuration
Phanupong Permpimol
Follow me

Software Engineer ที่เชื่อในเรื่องของ Process เพราะเมื่อ Process ดี Product ก็จะดีตาม ปัจจุบันเป็นอาจารย์และที่ปรึกษาด้านการออกแบบและพัฒนา Software และ Web Security