Dissertação

{pt_PT=Website file download acceleration using WebRTC} {} EVALUATED

{pt=A Internet foi, desde o começo, sempre pensada como uma plataforma para comunicar, partilhar e colaborar. Tudo evolui à volta destes conceitos. À medida que o tamanho e quantidade do conteúdo vai aumentando, os proprietários de sites com recursos que são populares têm de ter resposta para a sua alta procura. Para isso têm de expandir as suas infra-estruturas, alugar recursos na cloud e recorrer a serviços usando CDN. Isto é custoso e, por vezes, pode ser demasiado nas alturas menos exigentes e não o suficiente quando existem alturas com mais afluência. Para responder a estes problemas, este documento apresenta uma solução colaborativa e distribuída, usando WebRTC, permitindo a criação de websites escaláveis, capazes servir de conteúdo popular sem a necessidade de investir em grandes recursos de alojamento. Isto permite ter um sistema auto escalável com melhores resultados ao nível da transferência de ficheiros com a selecção de pares que sejam melhores e estejam mais perto para partilhar os conteúdos. Com isto diminui-se os custos de infraestrutura do proprietário do website e os clientes partilham o trabalho, aliviando a carga no servidor web. Um protótipo foi criado que recruta os utilizadores de um website para partilhar conteúdo que eles já obtiveram do servidor e distribuí-lo pelos visitantes simultâneos através de ligações P2P. Usando simuladores de browser geograficamente distribuídos, casos de teste foram executados para avaliar a capacidade e potencial da solução, fornecendo indicadores positivos onde alguns clientes experienciaram reduções do tempo de download ao nível dos 80%., en=The Internet, at its birth, was always thought of as a platform for communication, sharing and collaboration. Everything has evolved around those concepts. As size and quantity of the data continues to increase, owners of website with popular content have to respond to the high demand of their users. For this they expand their infrastructure, reserve cloud computing resources and resort to CDN services. This is costly and sometimes it is too much, during low traffic times, and it is not enough when in high demand and popularity.In response to this challenge, this document presents a distributed, collaborative content distribution solution using WebRTC, allowing the creation of scalable websites,capable of hosting popular content without the need to invest in extensive hosting resources.This allows for self scalability of a system and better file transfer performance with the selection of the best and closest peers to share the content. Infrastructural costs for the owner of the website are lower as fewer resources are required, as the clients share the work, easing the load on the server.A prototype was built that recruits the users of a website and makes them share the content they already gathered from the server and distribute it through the other simultaneous visitors through P2P connections. Using geographically distributed browser simulators, test cases were executed to assess the capacity of the prototype and the potential of the solution bringing positive results were some clients experienced a reduction of almost 80% in the download times.}
{pt=Web, WebRTC, P2P, CDN, performance, recursos, en=web, WebRTC, P2P, CDN, performance, resources}

outubro 29, 2015, 16:30

Publicação

Obra sujeita a Direitos de Autor

Orientação

ORIENTADOR

Ricardo Jorge Feliciano Lopes Pereira

Departamento de Engenharia Informática (DEI)

Professor Auxiliar