1. A method for optimizing performance of systems, comprising: determining, by at least one electronic circuit, if a device has been deployed as a standalone device or a cluster device; automatically delegating, by said electronic circuit, data management operations to a centralized Memory Management System (MMS) of said device if it is determined that said device has been deployed as a standalone device; and automatically delegating, by said electronic circuit, said data management operations to a distributed MMS of said device if it is determined that said device has been deployed as a cluster device.