powerauth-server
powerauth-server copied to clipboard
Consider caching application data in memory
Application data, such as master server keypair, are very static and generally do not change over time. Yet, we always fetch the data from the database. Maybe it is worth caching this information in memory. The memory footprint of these values is typically minimal, even for organizations with many applications.
Note that from the security standpoint, there is not much disadvantage - if someone has access to the running application process, they will get the values one way or another.