MIT strikes again! The problem with slow pages has been known since the beginning of the Internet. Too many companies, researchers and developers have tackled its solution but no one has ever been able to announce a 34% success rate in reducing the overall load time of σελίδαs. Until today.
A team of researchers from MIT's Computer Science and Artificial Intelligence Lab (CSAIL) has achieved impressive results.
The MIT team, including also a Harvard professor, has created the Polaris algorithm, which focuses on determining the right time to launch network requests to Web resources or Web resources.
The websites work in a very simple way. To have access κάποιος σε μια ιστοσελίδα πληκτρολογεί μια address URL στο πρόγραμμα περιήγησής του. Ένας διακομιστής DNS τον ανακατευθύνει στη διεύθυνση IP, όπου η φιλοξενείτε η ιστοσελίδα και το πρόγραμμα περιήγησης ξεκινά το κατέβασμα των αρχείων (Web resources) που βρίσκονται αποθηκευμένα στον server, ας πούμε μια σελίδα HTML.
Within this HTML page, there is the source code of the web page that loads different resources in CSS format, JS files, images, Flash content, and other information. Each resource of these means a separate request, which (applications) makes the user's browser.
Όπως έχουν δείξει λοιπόν προηγούμενες μελέτες, το πρόβλημα της αργής φόρτωσης σελίδων δεν είναι οφείλεται πάντα στο μικρό εύρος ζώνης, αλλά και στον χρόνο που απαehίται για να αποσταλούν οι όλες αιτήσεις δικτύου, το μέγεθος των αρχείων που κατεβαίνουν, και τις καθυστερήσεις του ίδιου του δίκτυου.
How does the Polaris algorithm work?
Για να αντιμετωπιστούν αυτά τα ζητήματα, το Polaris framework του MIT θα λειτουργεί με τη creation γραφημάτων εξάρτησης για κάθε σελίδα στο Web, κάτι το οποίο θα υπαγορεύει μια πιο αποτελεσματική σειρά με την οποία θα πρέπει να φορτώνονται όλοι οι πόροι μιας σελίδας.
Graphics are widely used today in software development, and are at the heart of some software development tools.
In fact, the Polaris framework works first as it records how the loads of a web page interact with each other. It then creates a dependency graph for each WEP page, and sends the requests in such a way that only the necessary content is loaded first.
MIT has tested Polaris in 200 different network conditions and found that load times decreased by an average of 34%. The best results were achieved on larger websites that contained many JS files.
The researchers will present the Polaris framework at the USENIX Symposium to be held this week at Networked Systems Design and Implementation.
