Fundamentals Controller

Use Case

Use AWS S3 to store data and generate presigned URLs.
Use Redis to store the presigned URLs for quick lookups. Use Boost ASIO Spwan.
Standard Library future and Promise.

Session 1

  • Demo the unit test.
  • Fundamentals Controller setup.
  • Redis Service - Client setup and redis get/set commands.
  • AWS S3 Client - Generate Presigned URL logic.
  • Use redis to cache the presigned URLs.

Dataflow Diagram

Video explanation of the code

Fundamentals-Controller

Source Code

Session 2

  • DataProvider setup and architecture discussion.
    • Boost ASIO Spawn
    • std::future - future and promise
    • Possible deadlock
  • Boost ASIO: Rest Client - Perform GET Call
  • Discuss the unit test and integration test setup

Dataflow Diagram

Video explanation of the code

Fundamentals-Controller-DataProvider

Source Code

comments powered by Disqus