DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Newsletter
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • Spring Microservice Tip: Abstracting the Database Hostname With Environment Variable
  • Scaling Java Microservices to Extreme Performance Using NCache
  • How To Connect a Heroku Java App to a Cloud-Native Database
  • Build a Java Microservice With AuraDB Free

Trending

  • Google Cloud KMS vs. AWS KMS: Java Encryption Guide
  • SSRF Prevention in C#: Securing File Imports From User-Supplied URLs
  • How to Migrate From LangChainGo to Genkit Go
  • Why Role-Based Access Control Fails for AI Agents — and How to Fix It With Memory Lineage Engines

Draft This article hasn't been published, so readers can't see it.

In moderation This article is waiting for review, so readers can't see it yet.

Deleted This article has been deleted, so readers can't see it.

  1. DZone
  2. Data Engineering
  3. Databases
  4. Ultra-fast Java In-Memory Database Apps & Microservices with MicroStream

Ultra-fast Java In-Memory Database Apps & Microservices with MicroStream

MicroStream is a fundamentally new persistence framework for storing complex Java object graphs natively, which means the object graph is stored on disk as it is in RAM.

By 
Otavio Santana
DZone Core CORE ·
Oct. 26, 21 · Presentation
Post on X (opens in a new tab) Share on LinkedIn (opens in a new tab)
16.2K Views

Join the DZone community Save articles, join the discussion, and download Refcards and Trend Reports with a free account.

Join for free Already a member? Log in


MicroStream is a fundamentally new persistence framework for storing complex Java object graphs natively, which means the object graph is stored on disk as it is in RAM. Vice versa it allows you to load any single subgraph on-demand that is then merged with your object graph in ram automatically. This leads to fantastic benefits: You can use object graphs as an in-memory database. An object graph is a powerful multi-model data structure. You can use any Java type, collections, and formats like JSON. Matching this, Java provides the perfect query language. With Java Streams, searching even huge object graphs will take only microseconds - up to 1000x faster than comparable SQL queries and even much faster than reading data directly from a local cache. DB-specific data structures or formats become meaningless for Java. No more expensive mappings. No more data-type conversion. No more DB-specific query language. Only one data model: Java classes (POJOs). No additional caching framework is required. No more inconvenient object copies. Simple architecture and type-safe query code. Core-Java only instead of DB-specific concepts. As an end result, you will get out an ultra-fast Java in-memory database app or microservice. MicroStream is in productive use for more than 5 years and becomes now open source and part of the popular microservice frameworks Helidon and Open Liberty.

In-memory database Java (programming language) Database app microservice

Opinions expressed by DZone contributors are their own.

Related

  • Spring Microservice Tip: Abstracting the Database Hostname With Environment Variable
  • Scaling Java Microservices to Extreme Performance Using NCache
  • How To Connect a Heroku Java App to a Cloud-Native Database
  • Build a Java Microservice With AuraDB Free

Partner Resources

×

Comments

Loading comments

The comments didn't load

Please try again in a moment.

Likes

Loading

The next likes didn't load. Please try again.

The likes didn't load

Please try again in a moment.

See who liked this

Log in or join DZone for free to see who liked this article.

Log in Join for free
  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook