An Efficient Edge Based Resource Scaling Method in Next-Generation Networks in Inntegration With Distributed NN | Synapse