Replication and Availability in Distributed systems

Slides:



Advertisements
Similar presentations
Girls On The Run Los Angeles
Advertisements

A Mile High Professional Development Experience From AMATYC
Spanish Checkpoint B Physical Adjectives Personality Adjectives
Static picture effects for PowerPoint slides
Animated picture effects for PowerPoint slides
#5 Grade 1 ~ Sight Words Pictures series in film strip effect
#3 Grade 1 ~ Sight Words Pictures series in film strip effect
HAMLET By William Shakespeare
What? Learn how to program at FIU Register for: COP 1000 – #59660
Static picture effects for PowerPoint slides
First text statement positioned here at guide intersection
Atlas of World Diseases and Medical Conditions
Physics Careers February1st, 2017
Add animated sparkles to a picture (Basic)
به نام مهربانترین In the name of the most compassionate
Animated picture changes during motion path (Advanced)
Project title Scheduled dates Team members JAN FEB MAR APR MAY JUN
Custom animation effects: curve up and grow (Intermediate)
PowerPoint Heaven PowerPoint Heaven. PowerPoint Heaven PowerPoint Heaven.
بسم الله الرحمن الرحیم مركز بهمن استاندارد- مديريت ارزيابي و مانيتورينگ كيفي.
Order of Operations Problems
#6 Grade 1 ~ Sight Words Pictures series in film strip effect
#2 Grade 1 ~ Sight Words Pictures series in film strip effect
RING THREE RING TWO RING ONE (Intermediate) 3-D rings
Fly-in marquee lights at picture entrance (Intermediate)
TAB ONE TAB TWO TAB THREE TAB FOUR TAB FIVE
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
What do you wonder about? “Find your passion and begin your journey.”
1.
#1 Grade 1 ~ Sight Words Pictures series in film strip effect
Mrs. Stone’s Mime’s (Pantomime)
Order of Operations Problems
Les Verbes ER LCHS NOW SHOWING Marquee with 3-D perspective rotation
Sample heading First line of text Second line of text
TEACHER CREATES KNOWLEDGE ACQUISITION
#4 Grade 1 ~ Sight Words Pictures series in film strip effect
3 1 2 Significant Figures with calculations (Advanced)
Hope City Church - LPD Church of the Week
SES First Grade Field Trip
Animated picture collection: left picture moves to front center
TEXT TEXT TEXT Animated rectangles curve up and grow in sequence
Pictures with reflection and blurred background (Basic)
سرطان پستان دکتر مریم طباطباییان پاییز ۱۳۹۱
1 2 3 Marketing 2 Jan Reminders Essential Question Agenda
Pictures with reflection and blurred background (Basic)
موضوع بحث: تعریف علم اصول جلسه 43.
اشاره به نتایج قیاس های فقهی گاهی، حکم شرعی است
علم اصول، «نفس قواعد» است نه «علم به قواعد»
نظریات پیرامون «تمایز علوم»
گزارش فعالیت سه ماهه دبستان ابن سینا
نظریات پیرامون «تمایز علوم» بررسی دلایل عدم احتیاج علوم به موضوع
3D shapes and objects for PowerPoint slides
Pictures in 3-D flip book (Intermediate)
Pictures with reflection and blurred background (Basic)
نظریات پیرامون «تمایز علوم» بررسی دلایل احتیاج علوم به موضوع
first line of text goes here
Pictures with reflection and blurred background (Basic)
ONE NIGHT ONLY! CJMS Talent Show Friday, December 11
Using Word to Write the Story of Your Life
LPD Church of the Week We praise God for the smooth transition to two services and for the new faces we have seen as a result of increasing our capacity.
Parkdale EFC LPD Church of the Week Please pray for:
نظریات پیرامون «تمایز علوم» بررسی دلایل احتیاج علوم به موضوع
قاعده لا ضرر، تنها در شبهات حکمیه جاری است
Picture with watercolor overlay background (Advanced)
Please Do Now / Dec. 2, 15 Log into computer Go to
جلسه 34.
Defining Religious Experiences
Balancing Chemical Equations
The Future Begins Today, Not Tomorrow. Labor 2018
1 ج : اشاره بعضی از اصولیون به تعریف ترکیبی آخوند با «یک لفظ»
Presentation transcript:

Replication and Availability in Distributed systems VenkataReddy Sathi and Ashish Kattamuri CS455: Introduction to Distributed Systems Computer Science Department, Colorado State University (Intermediate) Rows of monitors fading into the background To reproduce the shape effects on this slide, do the following: On the Home tab, in the Drawing group, click Shapes, and then under Basic Shapes click Rounded Rectangle (second option from the left). On the slide, drag to draw a rectangle. On the Home tab, in the Slides group, click Layout, and then click Blank. Select the rectangle. Under Drawing Tools, on the Format tab, in the Size group, do the following: Drag the yellow diamond adjustment handle to the left to decrease the amount of rounding on the corners of the rectangle. In the Shape Height box, enter 1.38”. Also under Drawing Tools, on the Format tab, in the Shape Styles group, click the Format Shape dialog box launcher. In the Format Shape dialog box, click Fill in the left pane, select Solid fill in the Fill pane, and then do the following: In the Shape Width box, enter 1.75”. In the Transparency box, enter 45%. Click the button next to Color, click More Colors, and then in the Colors dialog box, on the Custom tab, enter values for Red: 54, Green: 65, Blue: 118. Also in the Format Shape dialog box, click Reflection in the left pane. In the Reflection pane, click the button next to Presets, and then under Reflection Variations click Tight Reflection, touching (first row, first option from the left). Also in the Format Shape dialog box, click 3-D Format in the left pane. In the 3-D Format pane, under Bevel, click the button next to Top, and then under Bevel click Relaxed Inset (first row, second option from the left). Next to Top, in the Width box, enter 6 pt, and in the Height box, enter 6 pt. Also in the Format Shape dialog box, click Line Color in the left pane, and then in the Line Color pane select No line. On the Home tab, in the Drawing group, click Arrange, point to Align, and then do the following: On the Home tab, in the Clipboard group, click the arrow under Paste, and then click Duplicate. Repeat this process to create a total of five rectangles. Click Align Middle. Click Align to Slide. Select the group. On the Home tab, in the bottom right corner of the Drawing group, click the Format Shape dialog box launcher. In the Format Shape dialog box, click 3-D Rotation in the left pane. In the 3-D Rotation pane, click the button next to Presets, and then under Perspective, click Perspective Below (first row, fourth option from the left). On the Home tab, in the Drawing group, click Arrange, and then click Group. Click Distribute Horizontally. Under Drawing Tools, on the Format tab, in the bottom right corner of the Size group, click the Size and Position dialog box launcher. In the Format Shape dialog box, click Size in the left pane. In the Size pane, under Scale, do the following: Select the group. On the Home tab, in the Clipboard group, click the arrow to the right of Copy, and then click Duplicate. On the slide, drag the second group above the first group. In the Height box, enter 85%. Select Lock aspect ratio. Select the second group. On the Home tab, in the Clipboard group, click the arrow to the right of Copy, and then click Duplicate. On the slide, drag the third group above the second group. Also in the Format Shape dialog box, click Fill in the left pane. In the Fill pane, select Solid fill, and then in the Transparency box, enter 55%. Select the third group. On the Home tab, in the Clipboard group, click the arrow to the right of Copy, and then click Duplicate. On the slide, drag the fourth group above the third group. On the Home tab, in the bottom right corner of the Drawing group, click the Format Shape dialog box launcher. In the Format Shape dialog box, click Fill in the left pane. In the Fill pane, select Solid fill, and then in the Transparency box, enter 65%. Select the fourth group. On the Home tab, in the Clipboard group, click the arrow to the right of Copy, and then click Duplicate. On the slide, drag the fifth group above the fourth group. Also in the Format Shape dialog box, click Fill in the left pane. In the Fill pane, select Solid fill, and then in the Transparency box, enter 75%. Select the fifth group. On the Home tab, in the Clipboard group, click the arrow to the right of Copy, and then click Duplicate. On the slide, drag the sixth group above the fifth group. Also in the Format Shape dialog box, click Fill in the left pane. In the Fill pane, select Solid fill, and then in the Transparency box, enter 85%. Press CTRL-A to select all of the groups. On the Home tab, in the Drawing group, click Arrange, point to Align, and then do the following: Using the ruler as a guide, drag the groups into rows on the slide so that the top and bottom margins are approximately 1.75”. On the View tab, in the Show/Hide group, clear Ruler. Also in the Format Shape dialog box, click Fill in the left pane. In the Fill pane, select Solid fill, and then in the Transparency box, enter 95%. Click Distribute Vertically. Click Align Selected Objects. Click Align Center. Point to Align, and then click Align Center. Point to Align, and then click Align Middle. Point to Align, and then click Align to Slide. To reproduce the background effects on this slide, do the following: On the Design tab, in the Background group, click Background Styles, and then click Format Background. In the Format Background dialog box, click Fill in the left pane, select Gradient fill in the Fill pane, and then do the following: In the Type list, select Radial. Also under Gradient stops, customize the gradient stops as follows: Under Gradient stops, click Add gradient stops or Remove gradient stops until three stops appear in the slider. Click the button next to Direction, and then click From Center (third option from the left). Select the first stop in the slider, and then do the following: In the Transparency box, enter 0%. Click the button next to Color, and then under Theme Colors click White, Background 1 (first row, first option from the left). In the Position box, enter 33%. Select the next stop in the slider, and then do the following: Click the button next to Color, click More Colors, and then in the Colors dialog box, on the Custom tab, enter values for Red: 228, Green: 233, Blue: 236. In the Position box, enter 67%. Select the last stop in the slider, and then do the following: Click the button next to Color, click More Colors, and then in the Colors dialog box, on the Custom tab, enter values for Red: 178, Green: 186, Blue: 210. In the Position box, enter 100%. 9/19/2018 CS530-Fault Tolerant Computing

Why is this problem important ? Overtime, infrastructure always suffer predictable failures that can impact availability. Reliability and Availability. Improve Performance. Scaling Technique. Caching. Scope: Grid computing,P2P, web services, Distributed databases, Cloud computing. 9/19/2018 CS530-Fault Tolerant Computing

Problem characterization There are mainly two problems in replication: Replica Server Placement: NP Hard Problem. Content Replication and placement. What data to replicate? Where to place the replicated data? Replication Factor? How to maintain consistency in replicas? 9/19/2018 CS530-Fault Tolerant Computing

Trade off space for solutions CAP or Brewer Theorem: Consistency, Availability and Partition Tolerance. Primary copy and Update Anywhere approach. Active approach or Synchronous or Eager approach: Guarantees consistency for full scale. Longer response time, Less Availability. Passive approach or Lazy or asynchronous approach: High availability low consistency 9/19/2018 CS530-Fault Tolerant Computing

CS530-Fault Tolerant Computing Dominant approaches Quorum Consensus: A voting process where clients request multiple replicas before read or write. Read Quorum and Write Quorum. Dynamic voting: Consider only live nodes. Lesslog: Lesslog uses bitwise operations to determine location of replicas without analysis of client access logs. Decrease the work load of the replicating node by half. 9/19/2018 CS530-Fault Tolerant Computing

CS530-Fault Tolerant Computing Dominant approaches Dynamic Data Allocation with Replication: A comprehensive algorithm to find the near-optimal dynamic allocation solutions which also takes network topology, fragment correlation into account. A process server monitors access histories and dynamically make changes. Real World: Akamai uses caching replica for placement versioning like quorum based approach for consistency. Bigtable:Sync, HBase:Async, Cassandra:Tunable, SharedMySql:Async replication protocols. 9/19/2018 CS530-Fault Tolerant Computing

CS530-Fault Tolerant Computing Insights Gleaned The replication techniques with dynamic nature are more persistent and scalable. Fault tolerant approach. Quorum based voting approach ensures consistency with low availability. This method performs well in distributed database systems and can also handle the network partitions. Less log method has high availability and high reliability but cannot scale to larger networks of thousands of nodes logarithmic time complexity and fault tolerant. 9/19/2018 CS530-Fault Tolerant Computing

Problem space in future would look like The internet of things and the growing population will add petabytes of data. In future cloud architecture will take control over the data storage and most of the systems will not have hard disks or SSD’s and access the clouds for personal data. The problem of replication grows with huge number of users competing for highly available shared data, making the distributed transactions critical. Even though bandwidth and processing power increase drastically still availability problem persists. 9/19/2018 CS530-Fault Tolerant Computing

Trade-off space for solutions in this area The dynamic replication algorithms will become more persistent with induction of machine learning and artificial intelligence techniques. The NP hard problem of placing replica servers and data replication can be answered more effectively. Super nodes with high computational capacity can monitor the access patterns and initiate replicas. Active replication can perform in improved way which can boost availability. Replica placement can be optimized by tracking the individual locations over a period of time and predicting the locations of a particular user. 9/19/2018 CS530-Fault Tolerant Computing