how to control or limit internet speed using termux?

I have a rooted phone so can I do it? it’s possible on Linux and I understand not all Linux commands are available on termux. I am trying to deploy to firebase and get an error of network request timeout. Is there a way I can resolve this?