Dynamically Adjusting the Stale Synchronous Parallel Model for Edge Computing