Replicated LevelDB on JBoss Fuse

Slides:



Advertisements
Similar presentations
DISTRIBUTED COMPUTING PARADIGMS
Advertisements

Wait-free coordination for Internet-scale systems
Manajemen Basis Data Pertemuan 12 Matakuliah: M0264/Manajemen Basis Data Tahun: 2008.
Provisioning distributed OSGi applications in a cloud Guillaume Nodet, FuseSource November 2011.
JMS & ActiveMQ KimmKing ( 禹皇 )
Distributed Systems CS Google Chubby and Message Ordering Recitation 4, Sep 29, 2011 Majd F. Sakr, Vinay Kolar, Mohammad Hammoud.
ECSE Software Engineering 1I HO 7 © HY 2012 Lecture 7 Publish/Subscribe.
Messaging Technologies Group: Yuzhou Xia Yi Tan Jianxiao Zhai.
Take An Internal Look at Hadoop Hairong Kuang Grid Team, Yahoo! Inc
A Brief Overview by Aditya Dutt March 18 th ’ Aditya Inc.
Implementing Multi-Site Clusters April Trần Văn Huệ Nhất Nghệ CPLS.
Module 12: Designing High Availability in Windows Server ® 2008.
Administrative Technology Services: Enterprise Applications
Client Server Technologies Middleware Technologies Ganesh Panchanathan Alex Verstak.
Enterprise Java Beans Java for the Enterprise Server-based platform for Enterprise Applications Designed for “medium-to-large scale business, enterprise-wide.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved Chapter 4 Communication.
Open Search Office Web Services Database Doc Mgt Sys Pipeline Index Geospatial Analysis Text Search Faceting Caching Query parsing Clustering Synonyms.
OCT 1 Master of Information System Management Organizational Communications and Distributed Object Technologies Lecture 5: JMS.
EGEE is a project funded by the European Union under contract IST Messaging and queuing Common components Krzysztof Nienartowicz EGEE JRA1.
DISTRIBUTED COMPUTING PARADIGMS. Paradigm? A MODEL 2for notes
CERN IT Department CH-1211 Genève 23 Switzerland t Internet Services Overlook of Messaging.
Distributed Systems Principles and Paradigms Chapter 12 Distributed Coordination-Based Systems 01 Introduction 02 Communication 03 Processes 04 Naming.
Distributed Databases
INTRODUCTION TO DBS Database: a collection of data describing the activities of one or more related organizations DBMS: software designed to assist in.
Distributed database system
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks MSG - A messaging system for efficient and.
AMQP, Message Broker Babu Ram Dawadi. overview Why MOM architecture? Messaging broker like RabbitMQ in brief RabbitMQ AMQP – What is it ?
Java Message Service (JMS) Web Apps and Services.
Chapter 7: Consistency & Replication IV - REPLICATION MANAGEMENT By Jyothsna Natarajan Instructor: Prof. Yanqing Zhang Course: Advanced Operating Systems.
CMSC 691B Multi-Agent System A Scalable Architecture for Peer to Peer Agent by Naveen Srinivasan.
Distributed File System. Outline Basic Concepts Current project Hadoop Distributed File System Future work Reference.
September 28, 2010COMS W41561 COMS W4156: Advanced Software Engineering Prof. Gail Kaiser
ZOOKEEPER. CONTENTS ZooKeeper Overview ZooKeeper Basics ZooKeeper Architecture Getting Started with ZooKeeper.
Apache Kafka A distributed publish-subscribe messaging system
PERFORMANCE MANAGEMENT IMPROVING PERFORMANCE TECHNIQUES Network management system 1.
Messaging in Distributed Systems
Chapter Name Replication and Mobile Databases Transparencies
Last Class: Introduction
High Availability 24 hours a day, 7 days a week, 365 days a year…
CyberSKA: Global Federated e-Infrastructure
INTRODUCTION TO PIG, HIVE, HBASE and ZOOKEEPER
The Client/Server Database Environment
Module 8: Concepts of a Network Load Balancing Cluster
Peer-to-peer networking
A Messaging Infrastructure for WLCG
Chapter 9: The Client/Server Database Environment
Storage Virtualization
Client-Server Interaction
Replication Middleware for Cloud Based Storage Service
Chapter 7: Consistency & Replication IV - REPLICATION MANAGEMENT -Sumanth Kandagatla Instructor: Prof. Yanqing Zhang Advanced Operating Systems (CSC 8320)
Java Messaging Service (JMS)
Java Messaging Service (JMS)
Java Messaging Service (JMS)
Fault Tolerance Distributed Web-based Systems
Harjutus 3: Aünkroonne hajussüsteemi päring
Inventory of Distributed Computing Concepts
Evolution of messaging systems and event driven architecture
Hidden Power : Service Broker
Container cluster management solutions
Wait-free coordination for Internet-scale systems
Lecture 21: Replication Control
Message Queuing.
J2EE Lecture 13: JMS and WebSocket
Chained Negotiation for Distributed Notification Services
Data Grid Patterns Brian Oliver | Global Solutions Architect | Oracle Corporation | JBFOne 2008.
Lecture 21: Replication Control
Implementing Consistency -- Paxos
Network management system
SSIS. FIRST EXPERIENCE. By Virginia Mushkatblat
Pig Hive HBase Zookeeper
Presentation transcript:

Replicated LevelDB on JBoss Fuse Jakub Knetl jknetl@redhat.com Red Hat 2018/5/14

Messaging systems Mechanisms for exchanging data (messages) Advantages: Clients can communicate asynchronously Wide set of (platform independent) clients Reliability Scalability What is messaging system Why to use it instead of direct data exchange

Basic concepts Message Header Body (content) Destination Clients Producer Consumer

Point to point comunication Queue destination One of consumers gets message Load is distributed across consumers Message is stored until some consumer receives it

Point to point communication Consumers Producer Queue

Publish subscribe communication Message is delivered to all subscribers When no subscriber connected message is thrown away Special case – durable subscriber

Publish/subscribe Subscribers Publisher Topic

JBoss Fuse Open-source ESB Messaging system based on Apache ActiveMQ Runs in OSGI container Integration framework Webservices Easy cluster deployment Lots of componetns Integrated in OSGI container WebConsole Fabric

JBoss Fuse

High availability Messaging systems processes business critical data Server must be accessible 24/7 Various mechanisms to ensure HA

Introduction to HA in ActiveMQ Group of brokers forms logically one broker Master broker Communicates with clients Slave brokers Passive Clients cannot connects to it Election mechanism Client reconnects in case of failure Message acknowledgment after the message is stored safely Important note: Multiple brokers forms logically one broker

Different topologies Shared JDBC master/slave Shared file system master/slave Replicated levelDB master/slave (shared nothing)

Shared JDBC You need shared database Locking on database Reliable, but rather slow Single point of failure

Shared JDBC Client Master Master Brokers Database

Shared file system Convenient when having SAN Faster than JDBC Needs file system with reliable locking! Single point of failure

Shared filesystem Client Master Master Brokers Shared FS

Replicated LevelDB Shared nothing No single point of failure! Servers coordinates themselves by exchanging messages (replication protocol) Needs Zookeeper server

Choosing master That's why ZooKeeper is important Brokers register themselves at zookeeper Zookeeper decides who will become master

Replication protocol Slave brokers connects to the master Messages are replicated to slaves Message acknowledgment after replicating at least to quorum of brokers (N/2 - 1).

Replicated LevelDB A B Master C Master

Demo