...
- Instead managing a list of
[]*NbIdentity,
manage a map of[string]*NbIdentity
, where key consist ofplmnId:nbId
and value is thenbIdentity
. - Instead of managing a SET in REDIS DB, manage a HASH (read more: https://redis.io/topics/data-types | https://redis.io/topics/memory-optimization)