Text this: Optimized provisioning of edge computing resources with heterogeneous workload in IoT networks