Priority-based task scheduling and resource allocation in edge computing for health monitoring system | Synapse