Whats New In GigaSpaces Xap 7.0

  • 865 views
Uploaded on

This technical update shows the new and noteworthy in GigaSpaces XAP 7.0. …

This technical update shows the new and noteworthy in GigaSpaces XAP 7.0.
It explains how the combination of a state-of-the-art in-memory data grid, a Jetty web container, and a grid-based business logic execution framework, forms a single, easy-to -use platform on which you can build and run extremely scalable applications, ranging from transactional systems through large-scale web applications to SaaS-delivered services.
Key release highlights covered in this webinar include dramatic performance and scalability improvements, new monitoring and administration tools, and new data grid APIs.

More in: Technology , Business
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
865
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
25
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. What’s New in XAP 7.0
    July 28, 2009
    Shay Banon, System Architect
    Uri Cohen, Product Manager
  • 2. Agenda
  • 3. XAP 7.0: End-to-End Solution on a Single Platform
    GigaSpaces eXtreme Application Platform (XAP) 7.0
    An enterprise-grade application server for deploying and scaling Java and .NET applications under the most demanding and changing requirements.
    Session high availability
    Dynamic scaling
    Application container
    In Memory Data Grid
    Async. Persistency
  • 4. The Secret Sauce = Space Based Architecture (SBA)
    • A software architecture pattern for achieving linear scalability of stateful, high-performance applications
    Inspired by
    JavaSpaces & Yale’s Tuple-Space Model
    Lessons learned from Next-Gen Internet services
    Partitions the application and packages all middleware functions into one lightweight scalable unit
    The data grid is the foundation
    Linear Scalability
  • 5. Typical Architecture – XAP 7.0
    Dynamic LB Configuration
    Managed Jetty Web Containers, Http Session on top of the Space
    Interact with BL and Data via Space API, events, remoting or task executors
    Business Logic and Data on top of the Data Grid
    Partitioning and collocation for best performance and scalability
    Async. Persistency
    Proactive Administration
  • 6. Agenda
  • 7. Recent Releases 2007/2008
    6.0/2007 – Streamline Space Based Architecture
    Single model for design, development, testing and deployment
    Simplicity – OpenSpaces framework
    .NET API
    6.5/2008 – Robustness
    Native C++ API
    Platform Interoperability (Java/.NET/C++)
    Performance, scalability and stability improvements
    SVF – Service Virtualization Framework (remoting)
    6.6/2008 – Platform Completeness
    Web Application Support
    Task Executors
    Fuller .Net SBA (.Net PUs, Event containers)
    Additional optimizations and improvements
  • 8. Agenda
  • 9. R7.0 Themes
    Even Better Data Grid Performance and Scalability
    Performance improvements and better memory utilization
    Dramatically faster read access for local caches and embedded clients
    Mulitcore scalability
    Improved Monitoring & Administration Capabilities
    Major overhaul of the management GUI
    All new GigaSpaces agent component
    Comprehensive Groovy/Java administration & monitoring API
    Deployment zones
    Improved logging and troubleshooting capabilities
    Simplicity & Usability
    Simpler APIs - readById
    Simpler and standard packaging
    Simpler to configure in your IDE
    Map/Reduce Grid Task Execution API – now also in .Net
  • 10. 7.0 Performance & Footprint Improvements
    Restructuring of internal data structures (for better multi-core concurrency and lock-free read)
    Refactored eviction mechanism
    New local cache storage model
    Results:
    Significantly better concurrency in highly multithreaded environments (more details in next slides)
    And, significantly reduced memory footprint for indexed fields:
    XAP 6.6: 150-200 bytes per index field
    XAP 7.0: 20-30 bytes per index field
  • 11. 7.0 Performance Improvements
  • 12. 7.0 Performance Improvements
  • 13. 7.0 Performance Improvements
  • 14. Management GUI Overhaul
    Accurately reflects the XAP runtime model
    Includes:
    • Comprehensive monitoring of all layers: hosts, JVMs, processing units, web apps, spaces
    • 15. Detailed information about the processing unit
    • 16. Operate on all cluster layers:start and stop JVMs, deploy/undeploy PUs,relocate running instances, scale up/down
  • The GigaSpaces Agent
    New runtime component
    Think of it as the GigaSpaces daemon / service
    Agent can start, stop and restart other runtime components:
    GSM, GSC, LUS, Custom
    Just start the agent, the rest will be done for you
    Define global/local number of GSMs, GSCs and LUSs
    e.g. 4 global GSMs, 2 local (per machine) GSCs, 2 global LUSs
    Full control from the UI / Admin API
  • 17. Administration & Monitoring API
    Comprehensive monitoring of all layers
    Event based programming model
    Cluster wide statistics
    Groovy bindings
    Operate on all cluster layers – start and stop JVMs, deploy/undeploy processing units, relocate running instances, scale up/down
  • 18. Administration & Monitoring API – Samples
    Start GSM and GSCs, deploy, wait for the space to start:
  • 19. Administration & Monitoring API – Samples
    Monitor stats with Groovy closures:
  • 20. Auto Scaling Your App Using the Admin API
    • Calculating average request rate (Groovy):
    • 21. Scaling up (Groovy):
  • Task Execution API
    • Grid Processing API
    • 22. New in 7.0 - .Net Support
    • 23. Data-aware task processing
    • 24. Automatic space-side resource injection
    • 25. Code mobility (Java only)
    • 26. Synchronous or asynchronous execution
    • 27. Cluster wide execution (Map/Reduce)
    • 28. Dynamic Language Support
    • 29. Java:
    • 30. .Net:
  • Case Study – Social Network Search Optimization
    Fetch N degrees of relationship
  • 31. Case Study – Social Network Search Optimization
    MySql Solution:
    Pre-warming social network data in memory
    Single instance
    ~200 milliseconds to fetch 2 level (direct friends and friends of friends)
  • 32. Case Study – Social Network Search Optimization
    • GigaSpaces Solution:
    • 33. Store network in space, partitioned by userId
    • 34. Use Executors to fetch network
    • 35. > 1st degree uses distributed broadcast task (async)
    • 36. 2nd degree in under 5 milliseconds, 3rd degree in under 10 milliseconds
  • Deployment Zones
    • Tag GSCs with Zones
    • 37. Can represent: DRP sites, racks, etc.
    • 38. Restrict deployment to specific zones
    • 39. Enforce different zones for primary and backup of same partition
  • Improved Logging
    Based on customer feedback, extensible
    Time based log file rollover policy
    Daily, weekly, monthly
    Log file naming:
    2009-07-26~13.44-gigaspaces-gsc_1-uri01-5492.log
    Improved log message format:
    2009-07-26 14:02:57,375 processorPU.1 [1] INFO [org...PUServiceBeanImpl] - Stopped
    Date & time
    Component
    Hostname
    PID
    Date & time
    PU Instance
    Level
    Component
    Message
  • 40. Simpler Packaging
    No more shared-lib
    Standard .war structure
    Better class loader isolation
    Simpler to get started with:
    Reduced required jars
    All under same dir
  • 41. Agenda
  • 42. Future Direction
    Security (7.0.1)
    Multi-data center support over WAN
    Out-of-the-box SLA
    Further improve manageability
    Enhanced Querying Capabilities
    Extend JEE support
    EJB 3
    JPA
  • 43. Agenda
  • 44. Summary – XAP 7.0 Value Proposition
  • 45. Try it Now on the Cloud
    Available on gigaspaces.com/demo