[Dev] Lechat - Relational vs NoSQL Databases
Introduction: As I embarked on building a chat system, one critical decision awaited me: selecting the right type of database. Relational databases and NoSQL databases were the two contenders. To ...
Introduction: As I embarked on building a chat system, one critical decision awaited me: selecting the right type of database. Relational databases and NoSQL databases were the two contenders. To ...
Client Server Connection - Limitation of HTTP The issue with HTTP is that only the client can initiate the connection. For instance, if userA wants to send a message, they can use the HTTP proto...
What is a Process? A process is a running program in a computer. Process - Address Space Each process has its own address space. The address space consists of 4 main parts. Stack: Stores loc...
Hashing Hashing consists of 2 parts. A table (an array) of size m(T[0..m-1]). A hash function h, which maps a key into an index between 0 and m-1 inclusive. Problem with Hashing 2 keys ma...
1. Map Map is a collection of keyed data items, just like an Object. The difference between Map and Object is that Map allows keys of any type. 2. Map Methods Here are the methods that can be u...
1. String is Iterable String can use for..of loops to iterate over its characters. for (let char of 'text'){ console.log(char); // t, then 2, then x, then t } 2. Iterables and Array-Likes It...
CPU Scheduling 기계어 명령은 크게 CPU내에서 수행되는 명령, 메모리 접근을 필요로 하는 명령, 입출력을 동반하는 명령으로 나눌 수 있다. Register 간의 연산으로 구성되는 ADD (명령): CPU Burst 메모리에 접근하는 load / store (명령): CPU Burst I/O (명령): I/O Burst ...
9.1 Python Namespaces Namespacing is mapping from names to objects. Most namespaces are implemented as dictionaries in Python. Here are some examples of namespaces in Python: Set of built-in n...
Problem Recently, I have been working on my fast-api project using a virtual environment. However, I ran up with this error: class TimeoutError(asyncio.TimeoutError, builtins.TimeoutError, Re...
Problem Recently, I have been developing a fastapi project in a virtual environment. However, when I tried to import modules, I got this error. Import “X” could not be resolved by Pylance (re...