Enviar búsqueda
Cargar
MySQL::Replication (Melbourne Perl Mongers 2011-07)
•
Descargar como ODP, PDF
•
8 recomendaciones
•
1,944 vistas
A
Alfie John
Seguir
Tecnología
Entretenimiento y humor
Denunciar
Compartir
Denunciar
Compartir
1 de 255
Descargar ahora
Recomendados
Talk Nerdy to Me: Optimizing big websites
Talk Nerdy to Me: Optimizing big websites
Andreas - Creten
Lighting fast rails with zeus
Lighting fast rails with zeus
Philipp Fehre
Async ... Await – concurrency in java script
Async ... Await – concurrency in java script
Athman Gude
End to-End CoffeeScript
End to-End CoffeeScript
TrevorBurnham
CoffeeScript Design Patterns
CoffeeScript Design Patterns
TrevorBurnham
Happy Programming with CoffeeScript
Happy Programming with CoffeeScript
Eddie Kao
Concurrent Ruby Application Servers
Concurrent Ruby Application Servers
Lin Jen-Shin
Multithreading and Actors
Multithreading and Actors
Diego Pacheco
Recomendados
Talk Nerdy to Me: Optimizing big websites
Talk Nerdy to Me: Optimizing big websites
Andreas - Creten
Lighting fast rails with zeus
Lighting fast rails with zeus
Philipp Fehre
Async ... Await – concurrency in java script
Async ... Await – concurrency in java script
Athman Gude
End to-End CoffeeScript
End to-End CoffeeScript
TrevorBurnham
CoffeeScript Design Patterns
CoffeeScript Design Patterns
TrevorBurnham
Happy Programming with CoffeeScript
Happy Programming with CoffeeScript
Eddie Kao
Concurrent Ruby Application Servers
Concurrent Ruby Application Servers
Lin Jen-Shin
Multithreading and Actors
Multithreading and Actors
Diego Pacheco
2019 PHP Serbia - Boosting your performance with Blackfire
2019 PHP Serbia - Boosting your performance with Blackfire
Marko Mitranić
CukeUp! 2012: Michael Nacos on Just enough infrastructure for product develop...
CukeUp! 2012: Michael Nacos on Just enough infrastructure for product develop...
Skills Matter Talks
CoffeeScript presentation
CoffeeScript presentation
John Lynch
Ruby Proxies for Scale, Performance, and Monitoring - GoGaRuCo - igvita.com
Ruby Proxies for Scale, Performance, and Monitoring - GoGaRuCo - igvita.com
Ilya Grigorik
STP201 Efficiency at Scale - AWS re: Invent 2012
STP201 Efficiency at Scale - AWS re: Invent 2012
Amazon Web Services
Scaling Ruby with Evented I/O - Ruby underground
Scaling Ruby with Evented I/O - Ruby underground
Omer Gazit
Ruby 1.9 Fibers
Ruby 1.9 Fibers
Kevin Ball
SmpleGroovyexampleinmule
SmpleGroovyexampleinmule
Muralidhar Gumma
AJS — Asynchronous Templating in Node
AJS — Asynchronous Templating in Node
Evan Owen
Top4top Showcase
Top4top Showcase
ay4
Message Queues & Offline Processing with PHP
Message Queues & Offline Processing with PHP
marcelesser
Ruby Proxies for Scale, Performance, and Monitoring
Ruby Proxies for Scale, Performance, and Monitoring
Ilya Grigorik
Phorum MySQL tricks
Phorum MySQL tricks
guestd34230
Ruby as a glue language
Ruby as a glue language
quakewang
Nodejs
Nodejs
Anupom Syam
Server-side JavaScript for the rest of us
Server-side JavaScript for the rest of us
Kyle Simpson
NullMQ @ PDX
NullMQ @ PDX
Jeff Lindsay
ruby + websocket + haproxy
ruby + websocket + haproxy
Mathieu Elie
How to become a practical Vim user
How to become a practical Vim user
Kana Natsuno
Replication tutorial presentation
Replication tutorial presentation
colderboy17
Percona Live 2012PPT: introduction-to-mysql-replication
Percona Live 2012PPT: introduction-to-mysql-replication
mysqlops
MySQL Cluster performance best practices
MySQL Cluster performance best practices
Mat Keep
Más contenido relacionado
La actualidad más candente
2019 PHP Serbia - Boosting your performance with Blackfire
2019 PHP Serbia - Boosting your performance with Blackfire
Marko Mitranić
CukeUp! 2012: Michael Nacos on Just enough infrastructure for product develop...
CukeUp! 2012: Michael Nacos on Just enough infrastructure for product develop...
Skills Matter Talks
CoffeeScript presentation
CoffeeScript presentation
John Lynch
Ruby Proxies for Scale, Performance, and Monitoring - GoGaRuCo - igvita.com
Ruby Proxies for Scale, Performance, and Monitoring - GoGaRuCo - igvita.com
Ilya Grigorik
STP201 Efficiency at Scale - AWS re: Invent 2012
STP201 Efficiency at Scale - AWS re: Invent 2012
Amazon Web Services
Scaling Ruby with Evented I/O - Ruby underground
Scaling Ruby with Evented I/O - Ruby underground
Omer Gazit
Ruby 1.9 Fibers
Ruby 1.9 Fibers
Kevin Ball
SmpleGroovyexampleinmule
SmpleGroovyexampleinmule
Muralidhar Gumma
AJS — Asynchronous Templating in Node
AJS — Asynchronous Templating in Node
Evan Owen
Top4top Showcase
Top4top Showcase
ay4
Message Queues & Offline Processing with PHP
Message Queues & Offline Processing with PHP
marcelesser
Ruby Proxies for Scale, Performance, and Monitoring
Ruby Proxies for Scale, Performance, and Monitoring
Ilya Grigorik
Phorum MySQL tricks
Phorum MySQL tricks
guestd34230
Ruby as a glue language
Ruby as a glue language
quakewang
Nodejs
Nodejs
Anupom Syam
Server-side JavaScript for the rest of us
Server-side JavaScript for the rest of us
Kyle Simpson
NullMQ @ PDX
NullMQ @ PDX
Jeff Lindsay
ruby + websocket + haproxy
ruby + websocket + haproxy
Mathieu Elie
How to become a practical Vim user
How to become a practical Vim user
Kana Natsuno
La actualidad más candente
(19)
2019 PHP Serbia - Boosting your performance with Blackfire
2019 PHP Serbia - Boosting your performance with Blackfire
CukeUp! 2012: Michael Nacos on Just enough infrastructure for product develop...
CukeUp! 2012: Michael Nacos on Just enough infrastructure for product develop...
CoffeeScript presentation
CoffeeScript presentation
Ruby Proxies for Scale, Performance, and Monitoring - GoGaRuCo - igvita.com
Ruby Proxies for Scale, Performance, and Monitoring - GoGaRuCo - igvita.com
STP201 Efficiency at Scale - AWS re: Invent 2012
STP201 Efficiency at Scale - AWS re: Invent 2012
Scaling Ruby with Evented I/O - Ruby underground
Scaling Ruby with Evented I/O - Ruby underground
Ruby 1.9 Fibers
Ruby 1.9 Fibers
SmpleGroovyexampleinmule
SmpleGroovyexampleinmule
AJS — Asynchronous Templating in Node
AJS — Asynchronous Templating in Node
Top4top Showcase
Top4top Showcase
Message Queues & Offline Processing with PHP
Message Queues & Offline Processing with PHP
Ruby Proxies for Scale, Performance, and Monitoring
Ruby Proxies for Scale, Performance, and Monitoring
Phorum MySQL tricks
Phorum MySQL tricks
Ruby as a glue language
Ruby as a glue language
Nodejs
Nodejs
Server-side JavaScript for the rest of us
Server-side JavaScript for the rest of us
NullMQ @ PDX
NullMQ @ PDX
ruby + websocket + haproxy
ruby + websocket + haproxy
How to become a practical Vim user
How to become a practical Vim user
Destacado
Replication tutorial presentation
Replication tutorial presentation
colderboy17
Percona Live 2012PPT: introduction-to-mysql-replication
Percona Live 2012PPT: introduction-to-mysql-replication
mysqlops
MySQL Cluster performance best practices
MySQL Cluster performance best practices
Mat Keep
MySQL Group Replication
MySQL Group Replication
Ulf Wendel
MySQL Cluster Basics
MySQL Cluster Basics
Wagner Bianchi
Percona XtraDB Cluster
Percona XtraDB Cluster
Kenny Gryp
Destacado
(6)
Replication tutorial presentation
Replication tutorial presentation
Percona Live 2012PPT: introduction-to-mysql-replication
Percona Live 2012PPT: introduction-to-mysql-replication
MySQL Cluster performance best practices
MySQL Cluster performance best practices
MySQL Group Replication
MySQL Group Replication
MySQL Cluster Basics
MySQL Cluster Basics
Percona XtraDB Cluster
Percona XtraDB Cluster
Similar a MySQL::Replication (Melbourne Perl Mongers 2011-07)
Kickin' Ass with Cache-Fu (with notes)
Kickin' Ass with Cache-Fu (with notes)
err
Data oriented design and c++
Data oriented design and c++
Mike Acton
Austin Cassandra Meetup re: Atomic Counters
Austin Cassandra Meetup re: Atomic Counters
Trevor Francis
Lessons learnt on a 2000-core cluster
Lessons learnt on a 2000-core cluster
Eugene Kirpichov
Clustered PHP - DC PHP 2009
Clustered PHP - DC PHP 2009
marcelesser
Synchronous Reads Asynchronous Writes RubyConf 2009
Synchronous Reads Asynchronous Writes RubyConf 2009
pauldix
Kafka Summit NYC 2017 - Running Hundreds of Kafka Clusters with 5 People
Kafka Summit NYC 2017 - Running Hundreds of Kafka Clusters with 5 People
confluent
Introduction to XtraDB Cluster
Introduction to XtraDB Cluster
yoku0825
Symfony finally swiped right on envvars
Symfony finally swiped right on envvars
Sam Marley-Jarrett
HTTP Plugin for MySQL!
HTTP Plugin for MySQL!
Ulf Wendel
Master master vs master-slave database
Master master vs master-slave database
Wipro
Architectural Overview of MapR's Apache Hadoop Distribution
Architectural Overview of MapR's Apache Hadoop Distribution
mcsrivas
Asynchronous programming - .NET Way
Asynchronous programming - .NET Way
Bishnu Rawal
What is NetDevOps? How? Leslie Carr PuppetConf 2015
What is NetDevOps? How? Leslie Carr PuppetConf 2015
Leslie Carr
Triple Blitz Strike
Triple Blitz Strike
Denis Zhdanov
MySQL? Load? Clustering! Balancing! PECL/mysqlnd_ms 1.4
MySQL? Load? Clustering! Balancing! PECL/mysqlnd_ms 1.4
Ulf Wendel
Concurrency in ruby
Concurrency in ruby
Marco Borromeo
Background processes and tasks in an async world
Background processes and tasks in an async world
particlebanana
HTTP, JSON, JavaScript, Map&Reduce built-in to MySQL
HTTP, JSON, JavaScript, Map&Reduce built-in to MySQL
Ulf Wendel
Beautiful code instead of callback hell using ES6 Generators, Koa, Bluebird (...
Beautiful code instead of callback hell using ES6 Generators, Koa, Bluebird (...
andreaslubbe
Similar a MySQL::Replication (Melbourne Perl Mongers 2011-07)
(20)
Kickin' Ass with Cache-Fu (with notes)
Kickin' Ass with Cache-Fu (with notes)
Data oriented design and c++
Data oriented design and c++
Austin Cassandra Meetup re: Atomic Counters
Austin Cassandra Meetup re: Atomic Counters
Lessons learnt on a 2000-core cluster
Lessons learnt on a 2000-core cluster
Clustered PHP - DC PHP 2009
Clustered PHP - DC PHP 2009
Synchronous Reads Asynchronous Writes RubyConf 2009
Synchronous Reads Asynchronous Writes RubyConf 2009
Kafka Summit NYC 2017 - Running Hundreds of Kafka Clusters with 5 People
Kafka Summit NYC 2017 - Running Hundreds of Kafka Clusters with 5 People
Introduction to XtraDB Cluster
Introduction to XtraDB Cluster
Symfony finally swiped right on envvars
Symfony finally swiped right on envvars
HTTP Plugin for MySQL!
HTTP Plugin for MySQL!
Master master vs master-slave database
Master master vs master-slave database
Architectural Overview of MapR's Apache Hadoop Distribution
Architectural Overview of MapR's Apache Hadoop Distribution
Asynchronous programming - .NET Way
Asynchronous programming - .NET Way
What is NetDevOps? How? Leslie Carr PuppetConf 2015
What is NetDevOps? How? Leslie Carr PuppetConf 2015
Triple Blitz Strike
Triple Blitz Strike
MySQL? Load? Clustering! Balancing! PECL/mysqlnd_ms 1.4
MySQL? Load? Clustering! Balancing! PECL/mysqlnd_ms 1.4
Concurrency in ruby
Concurrency in ruby
Background processes and tasks in an async world
Background processes and tasks in an async world
HTTP, JSON, JavaScript, Map&Reduce built-in to MySQL
HTTP, JSON, JavaScript, Map&Reduce built-in to MySQL
Beautiful code instead of callback hell using ES6 Generators, Koa, Bluebird (...
Beautiful code instead of callback hell using ES6 Generators, Koa, Bluebird (...
Último
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
Fwdays
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
SeasiaInfotech2
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
hariprasad279825
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
Hervé Boutemy
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
Fwdays
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
Mark Billinghurst
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
Memoori
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
NavinnSomaal
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
Stephanie Beckett
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
Scott Keck-Warren
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Wonjun Hwang
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
null - The Open Security Community
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
Kalema Edgar
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
Manik S Magar
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
The Digital Insurer
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
RankYa
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
Rizwan Syed
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
Fwdays
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
Sergiu Bodiu
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
Addepto
Último
(20)
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
MySQL::Replication (Melbourne Perl Mongers 2011-07)
1.
MySQL::Replication
2.
what is it?
3.
It's a replacement
for
4.
MySQL Replication
5.
why?
6.
first...
7.
what is replication?
8.
synchronising data
9.
between multiple databases
10.
db1 db2
11.
why replicate?
12.
examples...
13.
redundancy
14.
database client client
client client client client client client
15.
database on client
client client client client client client client
16.
database on fire
client client client client client client client client
17.
database on fire
client client client client client client client client
18.
database on fire
client client client client client client client client
19.
arhhhh!
20.
If we had
replicated
21.
to a hot
standby
22.
clients could be
moved
23.
24.
25.
another example
26.
performance
27.
database client
28.
database client client
29.
database client client
client
30.
database client client
client client
31.
database client client
client client client
32.
database client client
client client client client
33.
database client client
client client client client client
34.
database client client
client client client client client client
35.
database client client
client client client client client client
36.
database client client
client client client client client client
37.
arhhhh!
38.
If we replicated
39.
for scale out
40.
load would be
spread
41.
42.
43.
44.
45.
46.
47.
48.
49.
so...
50.
why replicate?
51.
because it gives
you benefits
52.
compared to having
53.
a single database
54.
so...
55.
how does it
work?
56.
in particular...
57.
how does MySQL
Replication work?
58.
59.
master
60.
master slave
61.
master client slave
62.
master client binlog
slave
63.
master client binlog
slave relay
64.
master client binlog
slave relay
65.
the cool thing
is
66.
each slave
67.
can be a
master
68.
to other slaves
69.
master slave slave
slave
70.
master slave slave
master/slave slave
71.
master master/slave slave
master/slave slave slave
72.
this works fine
73.
but...
74.
slaves can only
have a single master
75.
master master/slave slave
master/slave slave slave
76.
so?
77.
that means...
78.
no multiple masters
79.
slave master master
master
80.
slave master master
master
81.
why not?
82.
don't ask me
83.
because I don't
know
84.
but...
85.
we can
emulate multiple masters
86.
to do this
87.
we have to
88.
setup a ring
topology
89.
what?
90.
each slave
91.
is a master
92.
to another slave
93.
master slave
94.
master slave master/slave
95.
master master/slave master/slave
slave
96.
master/slave master/slave master/slave
master/slave
97.
98.
so...
99.
how does this
achieve
100.
multiple master replication?
101.
by having each
master
102.
write all
queries
103.
to it's binlog
104.
...including the queries
105.
it replicated
106.
from its
master
107.
huh?
108.
queries are passed
109.
around the ring
110.
kind of like
111.
pass the parcel
112.
113.
why is this
a problem?
114.
when the ring
breaks
115.
116.
117.
118.
119.
120.
arhhhh!
121.
so does everything
else
122.
...and recovery is
hard
123.
why?
124.
infinite loops!
125.
what do you
mean?
126.
each master
127.
is responsible
128.
for termination
129.
of its own
queries
130.
around the ring...
131.
in other words
132.
queries don't replicate
infinitely
133.
because
134.
a master won't
relay
135.
its own queries
twice
136.
137.
so...
138.
what happens if...
139.
a database goes
down?
140.
we recover by
141.
...reconnecting the links
142.
...and restarting replication
143.
?
144.
145.
146.
(OpenOffice doesn't do
the arrow I wanted)
147.
hang on...
148.
who was responsible
149.
for terminating
150.
the failed database's
queries?
151.
hrmmm...
152.
if there are
queries
153.
from the failed
database
154.
still replicating
155.
that haven't yet
terminated
156.
157.
arhhhh
158.
Infinite queries, infinitely
replicating
159.
so...
160.
how can I
achieve
161.
multiple master replication
162.
...that is fault
tolerant
163.
...and is easy
to recover from?
164.
MySQL::Replication
165.
It's a replacement
166.
for MySQL's built-in
replication
167.
it's a client/server
model
168.
each master runs
the server
169.
slave master master
master
170.
slave master master
server
171.
slave server master
server
172.
slave server server
server
173.
each slave runs
the client
174.
...and the client
175.
can run multiple
instances
176.
(one for each
server)
177.
(think peer-to-peer)
178.
slave server server
server
179.
client(s) server server
server
180.
and if something
breaks
181.
client(s) server server
server
182.
client(s) server server
server
183.
client(s) server server
server
184.
only the peer
connection is effected
185.
client(s) server server
server
186.
client(s) server server
server
187.
and if the
failed database recovers
188.
we restart from
where we left off
189.
client(s) server server
server
190.
client(s) server server
server
191.
otherwise
192.
we just fail
it out
193.
and can take
our time rebuilding
194.
it was redundant
anyway
195.
right?
196.
:)
197.
ohh
198.
...and no infinite
loops
199.
why?
200.
since we connect
201.
directly to the
server
202.
no intermediary connections
203.
can break
204.
there's more...
205.
relay caching
206.
say what?
207.
instead of connecting
208.
directly to the
master
209.
the client
210.
connects to a
local relay
211.
if it doesn't
have
212.
the queries we
want
213.
it will get
them for us
214.
example
215.
multiple clients
216.
in data center
A
217.
...each connect
218.
to a server
219.
in data center
B
220.
...each download the
same queries
221.
what a waste
222.
...in bandwidth
223.
...and server load
224.
so...
225.
instead
226.
...each connect
227.
to a local
relay
228.
now...
229.
only a single
client (the relay)
230.
connects to the
server
231.
...saves bandwidth
232.
...saves server load
233.
:)
234.
so...
235.
CPAN?
236.
almost ready
237.
client/server working in
production
238.
I just need
to do the documentation
239.
then I'll put
it on CPAN
240.
what about the
relay stuff?
241.
It's nearly complete...
242.
I just need
to finish
243.
...a couple more
test harnesses
244.
...and write the
documentation
245.
FAQ
246.
what happens with
collisions?
247.
when two databases
248.
update the same
record
249.
It's a race
condition
250.
solution?
251.
solve it at
the application layer
252.
use a broker
for global IDs
253.
or shard writes
254.
questions?
255.
[email_address]
Descargar ahora