in memory computing patterns for high volume real time
play

In-Memory Computing Patterns for High Volume, Real-Time Applications - PowerPoint PPT Presentation

In-Memory Computing Patterns for High Volume, Real-Time Applications Narendra Paruchuri Murali Ande American Airlines American Airlines 2 10/10/18 Outline Who We are Our Use Cases Our Journey Evaluation Criteria Our


  1. In-Memory Computing Patterns for High Volume, Real-Time Applications Narendra Paruchuri Murali Ande American Airlines American Airlines

  2. 2 10/10/18 Outline Who We are • Our Use Cases • Our Journey • Evaluation Criteria • Our Journey with In-Memory data models • Architecture Patterns • Advantages • Being mindful • 2

  3. Who we are Multiple Hubs 500,000 daily customers CLT, ORD, DFW, LAX, 6700 flights MIA, JFK, LGA, PHL, PHX, 350 destinations DCA 50 countries Complex aircraft turn activities before on time departures Oneworld alliance 14,250 flights, 1,000 destinations 150 countries Complex weather situations, reroutes, Safety and Regulations off-scheduled operations, travel plan changes, last minute 3

  4. Our Use Cases 4

  5. Our Journey Neo4J VoltDB Ehcache Apache Ignite Infinispan Node1 1 * Entity A REL Entity B Value KEY Node2 Node3 Relational Model Key Value Model Graph Col1 Col2 Col3 Col4 C C Columnar like Model P C C Object Model Cassandra Gigaspaces While systems are modified for key value pair keeping in view the trends in latest technologies, Our business operations still require us to perform joins to correlate and 5 coalesce data to facilitate business decisions.

  6. Evaluation Criteria • ACID compliance with native persistence and third party persistence integration • Readability and Maintainability of System • Support High Volume Transactions with simultaneous updates to multiple attributes ( 12K / Min – Writes , 25K / Min – Reads) • Replication and Distribution support with Multi – DC • Streaming connectors like Kafka • Generate events on data updates • Docker and Kubernetes support 6

  7. Our Journey with In-Memory Data Models Ehcache Pain Points Infinispan Most of the solutions does not offer Joins • Lot of code to correlate and Coalesce data • Slow response times. • Value KEY Key Value Model Pain Points: C C Pre-defined Object Structures • P C Reduced Flexibility • C Longer Deployment Cycles • Object Model Gigaspaces 7

  8. Our Journey with In-Memory Data Models Neo4J Ehcache Infinispan Pain Points: Computations and Aggregations • Node1 Value KEY Node2 Node3 Key Value Model Graph Pain Points: C C Pre-defined Object Structures • P C Reduced Flexibility • C Longer Deployment Cycles • Object Model Gigaspaces 8

  9. Our Journey with In-Memory Data Models Neo4J Ehcache Infinispan Pain Points: Computations and Aggregations • Node1 Value KEY Node2 Node3 Key Value Model Graph Col1 Col2 Col3 Col4 C C Columnar like Model P C Pain Points C Object Model Atomicity – multi tables • Cassandra Consistency • Gigaspaces 9

  10. 10 10/10/18 Our Journey with In-Memory Data Models Neo4J Ehcache VoltDB Infinispan Apache Ignite Node1 Value KEY 1 * Entity A REL Entity B Node2 Node3 Key Value Model Relational Model Graph Col1 Col2 Col3 Col4 C C Columnar like Model P C Pain Points C Object Model Atomicity – multi tables • Cassandra Consistency • Gigaspaces Our business operations still require us to perform joins to correlate and coalesce data for the business. • 10 While there may be several options, we have chosen to implement Ignite for our use cases. •

  11. 11 10/10/18 Apache Ignite (Open Source) – Active – Passive topology Real-time Application Data Store ACID compliance Topology aware Feeder Client Node(S) with Strong Consistency JCache API JDBC, Spring Data Native Persistence Messaging Kafka Streamer Client Listener Node(S) SAN Storage Websocket Active Data Center A WAN Web Application Replication Global Traffic Manager Passive Data Center B Topology aware Native Persistence Feeder Client Node(S) SAN Storage Websocket Use for Non-Critical systems that need real- • 11 time data aggregation. Web Application Client Listener Node(S)

  12. 12 10/10/18 Apache Ignite (Open Source) – Active – Passive topology Topology aware Feeder Client Node(S) Real-time Application Data Store ACID compliance with Strong Consistency Native Persistence SAN Storage Client Listener Node(S) Websocket Active Data Center A WAN Web Application Replication Global Traffic Manager Passive Data Center B Topology aware Native Persistence Feeder Client Node(S) SAN Storage Websocket • Use for Non-Critical systems that need real- 12 time data aggregation. Web Application Client Listener Node(S)

  13. 13 10/10/18 Apache Ignite and Cassandra Active-Passive topology Real-time Application Data Store ACID compliance Topology aware Feeder Client Node(S) with Strong Consistency. Cassandra Connector Client Listener Node(S) Cassandra Cluster Websocket Active Data Center A WAN Combines Web Application Global Traffic Manager Replication OLTP & OLAP Global Traffic Manager Passive Data Center B Cassandra Cluster Topology aware Cassandra Connector Feeder Client Node(S) Websocket Use for Non-Critical systems that need real- • 13 time data aggregation. Web Application Client Listener Node(S)

  14. 14 10/10/18 Advantages of using Ignite along with Cassandra • Bandwidth and Response times improvement (order of magnitude improvement). • Improved Availability than standalone Cassandra system, as Ignite offers sophisticated clustering support, such as detecting and remediating split brain conditions. • Horizontal and Vertically scalable. • More efficient, as Ignite can use all the memory available on a node, and not only JVM memory. • ANSI-99 SQL and ACID Transaction Guarantees (Improved Consistency) • You can run other analytics off of Cassandra • Support for jdbc and odbc make it easier to integrate with existing tech, such as Hibernate and Spring Data. • No data remodeling required for existing Cassandra deployment, as Apache Ignite can read from it as well as relational databases. 14

  15. 15 10/10/18 Apache Ignite (GridGain) – Active – Active topology Topology aware Feeder Client Node(S) Real-time Application Data Store ACID compliance with Strong Consistency Native Persistence Active Data Center A Client Listener Node(S) SAN Storage Websocket Web Application WAN Global Traffic Manager Replication Topology aware Native Persistence Feeder Client Node(S) SAN Storage Active Data Center B Websocket Use for Critical and Vital systems with low • 15 RTO and RPO. Web Application Client Listener Node(S)

  16. 16 10/10/18 Being mindful • Not a magic bullet • Evaluate use case • Consider future data growth • Take advantage of all available technologies • Lack of standards • Not plug and play • Vendor challenges • Governance 16

  17. 17 10/10/18 Why not traditional RDBMS database • Database will work but at what cost ? • Complexity of Architecture with Multi DC and Multi Cloud providers. • Tool consistency • Scalability Vertical vs Horizontal • No collocated data processing • Leveraging auto scaling using Containers and Kubernetes is not available. Cloud Scaling Breaks Domain Driven Design 17

  18. 18 10/10/18 Advantages • Extremely fast response times • Highly scalable • Improved complex processing on events. • Improved real time analytics • Reduced cost of operation • Inexpensive with improvements in memory technology 18

  19. QUESTIONS?

  20. In-Memory Computing Patterns for High Volume, Real-Time Applications Narendra Paruchuri Murali Ande American Airlines American Airlines

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend