Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

High Performance Data Storage in a Microservices Environment

776 views

Published on

By Thomas Qvarnstrom
High Performance Data Storage in a Microservices Environment

This session explains how JBoss Data Grid (Infinispan) can be used as a high performance data storage and how to use Apache Spark analytics to avoid data silos.

When building microservices it’s a common practice to use a separate data store per service so that it can scale together with the service. Even if this scales better and enables individual release schedules per services it also leads to more data silos.

Published in: Technology
  • Be the first to comment

High Performance Data Storage in a Microservices Environment

  1. 1. HIGH PERFORMANCE DATA STORAGE IN A MICROSERVICES ENVIRONMENT
  2. 2. MICROSERVICES & DATA STORAGE 2
  3. 3. 3
  4. 4. 4
  5. 5. 5 BUSINESS DOMAIN SERVICES
  6. 6. JBOSS DATAGRID 6
  7. 7. JBOSS DATA GRID IN-MEMORY DATA STORE ACCELERATE BIG DATA ANALYTICS 7 In-memory data platform BRMS Spark EAPHadoop Spring Boot etc. Cassandra / Red Hat Storage Data Overflow Mgmt. to Persistence Store (Hydration & Dehydration) RDD/DStream Map-Reduce Java Stream In- memory Analytics and Compute Grid Application Frameworks & APIs
  8. 8. UNLOCK YOUR DATA 8
  9. 9. GET VALUE OUT OF YOUR DATA 9 APACHE SPARK MICROSERVICES BUSINESS REPORTING
  10. 10. DEMONSTRATION 10
  11. 11. 11INSERT DESIGNATOR, IF NEEDED
  12. 12. String query = "SELECT displayName, reputation FROM users ORDER BY reputation DESC LIMIT 10"; List<Row> rows = sqlContext.sql(query).collectAsList(); InfinispanJavaRDD.write(rows,properties);
  13. 13. String query = "SELECT u.location as `Location`,count(p.id) as `Posts` " + "FROM users u " + "INNER JOIN posts p ON u.id=p.ownerUserId " + "WHERE p.postTypeId=1 " + "GROUP BY u.location ” + "ORDER BY `Posts` DESC LIMIT 10"; List<Row> rows = sqlContext.sql(query).collectAsList();
  14. 14. highestReputation keyword KeywordAnalytics HighestRankAnalytics DEMO DATA PostStore UserStore owner = 2, dist_sync
  15. 15. AT A SCALE
  16. 16. plus.google.com/+RedHat linkedin.com/company/red-hat youtube.com/user/RedHatVideos facebook.com/redhatinc twitter.com/RedHatNews THANK YOU

×