Redis shared resource - two or more python scripts update the same hash but different keys, what happens?

162 Views Asked by At

I'm designing a data pipeline where I need to run several python scripts in parallel updating Redis hashes and ttl, they will update same hashes but different keys. Although each will update hash TTL also.

Would I face the shared resource issue?

I checked the documents and I could not find if hset function or expire function is atomic.

0

There are 0 best solutions below