A computer-implemented method for selecting delivery resources and/or delivery policies in content delivery networks, comprising: - identifying at least a content requested by an end user of a content delivery network, CDN, which comprises a plurality of point of presences serving content; - for each identified content, identifying one point of presence, PoP, from the plurality of point of presences, the identified PoP to be an optimal PoP in which the identified content is the most likely to be served in the absence of a popularity criteria; characterized by further comprising the following steps: - for each identified content and the optimal PoP identified for the identified content, calculating audience information in real time, wherein the audience information comprises at least a counting of the end users requesting the identified content from the optimal PoP; - recollecting the calculated audience information from all the point of presences serving the identified content to obtain global audience information, wherein the global audience information comprises an aggregation of the calculated audience information for each optimal PoP; - defining at least an audience threshold per identified content and PoP; - for each identified content, determining a degree of popularity of the identified content by comparing the calculated audience information or the obtained global audience information with the defined audience threshold; - selecting a delivery resource and/or a delivery policy to deliver the requested content by the content delivery network to the end user based at least on the degree of popularity determined for the identified content, wherein selecting the delivery resource and/or the delivery policy comprises assigning one single CDN streamer of the optimal PoP or distributing the identified content among all the CDN streamers of the optimal PoP. - identifying at least a content requested by an end user of a content delivery network, CDN, which comprises a plurality of point of presences serving content; - for each identified content, identifying one point of presence, PoP, from the plurality of point of presences, the identified PoP to be an optimal PoP in which the identified content is the most likely to be served in the absence of a popularity criteria; - for each identified content and the optimal PoP identified for the identified content, calculating audience information in real time, wherein the audience information comprises at least a counting of the end users requesting the identified content from the optimal PoP; - recollecting the calculated audience information from all the point of presences serving the identified content to obtain global audience information, wherein the global audience information comprises an aggregation of the calculated audience information for each optimal PoP; - defining at least an audience threshold per identified content and PoP; - for each identified content, determining a degree of popularity of the identified content by comparing the calculated audience information or the obtained global audience information with the defined audience threshold; - selecting a delivery resource and/or a delivery policy to deliver the requested content by the content delivery network to the end user based at least on the degree of popularity determined for the identified content, wherein selecting the delivery resource and/or the delivery policy comprises assigning one single CDN streamer of the optimal PoP or distributing the identified content among all the CDN streamers of the optimal PoP. <EOS>