An autonomous energy-aware resource scheduling mechanism in serverless edge computing | Synapse