Tech Plug ZA (@TechPlugZA) header
Tech Plug ZA (@TechPlugZA) profile picture

Plugging you into Tech. Daily Tech news in South Africa ๐Ÿ‡ฟ๐Ÿ‡ฆ and World Wide. Let's talk Tech ๐Ÿ’ป ๐Ÿ–ฅ

127.0.0.1
Joined May 2022
Photo by Tech Plug ZA (@TechPlugZA)Photo by Tech Plug ZA (@TechPlugZA)Photo by Tech Plug ZA (@TechPlugZA)Photo by Tech Plug ZA (@TechPlugZA)Photo by Tech Plug ZA (@TechPlugZA)Photo by Tech Plug ZA (@TechPlugZA)Photo by Tech Plug ZA (@TechPlugZA)Photo by Tech Plug ZA (@TechPlugZA)Photo by Tech Plug ZA (@TechPlugZA)
Tech Plug ZA retweeted
Government website be like: Frontend:๐Ÿคก๐Ÿคก Backend:๐Ÿ’€๐Ÿ’€
105
238
31
9,802
248,477
This user is now sec+ certified!๐Ÿ™‚โ€โ†•๏ธ
61
36
5
811
12,459
Tech Plug ZA retweeted
The Kubernetes documentation assumes you already know Kubernetes.
104
623
76
9,656
246,808
Tech Plug ZA retweeted
g - get r - rid o - of old w - ways
28
4,658
59
17,786
330,249
Tech Plug ZA retweeted
Claude: "This project will take 2 months." Me: "You have 2 hours."
3
4
2
304
5,805
Tech Plug ZA retweeted
Claude: "This project will take 3 months." Me: "You have 3 hours."
113
945
51
21,149
352,913
Tech Plug ZA retweeted
talking to yourself is fun till u get caught ๐Ÿ˜ญ
710
36,309
2,248
196,837
2,198,779
๐ŸŽ™๏ธ Hired in Tech: Tech Career Development from an HR and Recruiter Perspective ๐Ÿ“… Wednesday, 24 June 2026 โฐ 6:30 PM SAST ๐Ÿ’ป Online Fireside Chat: lnkd.in/d4EhgMmk ๐ŸŽค Hosted by Tshilidzi Mavhunga Meet our Moderator, Tshilidzi Mavhunga. #HiredInTech #womenintech
1
3
41
Tech Plug ZA retweeted
If you had time, what tech skills would you learn?
792
205
55
4,516
176,345
Tech Plug ZA retweeted
Sober lifestyle e monate hey. Donโ€™t let them fool you.
30
743
94
3,412
218,558
Tech Plug ZA retweeted
Be broad in your education, but focused in your execution.
213
478
21
5,279
123,279
Tech Plug ZA retweeted
Need to make the most out of the remaining 6 months. Kunzima, mara siyofosta.
13
2,109
19
7,335
126,899
Tech Plug ZA retweeted
The only shortcut is doing the work.
448
1,525
86
10,296
275,518
Tech Plug ZA retweeted
How do you know I'm a vibe coder The dumboooo -
78
14
3
312
23,849
Not for vibe-coders, they started with a full blown e-commerce platform with a supabase backend and 8 microservices
This post is unavailable. Learn more
208
1,590
80
24,084
796,228
Tech Plug ZA retweeted
โ€œAbove all, be careful what you think because your thoughts control your life.โ€ โ€” ๐–ฏ๐–ฑ๐–ฎ๐–ต๐–ค๐–ฑ๐–ก๐–ฒ ๐Ÿฆ:๐Ÿค๐Ÿฅ
me when I find a very beautiful scripture
41
7,969
31
41,212
1,019,969
Tech Plug ZA retweeted
"We don't need monitoring; production is stable." ๐Ÿ‘€
6
16
2
233
5,768
MEMORY MANAGEMENT IN LINUX Memory Management is a core responsibility of the Linux kernel โ†’ controls how memory is allocated and used โ†’ ensures efficient multitasking โ†’ isolates processes for security and stability The Linux kernel manages both โ†’ Physical Memory (RAM) โ†’ Virtual Memory WHAT IS MEMORY MANAGEMENT? Application Starts โ†’ requests memory from kernel โ†’ kernel allocates required memory space Kernel Responsibilities โ†’ allocate memory โ†’ free unused memory โ†’ manage virtual memory โ†’ protect process memory spaces Goal โ†’ maximize performance and efficiency PHYSICAL MEMORY (RAM) RAM โ†’ stores actively running programs and data Linux divides RAM into โ†’ Kernel Space โ†’ User Space Kernel Space โ†’ reserved for kernel operations User Space โ†’ used by applications and processes VIRTUAL MEMORY Linux uses Virtual Memory โ†’ each process gets its own virtual address space Advantages โ†’ process isolation โ†’ larger usable memory space โ†’ improved security Flow Application โ†’ Virtual Address โ†’ MMU (Memory Management Unit) โ†’ Physical Address in RAM MEMORY PAGING Linux divides memory into fixed-size pages Page โ†’ small block of memory (commonly 4 KB) Paging Process Virtual Memory โ†’ divided into pages Kernel โ†’ maps pages to physical memory Benefits โ†’ efficient memory allocation โ†’ easier swapping โ†’ reduced fragmentation SWAPPING When RAM becomes full โ†’ inactive pages moved to swap space on disk Flow RAM Full โ†’ Kernel selects inactive pages โ†’ moves them to Swap Partition/File โ†’ frees RAM for active processes Purpose โ†’ prevent system crashes โ†’ support more processes than physical RAM alone PAGE CACHE Linux uses free RAM as cache Disk Data โ†’ stored temporarily in RAM Benefits โ†’ faster file access โ†’ reduced disk I/O Flow Application Requests File โ†’ kernel checks page cache โ†’ if found โ†’ return immediately โ†’ otherwise read from disk SLAB ALLOCATOR Kernel frequently allocates small objects Slab Allocator โ†’ pre-allocates memory caches โ†’ improves allocation speed Examples โ†’ process descriptors โ†’ file objects โ†’ network buffers Benefits โ†’ reduced fragmentation โ†’ faster kernel performance MEMORY STATES Free Memory โ†’ available for allocation Used Memory โ†’ currently allocated Cached Memory โ†’ temporary storage for faster access Buffered Memory โ†’ used for I/O buffering Swap Memory โ†’ disk-based extension of RAM OUT OF MEMORY (OOM) HANDLER When system runs out of memory โ†’ Linux activates OOM Killer OOM Killer โ†’ selects high-memory-consuming processes โ†’ terminates them to recover memory Purpose โ†’ keep system operational MEMORY PROTECTION Each process has isolated memory space Process A โ†’ cannot directly access Process B memory Kernel โ†’ enforces permissions and isolation Benefits โ†’ security โ†’ stability โ†’ crash prevention MEMORY MANAGEMENT FLOW Application โ†’ requests memory Kernel โ†’ allocates virtual memory MMU โ†’ translates addresses RAM โ†’ stores active pages Inactive Pages โ†’ moved to swap if needed Kernel โ†’ reclaims memory when process exits IMPORTANT LINUX MEMORY COMMANDS free โ†’ displays memory usage top / htop โ†’ monitor RAM consumption vmstat โ†’ virtual memory statistics swapon โ†’ manage swap space cat /proc/meminfo โ†’ detailed memory information KEY BENEFITS Efficient Resource Usage โ†’ optimized RAM utilization Process Isolation โ†’ secure multitasking Performance Optimization โ†’ caching and paging improve speed Scalability โ†’ supports systems from embedded devices to servers SUMMARY Linux Memory Management โ†’ allocates โ†’ tracks โ†’ protects โ†’ optimizes system memory Core Components โ†’ virtual memory โ†’ paging โ†’ swap โ†’ page cache โ†’ slab allocator Together โ†’ provide fast, stable, and scalable system performance โ†’ Get the Linux Mastery Ebook: codewithdhanian.gumroad.com/โ€ฆ
2
57
1
264
5,282