Master Persistent Memory Programming

Our complete guide for developers delivers comprehensive information with detailed code examples.

Download the eBook to learn how you can build the next generation application.

Master Persistent Memory Programming

Get the FREE eBook now!

Required Fields(*)

By submitting this form, you are confirming you are an adult 18 years or older and you agree to share your personal information with Intel to use for this business request. You also agree to subscribe to stay connected to the latest Intel technologies and industry trends by email and telephone. You may unsubscribe at any time. Intel’s web sites and communications are subject to our Privacy Notice and Terms of Use.

Thank you!

Here are the links to download the eBook and buy a physical printed copy.

A Few Things To Know!

The first book of its kind

This is the first book to fully explain the revolutionary persistent memory technology.

Learn by example

The book uses fully working code examples to demonstrate concepts that will accelerate your learning path.

Unlock you application’s true potential

Persistent memory technology enables new features and capabilities not previously possible. Learn how to utilize the new memory-storage tier to accelerate application performance, access large memory capacities, deliver crash consistency, fast restarts, and much, much more.

Rapid Development

Learn how to use the Persistent Memory Development Kit (PMDK), a set of libraries and tools designed to standardize and streamline your work.

About Programming Persistent Memory: A Comprehensive Guide for Developers

This is a comprehensive guide to persistent memory programming, is targeted towards experienced programmers. You will understand how persistent memory brings together several new software/hardware requirements, and offers great promise for better performance and faster application startup times—a huge leap forward in byte-addressable capacity compared with current DRAM offerings.

This revolutionary new technology gives applications significant performance and capacity improvements over existing technologies. It requires a new way of thinking and development, which makes this highly disruptive to the IT/computing industry. The full spectrum of industry sectors that will benefit from this technology include, but are not limited to, in-memory and traditional databases, AI, analytics, HPC, virtualization, and big data.

Programming Persistent Memory describes the technology and why it is exciting in the industry. It covers the operating system and hardware requirements as well as how to create development environments using emulated or real persistent memory hardware. The book explains fundamental concepts, provides an introduction to persistent memory programming APIs for C, C++, Javascript, and other languages, discusses RMDA with persistent memory, reviews security features, and presents many examples. Source code and examples that you can run on your own systems are included.

Table of Contents

Chapter 1. Introduction to Persistent Memory - Introduces persistent memory and dips our toes in the water with a simple persistent key-value store example using libpmemkv.

Chapter 2. Persistent Memory Architecture - Describes the persistent memory architecture and focuses on the hardware requirements developers should know.

Chapter 3. Operating System Support for Persistent Memory - Provides information relating to operating system changes and features and how persistent memory is seen by the OS.

Chapter 4. Fundamental Concepts of Persistent Memory Programming - Builds on the first three chapters and describes the fundamental concepts of persistent memory programming.

Chapter 5. Introducing the Persistent Memory Development Kit (PMDK) - Introduces the Persistent Memory Development Kit (PMDK), a suite of libraries to assist software developers.

Chapter 6. libpmem: Low-Level Persistent Memory Support - Describes and shows how to use libpmem from the PMDK, a low-level library providing persistent memory support.

Chapter 7. libpmemobj: A Native Transactional Object Store - Provides information and examples using libpmemobj, a C native object store library from the PMDK.

Chapter 8. libpmemobj++: The Adaptable Language - C++ and Persistent memory - Shows the C++ libpmemobj++ store from the PMDK, similar to libpmemobj.

Chapter 9. pmemkv: A Persistent In-Memory Key-Value Store - Expands upon the introduction to libpmemkv from Chapter 1 with a more in-depth discussion using examples.

Chapter 10. Volatile Use of Persistent Memory - Is for those who want to take advantage of persistent memory, but do not require data to be stored persistently. libmemkind is a user-extensible heap manager built on top of jemalloc which enables control of memory characteristics and partitioning of the heap between kinds of memory, including persistent memory. libvmemcache is an embeddable and lightweight in-memory caching solution. It's designed to fully take advantage of large-capacity memory, such as Persistent Memory with DAX, through memory mapping in an efficient and scalable way.

Chapter 11. Designing Data Structures for Persistent Memory - Provides a wealth of information for designing data structures for persistent memory.

Chapter 12. Debugging Persistent Memory Applications - Introduces tools and walks through several examples of how software developers can debug persistent memory enabled applications.

Chapter 13. Enabling Persistence in a Real World Application - Discusses how a real world application was modified to enable persistent memory features.

Chapter 14. Concurrency and Persistent Memory - Describes how concurrency in applications should be implemented for use with persistent memory.

Chapter 15. Profiling and Performance - Teaches performance concepts and demonstrates how to use the Intel® VTune suite of tools to profile systems and applications before and after code changes are made.

Chapter 16. PMDK Internals: Algorithms and Data Structures Underpinning PMDK - Takes us on a deep dive through some of the PMDK internals.

Chapter 17. Reliability, Availability, and Serviceability (RAS) - Describes the implementation of Reliability, Availability, and Serviceability (RAS) with the hardware and operating system layers.

Chapter 18. Remote Persistent Memory - Discusses how applications can scale-out across multiple systems using local and remote persistent memory.

Chapter 19. Advanced Topics - Describes things such as NUMA considerations, using volume managers, and more on CPU machine instructions.

Frequently Asked Questions

1. Why do I need to register to access the eBook?

The persistent memory ecosphere is a rapidly evolving sector. We would like to keep you updated with all the latest persistent memory news, information, announcements, training, events, and more. We promise never to sell your information or spam you with irrelevant information. You can unsubscribe at any time.

2. I found an error in the source code or book content, what do I do?

Thank you! We did our best to ensure the book was a high-quality product, but mistakes happen. Please create a new issue in our GitHub project and we'll resolve the problem.

3. I have a question or need help

We are here to help. Please join our Persistent Memory Google Forum and ask your question.

You can find a lot of great information in these resources:
- Intel Persistent Memory Developer Zone - https://software.intel.com/pmem
- Persistent Memory Programming Home - https://pmem.io
- Persistent Memory Documentation - https://docs.pmem.io

4. Can I use the book and code examples for personal, commercial, or academic use?

Absolutely. Programming Persistent Memory: A Comprehensive Guide for Developers is published through Apress Open using a Creative Commons Attribution license. You may use the book content and source code examples for any purpose. All we ask is that you attribute the book and its author.

5. I encountered an error when submitting the form

Sorry about that. Occasionally there may be an issue on the back end. Please wait a few mins and try again. If that doesn't work, try disabling any Ad Blocker or Virus Protection that scans websites. We have found several of these plugins block the javascript that runs on this page, resulting in form submission errors. If none of this works, contact us on the #pmem Slack Channel or the PMem Forum.