:thinking_face: good question - i think for promet...
# talk-kratos
🤔 good question - i think for prometheus it's truly a singleton. for the identity manager, it doesn't really matter if its instantiated twice. the problem is a bit that locking and unlocking on every call to the registry can cause significant lock contestion on high volumes
An alternative may be some eager init.