Networks and Multitasking
In Chapter 9, we discussed interfacing with databases and RESTful access. While this can apply to data stored in a local environment, it is more often associated with data held on servers that’s accessed over an internet or intranet connection.
In this chapter, we will develop the methods of working with network connections further, starting with the basic IP sockets and then services more commonly associated with the worldwide. We’ll conclude by running tasks in parallel on multiprocessors over the network, as well as using distributed data manipulation and Dagger.
This chapter will cover the following topics:
- Sockets and servers
- Working with the web
- Parallel processing
- Distributed data sources
We’ll start by considering the use of network sockets and how these are used in creating server processes.