https://redis.io/docs/latest/commands/zadd/

when passing multiple score members pairs will these be added as 1 transaction (atomic, "multi") or like a pipeline? ZADD myzset 2 "two" 3 "three"

Is passing multiple scores/members to ZADD faster than using a multi or is it internally turned into a multi anyway?

Comment From: sundb

when passing multiple score members pairs will these be added as 1 transaction (atomic, "multi") or like a pipeline? ZADD myzset 2 "two" 3 "three"

yes, a single comand should be atomic.

Is passing multiple scores/members to ZADD faster than using a multi or is it internally turned into a multi anyway?

in theory, multiple scores/members to ZADD is faster, which can save the overhead of function calling.