Design an in-memory key-value (KV) cache/store for a web service. The core requirements are: 1. Basic interface: put(key, value) and get(key) operations on an in-memory hash map. 2. Durability via Write-Ahead Log (WAL): before applying any mutation, write it to a WAL file so the store can recover after a…