Given a thread-safety scenario, how would you structure your data access in a Juspay multi-threaded backend?