Akri
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Help
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Write
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # Akri Scenario: Distribution of Vaccines ###### tags: `Scenarios` [TOC] ## Synopsis As of writing, the distribution of vaccines is a particularly relevant top of interest. Pfizer’s Covid-19 vaccine (one of several), must be maintained at -70℃ in order to ensure its efficacy. Vaccines must be transported safely from manufacturing locations to pharmacists who will then inject people with the vaccine. ## Scenario The prototype scenario will model some subset of the production, distribution and consumption of vaccines. At each of these stages, different IoT devices, networks and other protocols will be involved (e.g. trucks communicating GPS locations, refrigerators reporting vaccine temperatures). These diverse technologies are “homogenized” by Akri into a set of more easily usable Kubernetes resources. Akri thus helps unleash the development of applications that are relevant to the safe production and transmission of vaccines. ## Rationale Akri users benefit from realistic use-cases. Vaccine-distribution is a relevant scenario that benefits from IoT mechanisms providing real-time information of delivery truck locations and vaccine state. The scenario provides multiple possible implementation choices including network and transport protocols and device APIs. There are various prospective users of such a scenario, each having different needs. ## Assumptions In reality, constituent “actors” (see below) would communicate using a myriad of network technologies (e.g. mobile networks, wifi, bluetooth). In the scenario, these networks will be simplified to HTTP over TCP to ensure that every developer is able to run those pieces of the scenario that they wish. ## Akri Due to the diversity of “actors” (see below), IoT devices and users of the scenario, without akri each application developer would need to implement an extensive stack of technologies before they were able to begin developing relevant applications atop the stack. With Akri, this complexity is reduced. Different devices, network and other protocols, security mechanisms and APIs are reduced to a possible single technology stack. This reduced complexity allows developers to focus on building relevant applications atop this stack and not spending time dealing with connectivity, networking and other issues. In theory this should unleash developer productivity and apps that significantly improve the process (reduce manufacturing time|cost, improve delivery efficiency etc.). ## Actors Actors are the constituent members of the scenario: pharmaceutical companies, vaccine manufacturing companies, distribution|trucking companies, the trucks, the refrigerators on the trucks etc. Each actor has some role to play and may be represented specifically within the scenario ### Pharmaceutical Company ### Trucking Company ### Truck * Manifest as an IoT device “truck”. In reality there would likely be multiple types of these devices and each would have different interaction patterns (security, APIs etc.). * In the scenario, trucks will be represented as HTTP/TCP-based Docker containers. * A truck comprises some unique identifier, a GPS location, some set of “cargo” (list of vaccines), some health metrics (e.g. fuel, state [running, broken down]). ### Refrigerator * In reality, it is unlikely that refrigerators would be represented as specific IoT devices. * In the scenario, refrigerators will be represented as HTTP/TCP-based Docker containers. * A refrigerator comprises some unique identifier, a location (e.g. manufacturing depot, truck, distribution point e.g. hospital or grocery store), its cargo (vaccines) and, importantly its health (e.g. state [running], temperature -70℃, its temperature history to ensure it hasn’t had an “excursion”. ### Units of Vaccine (distribution) * Rather than model individual doses of a vaccine, these will be modeled in the aggregate as some amount of vaccine that’s sold by the pharmaceutical company to a distribution point (e.g. hospital). * Units of vaccine comprise one or more unique identifiers, manufacturing details (dates, plant, line, machines etc. etc. This would be detailed). ### Distribution Point (e.g. Hospital, Grocery Store) In reality, it is unlikely that distribution points would be represented by anything beyond a customer record in the e.g. pharmaceutical and trucking companies’ databases. In the scenario, distribution points will be modeled as receiving vaccines. ## Customer User Journeys ### 1. Vaccine 1. Some units of vaccine are produced and stored pending shipment. 1. The units of vaccine are delivered to a shipper and then stored. 1. The units of vaccine are shipped (e.g. by truck). The pharmaceutical company, trucking company and customer (e.g. hospital) are all interested in this data for different reasons. 1. The state of the units of vaccine within the refrigeration mechanism is continually monitored. This information is useful to the shipper and the pharmaceutical company. If there’s an “excursion” beyond tolerances, the vaccine must be returned|destroy and replaced. 1. The units of vaccine are delivered and stored. 1. Individual doses of vaccine are administered to an individual. Everyone in the chain would benefit from knowing which vaccine specifically was dispensed and to whom. 1. Individual doses of vaccine are administered to an individual. Everyone in the chain would benefit from knowing which vaccine specifically was dispensed and to whom. ### 2. Truck 1. Some units of vaccine are loaded into a refrigerator and the refrigerator is then loaded|connected to a truck. 1. From a data perspective, the units of vaccine are 'associated' with the refrigerator becomes 'associated' with the truck 1. The truck moves from the trucking depot through a route comprising multiple drop-off locations. At each drop-off, units of vaccine are unloaded and ownership is transferred to the distribution point. ## Prototype(s) |Repo|Description| |----|-----------| |[WebThing Vaccine](https://github.com/DazWilkin/webthing-vaccine)|Rust WebThing Refrigerator/Truck w/ basic Golang API client|

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully