Any Escaping techniques from street dogs of chennai (dogs chasing bikes)

So , guys i was returning back to home peacefully riding my bike slowly . All of a sudden came this dog which suddenly barged into my way out of nowhere. It started to chase me sideways like a cheetah and i lifted my legs up . My bike was at the max speed of 2nd gear i couldn't gear shift as i was scared that it would bite my legs . I raised the throttle to the maximum but still the dog kept its speed pacing with bike and barked like hell . I mean wth bruh .Dude behaved like a komodo dragon. So i kept on raising the throttle keeping my legs up after a while the dog went away barking at that place.😮‍💨 seriously , life threatning experience guys for a minute i was scared to hell. It was a big dog. what if it starts to bark and chase a family riding on a bike after it scared the shit out of me!! I recently read another post about sudden surge of these dogs in chennai . Have you experienced this? And how do you manage this situation?