search query: @keyword server push / total: 5
reference: 5 / 5
« previous | next »
Author:Pihkala, Henri
Title:Pitkän pollauksen suorituskyky tiheästi päivittyvän tiedon työntämisessä selaimelle
Pushing high frequency data into a web browswer using long polling
Publication type:Master's thesis
Publication year:2010
Pages:[10] + 51      Language:   fin
Department/School:Informaatio- ja luonnontieteiden tiedekunta
Degree programme:Tietotekniikan tutkinto-ohjelma
Main subject:Ohjelmistotekniikka   (T-106)
Supervisor:Saikkonen, Heikki
Instructor:Rönkkö, Kalle
OEVS:
Electronic archive copy is available via Aalto Thesis Database.
Instructions

Reading digital theses in the closed network of the Aalto University Harald Herlin Learning Centre

In the closed network of Learning Centre you can read digital and digitized theses not available in the open network.

The Learning Centre contact details and opening hours: https://learningcentre.aalto.fi/en/harald-herlin-learning-centre/

You can read theses on the Learning Centre customer computers, which are available on all floors.

Logging on to the customer computers

  • Aalto University staff members log on to the customer computer using the Aalto username and password.
  • Other customers log on using a shared username and password.

Opening a thesis

  • On the desktop of the customer computers, you will find an icon titled:

    Aalto Thesis Database

  • Click on the icon to search for and open the thesis you are looking for from Aaltodoc database. You can find the thesis file by clicking the link on the OEV or OEVS field.

Reading the thesis

  • You can either print the thesis or read it on the customer computer screen.
  • You cannot save the thesis file on a flash drive or email it.
  • You cannot copy text or images from the file.
  • You cannot edit the file.

Printing the thesis

  • You can print the thesis for your personal study or research use.
  • Aalto University students and staff members may print black-and-white prints on the PrintingPoint devices when using the computer with personal Aalto username and password. Color printing is possible using the printer u90203-psc3, which is located near the customer service. Color printing is subject to a charge to Aalto University students and staff members.
  • Other customers can use the printer u90203-psc3. All printing is subject to a charge to non-University members.
Location:P1 Ark Aalto  7135   | Archive
Keywords:ajax
server push
comet
bayeux
long polling
scalability
työntö
pitkä pollaus
skaalautuvuus
Abstract (eng): Web applications are evolving from static page sequences into highly interactive AJAX-applications.
However, the development is still hindered by the web's classic cornerstone, the request/response architecture, which prevents the server side initiated push functionality required for real-time event-driven applications.

Long polling is a way to mimic real push by delaying responses to HTTP requests until an event occurs.
Handling long lived connections inflicts a performance penalty on the server, which raises the possibility of scalability issues when there are lots of users or very frequent events.
In fact, earlier research shows that long polling cannot handle more than a few hundred simultaneous users.

This thesis explores the possibility of using long polling in browser based applications with few simultaneous users but a high rate of events: from tens to hundreds of events per second.
To provide an example, an application is designed that shows real-time market data for multiple securities.
A suitable architecture is suggested, after which a prototype is built.
The prototype is used to generate events to the system and measure server cpu load and publish delay as a function of publish rate.

The results show that both cpu load and publish delay have a linear and well-behaved relationship with publish rate, and that the system can not be easily saturated by high publish rates if the number of users is low.
When the application is not intended for internet scale use, but the benefits of browser based applications are still desired, long polling is found to be a good option for implementing server push.
Abstract (fin): Web-sovellukset ovat muuttumassa staattisista sivustoista erittäin interaktiivisiksi AJAX-sovelluksiksi.
Kuitenkin edelleen webin modernistumista rajoittaa sen vanha kulmakivi, pyyntö-vastaus-arkkitehtuuri, joka ei salli palvelimen aloitteesta tapahtuvaa kommunikaatiota eli työntöä.
Pitkä pollaus on tapa matkia oikeaa työntöä siten, että palvelin vastaa http-pyyntöön viivästetysti vasta, kun uutta tietoa ilmenee.
Pitkäikäisten yhteyksien käsittelystä syntyy palvelimelle ylimääräistä kuormaa, mikä herättää kysymyksen menetelmän skaalautuvuudesta suurille käyttäjämäärille tai usein päivittyvälle tiedolle.
Aiemmassa tutkimuksessa onkin todettu, että menetelmä ei kestä suuria käyttäjämääriä.

Tässä diplomityössä tutkitaan voiko pitkää pollausta käyttää sellaisissa selainpohjaisissa sovelluksissa, joilla on vähän käyttäjiä mutta joissa päivitysten tiheys voi olla kymmenistä jopa satoihin julkaisuihin sekunnissa.
Esimerkkinä tarkastellaan useiden arvopaperien reaaliaikaisia hintatietoja näyttävää pörssisovellusta.
Sovellukselle esitetään arkkitehtuuri ja sen pohjalta implementoidaan prototyyppi, joka tuottaa keinotekoisia julkaisuja järjestelmään ja jolla mitataan palvelimen suorittimen kuormitusta sekä tiedonkulun viivettä ja luotettavuutta julkaisujen määrän aikayksikössä funktiona.

Tulokset näyttävät, että sekä suorittimen kuormitus että julkaisuviive riippuvat julkaisunopeudesta lineaarisesti ja ennustettavasti, eikä järjestelmää ole helppo kuormittaa äärimmilleen pienillä käyttäjämäärillä edes korkeilla julkaisunopeuksilla.
Pitkä pollaus todetaan sopivaksi tavaksi toteuttaa työntö silloin, kun sovelluksella ei ole paljon käyttäjiä mutta silti halutaan hyötyä selainpohjaisuuden tarjoamista eduista.
ED:2010-04-13
INSSI record number: 39448
+ add basket
« previous | next »
INSSI