Slide 1

Slide 1 text

Legacy data for microservices Data Gateways Hugo Guerrero APIs & Messaging Developer Advocate, Red Hat DATA GATEWAYS 1

Slide 2

Slide 2 text

Agenda DATA GATEWAYS 2 Architecture Evolution Application architecture trends Microservices Data The rise of the gateways Microservices Data Data Gateways Capabilities Types Open source data gateways Hugo Guerrero Mexican @ MA, USA APIs & Event-Driven Specialist | Open Source Advocate | History, Travel & Food Enthusiast @hguerreroo

Slide 3

Slide 3 text

DATA GATEWAYS 3 12 factor apps What became hot? Application Architecture Evolution Microservices Serverless

Slide 4

Slide 4 text

DATA GATEWAYS 4 MICROSERVICES ARCHITECTURE MONOLITHIC DATABASE

Slide 5

Slide 5 text

DATA GATEWAYS 5 Source: https://www.infoq.com/articles/data-gateways-cloud-native/ Traditional Architecture

Slide 6

Slide 6 text

DATA GATEWAYS 6 Source: https://www.infoq.com/articles/data-gateways-cloud-native/ Distributed Architecture

Slide 7

Slide 7 text

DATA GATEWAYS 7 The Rise of API Gateways The traditional Load Balancer is not enough Developer Apps API Backend 2 API Gateway API Request Authorized API Request API Backend 1 API Backend 3

Slide 8

Slide 8 text

8 DATA GATEWAYS Microservices Data ● Independent database per microservice ○ Independent database instance ○ Independent schema and logical grouping of tables ● Only one microservice owns the data

Slide 9

Slide 9 text

9 Source: https://martinfowler.com/bliki/PolyglotPersistence.html DATA GATEWAYS Microservices Data ● Polyglot persistence layer ○ Data is different, so the persistence layer ● Relational database and document and in-memory and…

Slide 10

Slide 10 text

DATA GATEWAYS 10 Source: https://www.infoq.com/articles/data-gateways-cloud-native/ Gateways

Slide 11

Slide 11 text

Source: https://www.infoq.com/articles/data-gateways-cloud-native/ “A data gateway is like an API gateway, but it understands and acts on the data layer implementation rather than the networking layer” DATA GATEWAYS 11

Slide 12

Slide 12 text

12 DATA GATEWAYS Data Gateway Capabilities ● Abstraction / Decoupling ○ Hides implementation ○ Abstracts physical source ● Security ○ Access control based on data model (row, column, etc.) ● Scaling ○ Caching and materialized views ● Federation ● Schema-first based on SQL standard

Slide 13

Slide 13 text

13 DATA GATEWAYS Many Types of Data Gateways ● Classic Data Virtualization ● Database with Federation ● GraphQL bridges ● Cloud-hosted ● Secure tunneling data-proxies ● Open source data gateways

Slide 14

Slide 14 text

● Apache Drill ○ Schema-free SQL query engine for NoSQL databases and file systems ● PrestoDB ○ Distributed SQL query engine targeting big data use cases through its coordinator-worker architecture ● Teiid ○ Data federation engine purposefully re-written for the Kubernetes ecosystem sponsored by Red Hat 14 DATA GATEWAYS Open Source Data Gateways

Slide 15

Slide 15 text

DATA GATEWAYS 15

Slide 16

Slide 16 text

“Data has gravity, requires granular access control, is hard to scale, and difficult to move on/off/between cloud-native infrastructures. Having a data gateway component as part of the cloud-native tooling arsenal, which is hybrid and works on multiple cloud providers, supports different use cases is becoming a necessity.” DATA GATEWAYS 16 Source: https://www.infoq.com/articles/data-gateways-cloud-native/

Slide 17

Slide 17 text

linkedin.com/company/red-hat youtube.com/user/RedHatVideos facebook.com/redhatinc twitter.com/RedHat 17 Red Hat is the world’s leading provider of enterprise open source software solutions. Award-winning support, training, and consulting services make Red Hat a trusted adviser to the Fortune 500. Thank you DATA GATEWAYS