Using Third-Party Services

This chapter describes some enhancements to the audio transcoding server. The first part describes how to use S3, a database dedicated to object management, to store encoded audio files instead of writing them directly to the filesystem. The second part introduces the Docker engine, and how to use it to install an S3 server on your own machine. The next part is dedicated to the usage of this new storage backend in the transcoding server, in place of directly writing files onto the local disk. The last part shows possible ways to deal with blocking APIs in asynchronous applications, as well as how to benefit from multiple cores for CPU-bound operations. 

The following topics will be covered in this chapter:

  • An introduction to S3 storage
  • Installing Docker and Minio
  • Using S3 as storage
  • Dealing with blocking API and CPU-bound operations
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.223.170.223