MySQL Router REST API

  Рет қаралды 2,346

lefred

lefred

Күн бұрын

Пікірлер: 16
@fahdbahoo1
@fahdbahoo1 Жыл бұрын
i have Innodb cluster with 3 MySQL servers and 2 Routers , how to make 2 Routers highly available ? i can do it with KeepaliveD software , is it a good approach in Production environment? if there is a better approach then please guide , thanks
@lefred
@lefred Жыл бұрын
In fact, MySQL Router has been developed as an extension of the connector. Usually it's installed on the application server itself. It's not uncommon to see thousands of routers in a production environment. Now if you want to have dedicated servers for your routers, you will indeed need to manage the high availability of it. Check - lefred.be/content/mysql-router-ha-with-keepalived/ - lefred.be/content/mysql-router-ha-with-pacemaker/
@fahdbahoo1
@fahdbahoo1 Жыл бұрын
@@lefred if its installed on application server then how is HA achieved?
@lefred
@lefred Жыл бұрын
@@fahdbahoo1 if your Application Server dies... there is no need for Router... If you have 4 application servers... each with a local Router and each application server connected to their own router... if an application server dies... the other are not impacted and you have HA
@fahdbahoo1
@fahdbahoo1 Жыл бұрын
​@@lefred but we have microservices, each microservice making its own DB connection
@fahdbahoo1
@fahdbahoo1 Жыл бұрын
​@@lefred here is the application architecture drive.google.com/file/d/1TrLhDcgetMxrfO9KE23C1lwTYA1Q1mDw/view?usp=drivesdk
@naheliegend5222
@naheliegend5222 2 жыл бұрын
Can I inject the SQL queries or read the results from the DB before passed to the App like in mysql proxy? If yes, how?
@lefred
@lefred 2 жыл бұрын
Hi, this is not possible, MySQL Router works on the transport level (layer 4), ProxySQL/MySQL proxy work on application level (layer 7)
@naheliegend5222
@naheliegend5222 2 жыл бұрын
@@lefred Thank you! Do you prefer ProxySQL over the old mysql proxy for injection?
@lefred
@lefred 2 жыл бұрын
@@naheliegend5222 yes, old MySQL Proxy is not maintained anymore
Introduction to MySQL Operator for Kubernetes
22:57
MySQL
Рет қаралды 3,6 М.
Creating a REST API with Node.js and MySQL
20:06
Google Cloud Tech
Рет қаралды 51 М.
Чистка воды совком от денег
00:32
FD Vasya
Рет қаралды 3,5 МЛН
Lazy days…
00:24
Anwar Jibawi
Рет қаралды 7 МЛН
Smart Sigma Kid #funny #sigma
00:33
CRAZY GREAPA
Рет қаралды 17 МЛН
What is a REST API?
9:12
IBM Technology
Рет қаралды 1,6 МЛН
MySQL High Availability and Disaster Recovery
26:23
MySQL
Рет қаралды 4,8 М.
Difference Between REST API vs Web API vs SOAP API Explained
7:24
Learn with Whiteboard
Рет қаралды 248 М.
create Node JS API with MYSQL database connection
12:38
Novel Code
Рет қаралды 11 М.
Apache vs NGINX
7:53
IBM Technology
Рет қаралды 310 М.
Deep Dive into REST API Design and Implementation Best Practices
12:02
Software Developer Diaries
Рет қаралды 62 М.
The Proxy Wars - MySQL Router, ProxySQL, MariaDB MaxScale
24:46
Мужу не повезло  #кино #фильмы #shorts #юмор
0:20
Мир Сватов
Рет қаралды 2,3 МЛН
Придумайте название 🤣 #gragon #драгон
0:41
Dragon Нургелды 🐉
Рет қаралды 771 М.