MicroStream Fundamentals (MSF) – Outline

Detailed Course Outline

Setup and configuration
  • Functional principle of MicroStream
  • Download and setup MicroStream
  • Design of a suited object-graph model
  • Create a new object-graph (in-memory-database) and storage instance
CRUD operations
  • Add new objects to the object-graph (CREATE)
  • Store objects and subgraphs persistently into the storage
  • Load objects and subgraphs into RAM. Use eager-loading, lazy-loading and transient fields.
  • Edit objects (UPDATE)
  • Remove objects (DELETE)
Queries
  • Java Streams API
  • GraphQL
MicroStream internal and deep-dive
  • Configuration
    • Storage targets
    • Parallel I/O ops by using channels
  • Class changes - Use MicroStream’s legacy-type-mapping
  • Use MicroStream’s storage garbage collection
  • Memory management
    • Fully-automated memory management
    • Manual memory management and how to clear lazy references
Tools
  • MicroStream Workbench
  • Access the storage data by using the MicroStream REST-API
Backup
  • Manual backup
  • Continuous backup
  • Use database-specific backup-strategies
Best Practice
  • Suited storage structure
  • Migration strategies
  • Object-graph operations and concurrency
Hands-on exercises