Worker Best Practices

Hi there,

I have 2 apps connecting to Cloudflare. My worker checks the Header for a certain piece of text and redirects the request to a tunnel if it matches.

Am I better of having a worker for each app or just do the redirection and checking in the javascript of the 1 worker? Not sure if the traffic is better off divided.

1 app connects every 3 seconds and the other when a command is triggered.