Erőforrások optimalizálása optikai hálózatokban és peer-to-peer forgalom azonosítása IP hálózatokban