concept disk in category apache thrift

This is an excerpt from Manning's book Programmer's Guide to Apache Thrift.
Whether your application uses multiple platforms and languages or not, it’s likely that its operations span multiple processes over networks and time. At times these processes will need to communicate, either through a file on disk, through a buffer in memory, or across networks. Two central concerns are associated with inter-process communications:
The Apache Thrift Transport Library is a collection of code elements (classes in most languages) providing a standard way to read and write bytes from endpoints. An endpoint can be a chunk of memory, a file on disk, a network socket, or any other physical or logical device. Apache Thrift transports all support the same interface, making it easy to switch underlying endpoints without impacting other code.
For example, imagine a stock price feed program that writes trade records out to a memory buffer using an Apache Thrift transport. The Apache Thrift transport interface shields the price feed program from the actual device being written to. If the memory transport is swapped for a disk transport to redirect the data to a file on disk, the price feed application won’t be impacted.
To develop a better understanding of endpoint transports and how they work, we’ll build a simple example program that writes a stock trade report to an Apache Thrift transport in each of the three demonstration languages, C++, Java, and Python. We’ll try out this program with each of the three main endpoint types: memory, disk, and network.