Khmer Software Engineering

Khmer Software Engineering Khmer Computer Science Club is great page for share knowledge to each other about programming, tips about SE, SE experience and memes.

02/06/2026

-> 20 Networking Concepts Explained in 15 Minutes

In a multi-tiered architecture, an LRU (Least Recently Used) cache hierarchy functions as a self-optimizing memory manag...
06/05/2026

In a multi-tiered architecture, an LRU (Least Recently Used) cache hierarchy functions as a self-optimizing memory management system that prioritizes data based on temporal locality. By implementing a high-concurrency L1 layer via lua-resty-lrucache and a distributed L2 layer using Redis in allkeys-lru mode, the system ensures that the most frequently accessed objects remain in the fastest memory segments (SRAM or DRAM). When the cache reaches its pre-defined memory ceiling, the eviction logic automatically prunes the "coldest" data—those items with the oldest access timestamps—to accommodate incoming requests. This cascading structure minimizes expensive (I/O) operations to the PostgreSQL source of truth, effectively reducing tail latency and preventing database "starvation" during high-traffic spikes.

The fundamental trade-off in high-concurrency caching lies between data consistency and system availability. A strict consistency model—where the cache is invalidated and all users wait for a fresh database fetch—guarantees accuracy but risks "cascading failures" and latency spikes due to the thundering herd effect. Conversely, high-availability solutions like Stale-While-Revalidate (SWR) prioritize speed by decoupling the user response from the data refresh cycle. The optimal solution is a multi-tiered "Shadow Cache" architecture combined with background revalidation: it uses per-worker L1 memory for raw performance, shared-memory L2 for cross-worker consistency, and mutex-locked background timers to update the source of truth without ever blocking the request pipeline.

Get fundamental first
28/04/2026

Get fundamental first

135 likes, 15 comments. "IT Fundamentals Course – Hardware, Cloud, DevOps, Networking, Security, Databases, DNS, Git, Linux"

20/01/2026

https://www.legalcouncilmef.com/contents/2/km

ក្រុមប្រឹក្សានីតិកម្ម នៃក្រសួងសេដ្ឋកិច្ចនិងហិរញ្ញវត្ថុត្រូវបានបង្កើតឡើងដោយប្រកាសលេខ ២៩០ សហវ.ប្រក ចុះថ្ង....

Report and check scam identifier online [phone number, email, social media account URL] anonymously.
14/01/2026

Report and check scam identifier online [phone number, email, social media account URL] anonymously.

A modern platform for reporting and tracking cyber crime cases in Cambodia. Search, report, and follow up on digital threats anonymously.

28/12/2025

May peace last longer and everything settle without violence.
War only end in destruction and won't lead to a solution.

24/12/2025

វិធីសាស្ត្ររបស់ប្រទេសថៃគឺពោរពេញដោយការបោកប្រាស់។ ពួកគេកំពុងបំផ្លាញអធិបតេយ្យភាពរបស់ប្រទេសកម្ពុជា តាមរយៈការទម្លាក់គ្រាប់បែកជាបន្តបន្ទាប់ ខណៈពេលដែលព្យាយាមចៀសវាងពីការដាក់ស្លាកថាជា "អ្នកឈ្លានពាន"។ ពិភពលោកត្រូវតែវាយតម្លៃលើសកម្មភាពយោធាទាំងនេះ ហើយចាត់ទុកវាថាជាឧក្រិដ្ឋកម្មសង្គ្រាម។

សហគមន៍អន្តរជាតិត្រូវតែឈប់ជឿលើការដោះសាររបស់ប្រទេសថៃ ហើយត្រូវតែទាមទារឱ្យអ្នកឈ្លានពាននេះទទួលខុសត្រូវចំពោះទង្វើរបស់ខ្លួន។

២៤ ធ្នូ ២០២៥

Thailand’s approach is deceptive; it undermines Cambodia's sovereignty through continuous bombings while avoiding the 'invader' label. The world must evaluate these military actions and classify them as war crimes.

The international community must look past Thailand's justifications and hold the aggressor accountable.

24-December-2025

20/12/2025

Thailand’s leadership has reached a point where they must be held accountable for actions driven by an aggressive, paranoid imagination that views humanity as a threat. The world will not accept the excuse of 'self-defense' as a justification for an invasion where bridges, schools, religious sites, hospitals, and warehouses are destroyed under the guise of neutralizing 'future threats.'

Is a bridge a threat? Is a school a threat? Are civilians fleeing F-16 airstrikes threats? Is the harmony of people living along the border a threat as well? These excuses do not characterize Thailand’s leadership as a humanitarian protector, but rather as a bloodthirsty regime with a shallow understanding of peace.

Thailand must stand before the international community and issue a sincere apology to Cambodia. Without this accountability, a dangerous precedent will be set, causing the region to repeat these actions indefinitely.

20-December-2025

Address

Phnom Penh
12000

Alerts

Be the first to know and let us send you an email when Khmer Software Engineering posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Contact The Business

Send a message to Khmer Software Engineering:

Share