The document discusses various techniques for implementing real-time web applications, including polling, Comet, and WebSockets. It explains that polling involves the browser periodically requesting updates from the server. Comet enables long-polling to allow the server to push responses to the browser without requiring it to send frequent requests. WebSockets provide true two-way communication by upgrading the initial HTTP connection to a WebSocket protocol.
Asynchronous Web Programming with HTML5 WebSockets and JavaJames Falkner
(Talk originally given @ KCDC - http://kcdc.info ).
Over the last decade, advances in web computing have removed many of the barriers to entry for developers. New languages, frameworks, and development methodologies have kickstarted new ideas and new ways to develop web applications to make modern life easier and more efficient. WebSockets (introduced as part of HTML5) is one such technology that enables a new class of scalable, super-responsive, collaborative, and real-time web applications with a wide range of uses.
In this talk, we will first cover the basics of asynchronous web programming using WebSockets, including predecessors such as polling and long-polling, applications of WebSockets, its limitations and potential bottlenecks, and potential future improvements.
Next, we will demo and dissect a real-world use case for realtime social data analytics, using the Apache Tomcat implementation of WebSockets and the Java-based Liferay Portal Server. This will include a discussion about development of WebSocket endpoints, its lifecycle within the application container and browser, debugging WebSockets, and scalability topics.
Comet approaches overview, benefits and drawbacks: polling, long-polling, HTML5 server-side events, HTML5 WebSocket.
Example of WebSocket and Spring 4 integration using STOMP protocol.
SockJS is a browser JavaScript library that provides a WebSocket-like object. It gives a coherent, cross-browser, Javascript API which creates a low latency, full duplex, cross-domain communication channel between the browser and the web server.
Under the hood SockJS tries to use native WebSockets first.
SockJS is intended to work for all modern browsers and in environments which don't support the WebSocket protocol. In this slide a real time chat application using SockJS (sockjs-1.1.1.min.js as SockJS-client, SockJS-node as SockJS-server) step by step development is also shown.
Asynchronous Web Programming with HTML5 WebSockets and JavaJames Falkner
(Talk originally given @ KCDC - http://kcdc.info ).
Over the last decade, advances in web computing have removed many of the barriers to entry for developers. New languages, frameworks, and development methodologies have kickstarted new ideas and new ways to develop web applications to make modern life easier and more efficient. WebSockets (introduced as part of HTML5) is one such technology that enables a new class of scalable, super-responsive, collaborative, and real-time web applications with a wide range of uses.
In this talk, we will first cover the basics of asynchronous web programming using WebSockets, including predecessors such as polling and long-polling, applications of WebSockets, its limitations and potential bottlenecks, and potential future improvements.
Next, we will demo and dissect a real-world use case for realtime social data analytics, using the Apache Tomcat implementation of WebSockets and the Java-based Liferay Portal Server. This will include a discussion about development of WebSocket endpoints, its lifecycle within the application container and browser, debugging WebSockets, and scalability topics.
Comet approaches overview, benefits and drawbacks: polling, long-polling, HTML5 server-side events, HTML5 WebSocket.
Example of WebSocket and Spring 4 integration using STOMP protocol.
SockJS is a browser JavaScript library that provides a WebSocket-like object. It gives a coherent, cross-browser, Javascript API which creates a low latency, full duplex, cross-domain communication channel between the browser and the web server.
Under the hood SockJS tries to use native WebSockets first.
SockJS is intended to work for all modern browsers and in environments which don't support the WebSocket protocol. In this slide a real time chat application using SockJS (sockjs-1.1.1.min.js as SockJS-client, SockJS-node as SockJS-server) step by step development is also shown.
WebSocket MicroService vs. REST MicroserviceRick Hightower
Comparing the speed of RPC calls over WebScoket Microservices versus REST based microservices. Using wrk, QBit, and examples in Java we show how much faster WebSocket is for doing RPC service calls.
How do you improve the Config Model? Where to use Windows Server AppFabric? How to provide a RoutingService in the Framework? How to enable dynamic apps with Discovery?
This presentation aims to show people that they already know how to deal with concurrency.
It argues that if we have the tools for large scale concurrency (mashups) and small scale (hardware) that midrange (normal apps) can be done in a similar way, using existing tools.
This is done by showing useful systems that have been produced in this manner using existing tools. ie from existing practice, not theory
During the actual presentation I also talked about Kamaelia projects created by novice programmers of varying ability which show high levels of concurrency.
These include: previewing PVR content on mobiles, multicast island joining, as-live streaming using bit torrent, Open GL based user interfaces & integration, seaside style webserving, speex based secure phone, IRC/IM systems, a shakespeare script player, and games tools.
Other systems created include Atom/RSS routing, memcached integration, P2P whiteboarding (with audio + mixing), gesture recognition, presentation tools, a kids development environment, topology visualisation tools, database modelling etc.
Server side programs can be written using different server-side technologies , such as Common Gateway Interface (CGI) , Active Server Pages (ASP) and Servlets.
CGI scripts are written in C , C++ or perl programming languages .
In case of an application server using CGI script to process client request , the server creates a separate instance of the CGI script to process the request.
As a result, the efficiency of the server is affected when there is large number of concurrent requests.
Mobile applications Development - Lecture 17
Server-Side Programming Primer:
REST
Web Sockets
Server-sent Events
This presentation has been developed in the context of the Mobile Applications Development course at the Computer Science Department of the University of L’Aquila (Italy).
http://www.di.univaq.it/malavolta
Real time websites and mobile apps with SignalRRoy Cornelissen
My session about building real time websites and mobile apps using the SignalR framework. Delivered on Microsoft TechDays Netherlands 2013.
In this session I combined a back end in NServiceBus, a SignalR ASP.NET gateway, and WPF, WinRT and iOS clients (using Xamarin.iOS) to build a real time production monitor.
최근 인프라스트럭처 쪽에서는 플랫폼 엔지니어링이라는 말이 관심을 받고 있습니다. 최근 2년 동안 당근마켓에서 배포 시스템을 포함한 사내 개발자 플랫폼을 만들면서 플랫폼 엔지니어링에 관해 알게 되고 이를 잘 적용하기 위해 많은 고민을 했습니다. 그 결과 플랫폼 엔지니어링은 갑자기 새로 나왔다기 보다 DevOps부터 이어진 개발과 운영의 사일로 문제와 피드백 루프 문제를 해결하고 이 문제를 소프트웨어로 해결하는 SRE에서 이어진 개념이라고 생각하고 있습니다.
이 발표에서는 그동안 공부하고 고민하면서 알게된 플랫폼 엔지니어링이 무엇인지를 설명하고 왜 필요한지, 어떻게 적용해 볼 수 있는지에 관해 공유합니다.
https://inflearn.com/conf/infcon-2023/session-detail?id=782
디자인에 이어 코딩까지 AI가 프로그램 개발을 척척? : GitHub Copilot, 어디까지 알아보셨나요 JeongHun Byeon
AI가 많은 부분을 바꾸고 있는 세상에서
GitHub은 작년 AI 페어 프로그래머인
GitHub Copilot을 발표하고 올해 유료
모델로 공개했습니다. GitHub Copilot과 함께 코딩할 때 어떻게 도움을 받을 수
있는지, 얼마나 유용한지 설명합니다.
Microsoft Ignite Spotlight on Korea에서 공동발표로 GitHub Copilot에 관해 발표했던 내용의 내가 발표했던 부분
2020 공개SW페스티벌( https://www.oss.kr/festival ) 에서 발표한 자료입니다.
영상은 YouTube에 올려져 있습니다.
https://www.youtube.com/watch?v=u4z4M79CZ3M&list=PL8MaVgZDhGk_6lUMRnoGQO8Xy4d3RXTDa&index=25
in Toolcon 2014 - http://toolcon.frends.kr/
발표자료내에 애니메이션은 보이지 않습니다. 동작에 대한 애니메이션은 http://labs.sideeffect.kr/2014/toolcon/toolcon-2014.zip 에서 원본 keynote 파일을 다운받을 수 있습니다.
90. Server Long Hidden Web Flash
Push polling iframe Socket Socket
Lightstreamer O O O O O
Socket.IO O O X O O
Atmosphere O O O O X
Streamhub O O O O O