I want to connect 6 rotary encoders to a microcontroller to calculate the motors speed.The problem is if 2 interrupts were triggered exactly at the same time,one of them will be serviced after some delay ,which will make the timer value inaccurate and hence the velocity won't be accurate.I also want to know how to numerically calculate my processing need for this case ,because the choice of the micrcontroller will differ based on this. Thanks