Resource Allocation Based on Task Priority and Resource Consumption in Edge Computing | Synapse