Thread

You might say

Two requests update the same cache. Confirm whether they are threads in one process and make the shared-state order explicit.

A thread is an execution path inside a process, and threads in one process usually share memory and resources.A service process can use several threads for concurrent requests. Threads A and B can both access the same cache; sharing helps communication but can cause overwrites and races. A thread is not an independent process with fully isolated memory, and actual parallelism depends on the runtime and workload.
Know first
Thread
Further reading