mysql.zip

Stateful Databases: A Deep Dive with Cassandra & TiDB

Stateful Databases: A Deep Dive with Cassandra & TiDB

185

What is a Stateful Database?A stateful database is a type of database system that retains information about past interactions or states and uses this information to process subsequent requests.In essence,it remembers the "state" of the data over time.This ...

How do I create a user account in read-only mode at MySQL?

3,248

Why Read-Only User Accounts are Needed in MySQL?Read-only user accounts in MySQL are essential for security and data integrity.They provide a way to grant access to data for reporting,analysis,or monitoring without the risk of accidental or malicious modif...

The Ultimate Data Engineering Roadmap

The Ultimate Data Engineering Roadmap

1,069

Below is from Alex Xu.The Data Engineering RoadmapData engineering has become the backbone of effective data analysis.It involves managing,processing,and optimizing data to derive actionable insights.Hereโ€™s a roadmap that can help you get better at data e...

Rust code example to access MySQL

1,095

The mysql crate in Rust provides a client library for interacting with MySQL databases.It allows Rust programs to connect to MySQL servers,execute queries (both SQL and prepared statements),handle results,and manage transactions,all within a safe and idiom...

Using MySQL in Node.js

473

To use MySQL in a Node.js application,you'll need to install the mysql package (or mysql2 for improved performance and additional features).Below is a step-by-step guide on how to set up and interact with a MySQL database using Node.js. Step 1: Install MyS...

Change MySQL port number for security purpose

815

The default port that MySQL database server is running under Linux and Unix is 3306 / TCP. In order to change the default MySQL / MariaDB database port in Linux, open MySQL server configuration file for editing by issuing the below command.Search for the l...

What is RedisVL?

What is RedisVL?

102

RedisVL (Redis Vector Library) is an official Python client library designed to simplify using Redis as a vector database.It provides an intuitive,high-level interface for AI / ML developers to manage vector schemas,create indexes,store embeddings,and perf...

Messaging Platform with Limited TPS based on the vendor

Messaging Platform with Limited TPS based on the vendor

192

This highly available,horizontally scalable notification platform decouples message ingestion from delivery using an asynchronous,event-driven architecture to route messages across multiple channels and third-party vendors while strictly respecting dynamic...

Redis vs Memcached: Why Enterprise Tech Giants Choose Redis

Redis vs Memcached: Why Enterprise Tech Giants Choose Redis

246

While both Redis and Memcached are powerful,open-source,in-memory data stores,their architectural philosophies differ significantly.Understanding why major tech companies (such as Netflix,Uber,Twitter,and Airbnb) overwhelmingly favor Redis requires a deep ...

The Core of Vector Databases: Embeddings and LLM Dependency

The Core of Vector Databases: Embeddings and LLM Dependency

251

The fundamental principle of a vector database revolves around embeddings.An embedding is a numerical representation (a vector) of text,images,audio,or other data,capturing its semantic meaning in a high-dimensional space.LLMs (Large Language Models) are o...

REST API Vs. GraphQL

REST API Vs. GraphQL

408

GraphQL offers several advantages over REST APIs,including fetching only the data a client needs,reducing over-fetching and under-fetching issues prevalent in REST.This leads to improved performance,especially on mobile devices with limited bandwidth.Graph...

How to install python 3.9 alongside python 3.8 on CentOS 7?

707

To install Python 3.9 alongside Python 3.8 on CentOS 7,you can do this safely using either altinstall or environment managers like pyenv.Below is a detailed guide using the altinstall method (safe for keeping multiple versions side by side). Step 1: Instal...

Technical Hierarchy of AI Agents

Technical Hierarchy of AI Agents

806

Below is from Aurimas Griciลซnas showing hierarchical layers for AI Agents.Sometimes ๐—”๐—œ ๐—”๐—ด๐—ฒ๐—ป๐˜๐˜€ might seem simple from the outside.They are not ๐Ÿ‘‡There are many moving pieces that production ready Agentic Systems rely on. I like to split the ๐—›๐—ถ๐—ฒ๐—ฟ...

MCP vs A2A

MCP vs A2A

589

What is MCP?Model Context Protocol (MCP) is a framework,often used in fields like Model-Based Systems Engineering (MBSE),but increasingly relevant in AI and software development in general,that defines how models (of systems,data,processes,etc.) should be ...

Nine Types of Testing while we develop APIs

Nine Types of Testing while we develop APIs

510

Implementing APIs can present a variety of challenges across different phases of the development lifecycle.Here's a breakdown of common test challenges:1.Design and Planning Phase::Defining Clear Requirements: Ambiguous or poorly defined requirements lead ...

A Python script to create an EC2 Spot instance using boto3

1,596

How do you create EC2 Spot InstanceA Python script to create an EC2 Spot instance using boto3.The script launches a spot instance based on an AMI,associates it with a specific security group in a given VPC,and assigns custom tags for easy identification.Pr...

MLOps Explained: Spark, Flink, and Reference Architecture Deep Dive

MLOps Explained: Spark, Flink, and Reference Architecture Deep Dive

236

MLOps (Machine Learning Operations)MLOps is a set of practices that aims to deploy and maintain machine learning models in production reliably and efficiently.It bridges the gap between machine learning development (ML Dev) and operations (Ops),similar to ...

How to Set Up and Deploy Containerized Applications with AWS ECS

10,671

Setting up an Amazon Web Services (AWS) Elastic Container Service (ECS) involves several steps to deploy containerized applications in a scalable and managed environment.AWS ECS supports Docker containers and allows you to run applications on a managed clu...

Power of Containerized Deployment with AWS ECS

Power of Containerized Deployment with AWS ECS

10,594

Have you ever wanted to streamline how you develop and deploy applications? Amazon Elastic Container Service (ECS) could be the game-changer you're looking for.This service allows developers to manage Docker containers on a highly scalable and secure platf...

chmod by type (directory and file permission)

732

To change permission by type (directory or file), the easiest way can do it is using find command and do something as a follow up action. To change permission for file by 0664,Note that you should put space between {} and \ To change permiss...

Check network port is open or not on CentOS 7

1,185

To check listening port on CentOS 7, you can do it by "netstat" simply, or you can try it by "ss". I was easily able to check which port is open or not on CentOS 7.The above shows its result like below:The above shows its result like below: 

CentOS 7 PHP Apache Kafka: Installation, Examples, and System Diagram

CentOS 7 PHP Apache Kafka: Installation, Examples, and System Diagram

304

This guide will walk you through installing all the necessary components on CentOS 7 to run PHP applications with Apache,and interact with Apache Kafka. 1.CentOS 7 Base System PreparationFirst,ensure your system is up-to-date and install essential utilitie...

Apache Kafka Explained: Powering Netflix, Building with PHP

Apache Kafka Explained: Powering Netflix, Building with PHP

489

What is Apache Kafka?Apache Kafka is a distributed streaming platform designed for building real-time data pipelines and streaming applications.It's a publish-subscribe messaging system that enables applications to publish and subscribe to streams of recor...