Panth Patelhow-is-my-backend.whiteloves.in·Dec 8, 2024How to Implement Type Safe Functions in JavaScriptEver run into the issue where you can't make type-safe functions in JavaScript? So you switch to TypeScript, only to find out that types are just for development and don't actually validate function inputs or outputs! Then you end up using a validati...dispose
OBULIPURUSOTHAMAN Kobulipurusothaman.hashnode.dev·Oct 30, 2024Scaling & Data ReplicationFault (Vs) Failure : Fault is the CAUSE , Failure is the EFFECT Fault Tolerance – It will replicates the server , if any one of the server fails also the other replicated server will give the Response to the Customer . it will applicable for DB as we...Fault Vs Failure
OBULIPURUSOTHAMAN Kobulipurusothaman.hashnode.dev·Oct 29, 2024Publisher Subscriber Model (Pub/Sub Model)What is Pub/Sub Messaging ? Related Terminology Sub Publisher —> Input(Channel) —> Output(Channel) —> Sub ...Pub Sub Model
Harsh Goswamicoderg-tales.hashnode.dev·Oct 20, 2024Is JavaScript Synchronous or Asynchronous? 🤔 Let's Find Out! 🚀Hey there, curious coders! 👋 Today, we’re diving into one of the most asked questions in the JavaScript world: Is JavaScript synchronous or asynchronous ? Spoiler alert: It’s both! 🎉 Sounds confusing? Don’t worry! By the end of this post, you’ll to...AsyncVsSync
Sohel Ranasynchronous-asynchronous.hashnode.dev·Oct 19, 2024সিনক্রোনাস ও অ্যাসিনক্রোনাস প্রোগ্রামিং ইন জাভাস্ক্রিপ্ট।সিনক্রোনাসঃ সিনক্রোনাস মানে একের পর এক কাজ করা বা হওয়া। ধরুন,একটা প্রোগ্রাম এ তিনটি লাইন আছে। এটা যদি সিনক্রোনাস হয়ে থাকে তাহলে লাইন বাই লাইন কোড গুলা রান করবে। ১,২ এবং ৩ এই অনুযায়ী।কোনো লাইন বা কাজ শেষ না হওয়া পর্যন্ত পরের কাজ শুরু হবে না। অর্থাৎ প...76 readsJavaScript
Akritiakriti111.hashnode.dev·Sep 24, 2024Unlocking Asynchronous Power with Node.js and LibuvSynchronous Vs Asynchronous System Synchronous System: In a synchronous system, tasks execute sequentially, potentially blocking the main flow. console.log("synchronous"); let a = 10; let b = 20; function add(x,y){ const res = (a + b); retu...10 likesNode.js
Shubham Mehtashubham-mehta.hashnode.dev·Sep 23, 2024How JavaScript Manages Asynchronous OperationsYou might have heard that JavaScript is single-threaded, non-blocking and asynchronous in nature. First let’s understand what asynchronous means in JavaScript. What is asynchronous JavaScript? Asynchronous means performing multiple tasks at the same ...204 readsasynchronous
Emmanuel Hilaryemmanuel01.hashnode.dev·Sep 23, 2024🤹♂️ Asynchronous, Synchronous, Parallelism, and Concurrency: What’s the Difference?Welcome to the exciting world of synchronous 🕰️, asynchronous ⏳, parallelism 🤖, and concurrency 🎯! These terms sound like something out of a futuristic movie, but if you’re a developer, you’ll encounter them every day. Let’s break them down with s...2 likesasynchronous
Darshit Anjariadarshitanjaria.hashnode.dev·Sep 18, 2024Mastering Asynchronous JavaScript: Why Async/Await Is Your Best FriendJavaScript’s asynchronous nature is one of its most powerful features, allowing developers to write non-blocking code that enhances performance and user experience. But handling asynchronous operations used to be more complex and sometimes even confu...1 likeJavaScript
Musab Rayantechblogsbymusab.hashnode.dev·Sep 17, 2024Understanding Asynchronous JavaScript: A Simple Guide with Real-Life Analogies 👨💻JavaScript is designed to be single-threaded, meaning it can only execute one task at a time. Imagine you're in a kitchen with only one chef (JavaScript). The chef can only prepare one dish at a time, but sometimes tasks like boiling water or waiting...JavaScript