How to get Realtime capabilities

Hi folks,

I have a project in mind for my Banana Pi Router, which needs Real time capabilities and the steering of network traffic. Can you please give me an advice which image/os to use to get something like a realtime linux. Please if possible can you reference me to a tutorial or something alike, how to enable real time?

Best regards