automating query caching with data grids
play

Automating Query Caching with Data Grids Roland Lee VP of Product - PowerPoint PPT Presentation

Automating Query Caching with Data Grids Roland Lee VP of Product Agenda Intro to Database Proxy concept Query caching Other use cases Demo 2 Executive Summary Database Proxies: Improves SQL read/write


  1. Automating Query Caching with Data Grids Roland Lee VP of Product

  2. Agenda Intro to Database Proxy concept • Query caching • Other use cases • Demo • 2

  3. Executive Summary Database Proxies: • • Improves SQL read/write performance and reliability • Deployment requires no application changes 3

  4. Database Proxy Vendors Feature ProxySQL ✓ ✓ ✓ ✓ Automated Failover ✓ ✓ ✓ ✓ Read/Write split ✓ Database Vendor Neutral Automated Cache ✓ invalidation Reduces network latency ✓ 4

  5. IMDG vs. Database Proxies Amazon ElastiCache ProxySQL • May be “good enough” • Best scale & performance • Existing applications, small dev • Greenfield applications • No code changes • Requires code changes 5

  6. Transparent Database Proxy Click to add text

  7. Software Package Options Application Server Application Server Application Application Vendor Database Heimdall Data Driver JDBC driver, .jar JDBC file Vendor JDBC Driver Runs as an Heimdall Data Proxy agent Any JDBC data source 7

  8. Database Proxy Platform APPLICATION QUERY AUTOMATED BATCH CACHING FAILOVER PROCESSING ACTIVE READ/WRITE CONNECTION DIRECTORY SPLITS POOLING HEIMDALL DATABASE PROXY PLATFORM Aurora, RDS, Redshift 8

  9. Heimdall Centralized Deployment Database Proxy Tier Application SQL Application Server Heimdall Heimdall DB Proxy Heimdall DB Proxy DB Proxy Application Heimdall Application Server Central Console 9

  10. Heimdall Distributed Deployment Application Servers Heimdall Application Amazon Aurora Heimdall Data Heimdall Application Server Application RDS, Redshift Data Database Application Server Application Proxy Application Server SQL Analytics Audit Logging Heimdall Application Server Central Console ElastiCache 10

  11. Use Cases

  12. How Caching Works Uses real-time analysis and statistics on: • Query frequency and variability • Relative performance of Cache vs. Database Provides: • Auto-cache only if there is a performance benefit • Cache recommendations and benefits 12

  13. Caching and Read/Write Splits SQL SQL Heimdall Application DB Proxy Write Local Cache App VM 1 L2 Cache Read 1 App VM 2 Local Cache Read 2 SQL SQL Heimdall Application DB Proxy 13

  14. SQL Analytics Very cacheable. 700 µ s per query 14

  15. Demo Click to add text

  16. IMDG vs. Database Proxies Amazon ElastiCache ProxySQL • Good enough • Best scale & performance • Existing applications, small dev • Greenfield applications • No code changes • Requires code changes 16

  17. 17

Recommend


More recommend