Artwork

เนื้อหาจัดทำโดย HackerNoon เนื้อหาพอดแคสต์ทั้งหมด รวมถึงตอน กราฟิก และคำอธิบายพอดแคสต์ได้รับการอัปโหลดและจัดหาให้โดยตรงจาก HackerNoon หรือพันธมิตรแพลตฟอร์มพอดแคสต์ของพวกเขา หากคุณเชื่อว่ามีบุคคลอื่นใช้งานที่มีลิขสิทธิ์ของคุณโดยไม่ได้รับอนุญาต คุณสามารถปฏิบัติตามขั้นตอนที่แสดงไว้ที่นี่ https://th.player.fm/legal
Player FM - แอป Podcast
ออฟไลน์ด้วยแอป Player FM !

JSON Was Killing Our Redis Memory. Switching Serialization Made It 7× Smaller.

6:09
 
แบ่งปัน
 

Manage episode 516997408 series 3474159
เนื้อหาจัดทำโดย HackerNoon เนื้อหาพอดแคสต์ทั้งหมด รวมถึงตอน กราฟิก และคำอธิบายพอดแคสต์ได้รับการอัปโหลดและจัดหาให้โดยตรงจาก HackerNoon หรือพันธมิตรแพลตฟอร์มพอดแคสต์ของพวกเขา หากคุณเชื่อว่ามีบุคคลอื่นใช้งานที่มีลิขสิทธิ์ของคุณโดยไม่ได้รับอนุญาต คุณสามารถปฏิบัติตามขั้นตอนที่แสดงไว้ที่นี่ https://th.player.fm/legal

This story was originally published on HackerNoon at: https://hackernoon.com/json-was-killing-our-redis-memory-switching-serialization-made-it-7-smaller.
Cut Redis memory usage by 7× by ditching JSON for Pydantic models. Learn how a custom binary format reduced storage, costs, and overhead at scale.
Check more stories related to programming at: https://hackernoon.com/c/programming. You can also check exclusive content about #python, #pydantic, #object-serialization, #redis-memory, #pybyntic, #protobuf, #messagepack, #hackernoon-top-story, and more.
This story was written by: @yankhachko. Learn more about this writer by checking @yankhachko's about page, and for more stories, please visit hackernoon.com.
Redis was running a large production service with about **10 million monthly active users**. Every record in Redis was a **JSON-serialized Pydantic model** It looked clean and convenient – until it started to hurt. At scale, JSON stops being a harmless convenience and becomes a silent tax on memory.

  continue reading

417 ตอน

Artwork
iconแบ่งปัน
 
Manage episode 516997408 series 3474159
เนื้อหาจัดทำโดย HackerNoon เนื้อหาพอดแคสต์ทั้งหมด รวมถึงตอน กราฟิก และคำอธิบายพอดแคสต์ได้รับการอัปโหลดและจัดหาให้โดยตรงจาก HackerNoon หรือพันธมิตรแพลตฟอร์มพอดแคสต์ของพวกเขา หากคุณเชื่อว่ามีบุคคลอื่นใช้งานที่มีลิขสิทธิ์ของคุณโดยไม่ได้รับอนุญาต คุณสามารถปฏิบัติตามขั้นตอนที่แสดงไว้ที่นี่ https://th.player.fm/legal

This story was originally published on HackerNoon at: https://hackernoon.com/json-was-killing-our-redis-memory-switching-serialization-made-it-7-smaller.
Cut Redis memory usage by 7× by ditching JSON for Pydantic models. Learn how a custom binary format reduced storage, costs, and overhead at scale.
Check more stories related to programming at: https://hackernoon.com/c/programming. You can also check exclusive content about #python, #pydantic, #object-serialization, #redis-memory, #pybyntic, #protobuf, #messagepack, #hackernoon-top-story, and more.
This story was written by: @yankhachko. Learn more about this writer by checking @yankhachko's about page, and for more stories, please visit hackernoon.com.
Redis was running a large production service with about **10 million monthly active users**. Every record in Redis was a **JSON-serialized Pydantic model** It looked clean and convenient – until it started to hurt. At scale, JSON stops being a harmless convenience and becomes a silent tax on memory.

  continue reading

417 ตอน

ทุกตอน

×
 
Loading …

ขอต้อนรับสู่ Player FM!

Player FM กำลังหาเว็บ

 

คู่มืออ้างอิงด่วน

ฟังรายการนี้ในขณะที่คุณสำรวจ
เล่น