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?
Do c5d.large
instances not have CPU credits for some reason? If not, why not?
t3.micro
instances 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 classm
instance). It is unlikely that "CPU steal" is the cause of your performance problem, it is much more likely that the bigger (and costlier)c5d.large
can just run your code faster.