We look at another common access pattern, which is to associate a key and a value into a collection. The two collections that this works with are HashMap and Vector. Combined with Lookup value by key, we can do a convenient update operation.
Parts of courses on specific topics
Like we said before, reduce is kind of a universal recursion over lists. We can implement a function to calculate the average using reduce.
Backpressure is incredibly important in a distrubuted environment. Our servers can face more load than they can handle. Web requests are cheaper to produce than to respond to. The best practice when faced with more requests than you can handle is to immediately respond that you can’t handle it so that you can continue processing the requests you’ve already accepted.
We can now define a function called bake-cookies to implement the cookies recipe we thought before.
We make a generic `bake-recipe` function that looks up the steps in the database and bakes it.
We learn about the different locations that X5 can go to in the bakery. We learn about sets and what they can hold.