Posts

Showing posts with the label database

Redis Fundamentals

Image
Introduction Redis is the world's fastest in-memory database. It offers cloud and on-premises solutions for caching, vector search, and NoSQL databases. In-memory is a concept related to how data is stored and accessed in a computer. When we talk about in-memory, we refer to storing data directly in the computer's RAM (Random Access Memory) rather than on a hard drive. Here are some key points about in-memory storage: Storing data in RAM :   When data is stored in-memory , it is kept in the computer's RAM . RAM has faster access speeds compared to hard drives, allowing for quicker data querying and processing.   The read and write speed of RAM is very fast, typically reaching several GB/s . The read and write speed of SSDs ( Solid State Drives ) usually starts from 320 MB/s and can reach thousands of megabytes per second. The read and write speed of HDDs ( Hard Disk Drives ) is lower, generally ranging from 80 MB/s to 160 MB/s. In-memory data is often used f...

NodeJS Practice Series

Image
Introduction NodeJS is an open-source and cross-platform JavaScript runtime environment . Here are some key points about NodeJS : V8 Engine : NodeJS runs on the V8 JavaScript engine , which is also the core of Google Chrome . This allows NodeJS to be highly performant. Asynchronous and Non-Blocking : NodeJS  uses an event-driven, non-blocking I/O model. It’s lightweight and efficient, making it ideal for data-intensive real-time applications. Single-Threaded : NodeJS  runs in a single process, handling multiple requests without creating new threads. It eliminates waiting and continues with the next request. Common Language : Frontend developers who write JavaScript for browsers can use the same language for server-side code in NodeJS . You can even use the latest ECMAScript standards without waiting for browser updates. This page is designed to compile articles related to NodeJS , including how to integrate it with various libraries and relevant tech stacks. I will cont...