I've been paranoid that the websocket feed I was listening to on a
t3.micro instance was being inhibited by cpu steal time from other instances under the same hypervisor.
So I switched over to a
c5d.large instance and definitely noticed less latency. But now I am curious... where did my CPU credit graph disappear to in the EC2 monitoring section?
c5d.large instances not have CPU credits for some reason? If not, why not?
t3.microinstances run in unlimited mode by default, meaning that no throttling is taking place: if you exceed the CPU credits allocated to your instance, you simply wind up paying for more credits automatically (if this happens all the time, it will be actually more expensive than running a higher class
minstance). It is unlikely that "CPU steal" is the cause of your performance problem, it is much more likely that the bigger (and costlier)
c5d.largecan just run your code faster.