Darshit Anjariadarshitanjaria.hashnode.dev·Oct 28, 2024How JavaScript Handles Concurrent Requests Despite Being Single-Threaded: The Magic Behind the ScenesIntroduction JavaScript is known as a single-threaded language, meaning it can only execute one task at a time. However, despite this limitation, JavaScript can handle multiple asynchronous operations efficiently, such as fetching data from an API or...DiscussJavaScript
Aniket Mahangareaniketmahangare.hashnode.dev·Oct 14, 2024Implementing Event Loops in Go: A Practical ApproachEver wondered how single threaded applications, like Redis, are able to handle thousands of clients concurrently (“perceived” concurrency)? The answer is “Event Loops“. In this article, we will dive deep into how event loops work & their implementati...Discuss·131 readsEvent Loop
anand ranjananand07.hashnode.dev·Aug 1, 2024Efficient Thread Management and API Call Handling in Backend ServersOutline: Introduction Fundamental Concepts Thread Management and API Call Handling Single-Threaded Environment (Node.js) Multi-Threaded Environment (Java) Factors Affecting API Call Capacity Estimating API Call Capacity Conclusion Effici...DiscussThreading
Pawan Spawanblog.hashnode.dev·Jul 23, 2024How the Event Loop Works in JavaScript ExplainedJavaScript is single-threaded, it executes one command at a time in a specific order. However, it can handle asynchronous operations thanks to the event loop. The event loop is a mechanism that manages the execution of multiple pieces of code, handli...DiscussJavaScript
Anish sharmalearneasyway.hashnode.dev·Jun 19, 2024IS JavaScript is Single-Threaded or Multi-threaded languageBefore talking about the JavaScript is single-threaded or multi-threaded Language , Let us the understand about the single-threaded language and multi-threaded language Single-threaded Language :- In single threaded language the code is executed line...Discuss·1 likeMulti-threaded
Bhavesh Jadhavbhaveshjadhav.hashnode.dev·May 25, 2024JavaScript Execution Context: Everything You Need to KnowJavaScript is a synchronous, single-threaded language. This might sound complex, but let's break it down to understand what it really means and how it affects the way JavaScript executes code. JavaScript is a synchronous, single-threaded language. Th...Discuss·10 likes·32 readsJavascript BasicsJavaScript
Gaurav Aggarwalaggarwalgaurav1012.hashnode.dev·Apr 20, 2024Asynchronous JavaScriptAsynchronous programming is an essential concept in JavaScript that allows your code to run in the background without blocking the execution of other code. Developers can create more efficient and responsive applications by using features like callba...Discussasynchronous
Ankita Sharmacodecraftbyankita.hashnode.dev·Apr 19, 2024Workers in JavaScriptIntroduction JavaScript, often celebrated for its simplicity, surprises many with its single-threaded nature, seemingly limiting its ability to handle complex tasks efficiently. However, it has a hidden concurrency solutions. What are those solutions...Discussworkers
Nishant Tomerdevxnishant.hashnode.dev·Feb 7, 2024Navigating the Single-Threaded Realm: A Comprehensive Exploration of JavaScript's Single-Threaded NatureIntroduction: JavaScript, the backbone of web development, operates within the confines of a single-threaded execution model. Understanding the intricacies of its single-threaded nature is crucial for developers striving to build efficient, responsiv...DiscussJavaScript
saurabh suryavanshisaurabhsuryavanshi.hashnode.dev·Oct 10, 2023Understanding the Single-Threaded Nature of JavaScriptThreads? What Are They? Before diving deep into JavaScript's single-threaded nature, let's take a brief detour to understand threads. Think of a thread as a sequence of instructions that can be executed. In the realm of computers, having multiple thr...Discuss·27 readsJavaScript