lowlatencycode.hashnode.devSwitching Between ProcessesHow the Operating System will decide to stop one process and start executing another process when one process is already running on CPU ??? When One process is already on CPU how the OS will take back to control to decide the switching ??? Solution: ...Oct 27, 2025·7 min read
springbootllc.hashnode.devModule - Generated Value - Sequence Generator - Mappingpackage com.example.demo.module; import jakarta.persistence.*; import lombok.Getter; import lombok.Setter; @Entity @Table(name = "Profile") @Getter @Setter public class Profile { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) ...Oct 24, 2025·9 min read
springbootllc.hashnode.devJakarta DependencyJakarta dependencies in Spring Boot are modern Java APIs that Spring uses for common enterprise tasks like database access, web handling, and validation. They replaced the older javax.* APIs to keep up with the latest standards. What is Jakarta in Sp...Oct 24, 2025·4 min read
lowlatencycode.hashnode.devTrap Instruction And Limited Direct Execution In Operating SystemDirect Execution: How Your OS Runs Code Without Losing Control Ever wonder how your computer runs a program? At the most basic level, the answer is simple: the Operating System (OS) loads the program into memory and tells the CPU, "Run this!" This me...Oct 11, 2025·5 min read
lowlatencycode.hashnode.devExec() in Operating Systemexec() -> executes a new program. The memory space of the child process—its code, stack, and heap—is completely overwritten by the new program. Example 1: #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <sy...Oct 8, 2025·3 min read