Why latency, reactivity and interactivity matter
What the GAFA are doing
How to build a reactive and interactive app (Websocket, SSE and Longpolling & JSONPatch
Code review based on a voting app https://github.com/streamdataio/poll-demo
This presentation aggregates common approaches of real-time client-server communications provided by Web Standards. It focuses on comparison of different techniques like polling, comet, Web Sockets, Server-Sent Events.
Why latency, reactivity and interactivity matter
What the GAFA are doing
How to build a reactive and interactive app (Websocket, SSE and Longpolling & JSONPatch
Code review based on a voting app https://github.com/streamdataio/poll-demo
This presentation aggregates common approaches of real-time client-server communications provided by Web Standards. It focuses on comparison of different techniques like polling, comet, Web Sockets, Server-Sent Events.
In this talk I would like to show how Real Time Apps work from the an architectural point of view, in order for me to show that, I plan to do a quick walk-through over important concepts such as:
The HTTP Protocol, XMLHttpRequest, XHR Polling, Long Polling, HTML5 and Web Sockets.
After explaining those concepts I plan to show an example on how to integrate a CakePHP app with Node.js and Socket.io in order to implement real time notifications.
The code used for this demo can be found here:
https://github.com/gmansilla/CakefestSocket.io
https://github.com/gmansilla/CakefestNodejs
Ajax [Asunchronous HTTP request ] - A Deep Introduction About Ajax Technology - Lets Take a Glance About Ajax ,Where it's use | Whats the purpose of Ajax in Web Application Developement . Bacis of Ajax Technology + Coding Tips ..
Owning Web Performance with PhantomJS 2 - Fluent 2016Wesley Hales
Running a synthetic testing server or script to measure web performance is a great entry point into the world of automated web-page testing. We have an abundance of standardized APIs to measure every part of how the page renders in the browser. PhantomJS 2, released in 2015, gives us the ability to measure navigation timing APIs in an automated fashion.
Wesley Hales introduces the basics of creating a simple PhantomJS script that only extracts the performance data we need (from the W3C Navigation Timing API) and explains how this script can be Dockerized and run across many different nodes and regions of the Web. You’ll walk away with a new view on automated web-performance testing and the tools required to setup a simulated RUM network.
Webinar - Building Real-Time Collaborative Web Applications
The digital revolution has brought in a change in the way we communicate and collaborate. Research shows that number of mobile workers will reach up to 1.3 billion by 2015. The pace of information flow has been astounding. These factors have fuelled the pressing demand among customers, businesses, for real time web applications.
Real-time web applications have been around for many years. But today, the users expect collaborative, personalized and an amazingly interactive experience using real time web technologies.
Key Takeaways:
Key technology enablers for real-time collaboration
Supporting open source technologies such as Node.js, WebSocket and HTML5
Enriching user experience with real-time collaboration
Demonstration of a sample real-time collaborative web application
Performance benchmarks
In this talk I would like to show how Real Time Apps work from the an architectural point of view, in order for me to show that, I plan to do a quick walk-through over important concepts such as:
The HTTP Protocol, XMLHttpRequest, XHR Polling, Long Polling, HTML5 and Web Sockets.
After explaining those concepts I plan to show an example on how to integrate a CakePHP app with Node.js and Socket.io in order to implement real time notifications.
The code used for this demo can be found here:
https://github.com/gmansilla/CakefestSocket.io
https://github.com/gmansilla/CakefestNodejs
Ajax [Asunchronous HTTP request ] - A Deep Introduction About Ajax Technology - Lets Take a Glance About Ajax ,Where it's use | Whats the purpose of Ajax in Web Application Developement . Bacis of Ajax Technology + Coding Tips ..
Owning Web Performance with PhantomJS 2 - Fluent 2016Wesley Hales
Running a synthetic testing server or script to measure web performance is a great entry point into the world of automated web-page testing. We have an abundance of standardized APIs to measure every part of how the page renders in the browser. PhantomJS 2, released in 2015, gives us the ability to measure navigation timing APIs in an automated fashion.
Wesley Hales introduces the basics of creating a simple PhantomJS script that only extracts the performance data we need (from the W3C Navigation Timing API) and explains how this script can be Dockerized and run across many different nodes and regions of the Web. You’ll walk away with a new view on automated web-performance testing and the tools required to setup a simulated RUM network.
Webinar - Building Real-Time Collaborative Web Applications
The digital revolution has brought in a change in the way we communicate and collaborate. Research shows that number of mobile workers will reach up to 1.3 billion by 2015. The pace of information flow has been astounding. These factors have fuelled the pressing demand among customers, businesses, for real time web applications.
Real-time web applications have been around for many years. But today, the users expect collaborative, personalized and an amazingly interactive experience using real time web technologies.
Key Takeaways:
Key technology enablers for real-time collaboration
Supporting open source technologies such as Node.js, WebSocket and HTML5
Enriching user experience with real-time collaboration
Demonstration of a sample real-time collaborative web application
Performance benchmarks
Webinar slides "Building Real-Time Collaborative Web Applications"Sachin Katariya
Key Takeaways:
1> Key technology enablers for real-time collaboration
2> Supporting open source technologies such as Node.js, WebSocket and HTML5
3> Enriching user experience with real-time collaboration
4> Demonstration of a sample real-time collaborative web application
5> Performance benchmarks
JUDCon 2013- JBoss Data Grid and WebSockets: Delivering Real Time Push at ScaleC2B2 Consulting
JUDCon 2013 Presentation by Mark Addy, C2B2 Senior Consultant- JBoss Data Grid and WebSockets: Delivering Real Time Push at Scale
The real time web is coming with WebSockets in HTML 5. The big question is how to deliver event driven architectures for WebSockets at scale. This session delivered by the experienced middleware consultant provides an insight on how combining JBoss Data Grid with WebSockets can deliver enterprise scale push to web devices. The session first provides an introduction to WebSockets and delves into typical JBoss Data Grid architectures and how they deliver linear scalability and high availability. We then look at the event capabilities inherent in JBoss Data Grid that when hooked up to a WebSockets server can deliver data grid updates in real time to HTML 5 mobile devices.
Training Webinar: Enterprise application performance with server push technol...OutSystems
1st Session - WebSockets, a Server Push Technology:
- Differences between Pull and Push technologies
- What are WebSockets
- A bit of History behind WebSockets
- When to use WebSockets
- How to integrate WebSockets with OutSystems
- Considerations when using WebSockets
Free Online training: https://www.outsystems.com/learn/courses/
Follow us on Twitter http://www.twitter.com/OutSystemsDev
Like us on Facebook http://www.Facebook.com/OutSystemsDev
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
Developing Revolutionary Web Applications using Comet and Ajax PushDoris Chen
Join the asynchronous web revolution! Because Ajax-based applications are almost becoming the de facto technology for designing web-based applications, it is more and more important that such applications react on the fly, or in real time, to both client and server events. AJAX can be used to allow the browser to request information from the web server, but does not allow a server to push updates to a browser. Comet solves this problem. Comet is a technology that enables web clients and web servers to communicate asynchronously, allowing real-time operations and functions previously unheard of with traditional web applications to approach the capabilities of desktop applications. This session will start to provide an brief introduction to the asynchronous web, AJAX polling, long polling, and Streaming, explaining the Bayeux protocol, Cometd, Grizzly Comet implementation on GlassFish. Different approaches and best practices to develop comet application will also be discussed. You will learn how to develop the chat application, how to implement distance learning slideshow application, how to manage a chat application from the server and how to develop a two-player distributed game application. Attendees will take away the tactics they need in order to add multiuser collaboration, notification and other Comet features to their application, whether they develop with Dojo, jQuery, jMaki, or Prototype and whether they deploy on Jetty, Tomcat, or the GlassFish Application Server.
Top 10 HTML5 Features for Oracle Cloud DevelopersBrian Huff
Whether you are using Mobile, Social, Java, or Sites in the cloud, HTML5 is probably the easiest way to create and maintain web applications. Most of the Oracle cloud supports HTML5, so it is important to understand what powerful new features are built into this platform.
Similar to Websocket vs SSE - Paris.js - 24/06/15 (20)
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Globus
Large Language Models (LLMs) are currently the center of attention in the tech world, particularly for their potential to advance research. In this presentation, we'll explore a straightforward and effective method for quickly initiating inference runs on supercomputers using the vLLM tool with Globus Compute, specifically on the Polaris system at ALCF. We'll begin by briefly discussing the popularity and applications of LLMs in various fields. Following this, we will introduce the vLLM tool, and explain how it integrates with Globus Compute to efficiently manage LLM operations on Polaris. Attendees will learn the practical aspects of setting up and remotely triggering LLMs from local machines, focusing on ease of use and efficiency. This talk is ideal for researchers and practitioners looking to leverage the power of LLMs in their work, offering a clear guide to harnessing supercomputing resources for quick and effective LLM inference.
Enhancing Research Orchestration Capabilities at ORNL.pdfGlobus
Cross-facility research orchestration comes with ever-changing constraints regarding the availability and suitability of various compute and data resources. In short, a flexible data and processing fabric is needed to enable the dynamic redirection of data and compute tasks throughout the lifecycle of an experiment. In this talk, we illustrate how we easily leveraged Globus services to instrument the ACE research testbed at the Oak Ridge Leadership Computing Facility with flexible data and task orchestration capabilities.
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Globus
The Earth System Grid Federation (ESGF) is a global network of data servers that archives and distributes the planet’s largest collection of Earth system model output for thousands of climate and environmental scientists worldwide. Many of these petabyte-scale data archives are located in proximity to large high-performance computing (HPC) or cloud computing resources, but the primary workflow for data users consists of transferring data, and applying computations on a different system. As a part of the ESGF 2.0 US project (funded by the United States Department of Energy Office of Science), we developed pre-defined data workflows, which can be run on-demand, capable of applying many data reduction and data analysis to the large ESGF data archives, transferring only the resultant analysis (ex. visualizations, smaller data files). In this talk, we will showcase a few of these workflows, highlighting how Globus Flows can be used for petabyte-scale climate analysis.
Code reviews are vital for ensuring good code quality. They serve as one of our last lines of defense against bugs and subpar code reaching production.
Yet, they often turn into annoying tasks riddled with frustration, hostility, unclear feedback and lack of standards. How can we improve this crucial process?
In this session we will cover:
- The Art of Effective Code Reviews
- Streamlining the Review Process
- Elevating Reviews with Automated Tools
By the end of this presentation, you'll have the knowledge on how to organize and improve your code review proces
In software engineering, the right architecture is essential for robust, scalable platforms. Wix has undergone a pivotal shift from event sourcing to a CRUD-based model for its microservices. This talk will chart the course of this pivotal journey.
Event sourcing, which records state changes as immutable events, provided robust auditing and "time travel" debugging for Wix Stores' microservices. Despite its benefits, the complexity it introduced in state management slowed development. Wix responded by adopting a simpler, unified CRUD model. This talk will explore the challenges of event sourcing and the advantages of Wix's new "CRUD on steroids" approach, which streamlines API integration and domain event management while preserving data integrity and system resilience.
Participants will gain valuable insights into Wix's strategies for ensuring atomicity in database updates and event production, as well as caching, materialization, and performance optimization techniques within a distributed system.
Join us to discover how Wix has mastered the art of balancing simplicity and extensibility, and learn how the re-adoption of the modest CRUD has turbocharged their development velocity, resilience, and scalability in a high-growth environment.
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...informapgpstrackings
Keep tabs on your field staff effortlessly with Informap Technology Centre LLC. Real-time tracking, task assignment, and smart features for efficient management. Request a live demo today!
For more details, visit us : https://informapuae.com/field-staff-tracking/
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdfJay Das
With the advent of artificial intelligence or AI tools, project management processes are undergoing a transformative shift. By using tools like ChatGPT, and Bard organizations can empower their leaders and managers to plan, execute, and monitor projects more effectively.
Listen to the keynote address and hear about the latest developments from Rachana Ananthakrishnan and Ian Foster who review the updates to the Globus Platform and Service, and the relevance of Globus to the scientific community as an automation platform to accelerate scientific discovery.
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Globus
The U.S. Geological Survey (USGS) has made substantial investments in meeting evolving scientific, technical, and policy driven demands on storing, managing, and delivering data. As these demands continue to grow in complexity and scale, the USGS must continue to explore innovative solutions to improve its management, curation, sharing, delivering, and preservation approaches for large-scale research data. Supporting these needs, the USGS has partnered with the University of Chicago-Globus to research and develop advanced repository components and workflows leveraging its current investment in Globus. The primary outcome of this partnership includes the development of a prototype enterprise repository, driven by USGS Data Release requirements, through exploration and implementation of the entire suite of the Globus platform offerings, including Globus Flow, Globus Auth, Globus Transfer, and Globus Search. This presentation will provide insights into this research partnership, introduce the unique requirements and challenges being addressed and provide relevant project progress.
Check out the webinar slides to learn more about how XfilesPro transforms Salesforce document management by leveraging its world-class applications. For more details, please connect with sales@xfilespro.com
If you want to watch the on-demand webinar, please click here: https://www.xfilespro.com/webinars/salesforce-document-management-2-0-smarter-faster-better/
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Shahin Sheidaei
Games are powerful teaching tools, fostering hands-on engagement and fun. But they require careful consideration to succeed. Join me to explore factors in running and selecting games, ensuring they serve as effective teaching tools. Learn to maintain focus on learning objectives while playing, and how to measure the ROI of gaming in education. Discover strategies for pitching gaming to leadership. This session offers insights, tips, and examples for coaches, team leads, and enterprise leaders seeking to teach from simple to complex concepts.
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...Juraj Vysvader
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I didn't get rich from it but it did have 63K downloads (powered possible tens of thousands of websites).
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns
Unlocking Business Potential: Tailored Technology Solutions by Prosigns
Discover how Prosigns, a leading technology solutions provider, partners with businesses to drive innovation and success. Our presentation showcases our comprehensive range of services, including custom software development, web and mobile app development, AI & ML solutions, blockchain integration, DevOps services, and Microsoft Dynamics 365 support.
Custom Software Development: Prosigns specializes in creating bespoke software solutions that cater to your unique business needs. Our team of experts works closely with you to understand your requirements and deliver tailor-made software that enhances efficiency and drives growth.
Web and Mobile App Development: From responsive websites to intuitive mobile applications, Prosigns develops cutting-edge solutions that engage users and deliver seamless experiences across devices.
AI & ML Solutions: Harnessing the power of Artificial Intelligence and Machine Learning, Prosigns provides smart solutions that automate processes, provide valuable insights, and drive informed decision-making.
Blockchain Integration: Prosigns offers comprehensive blockchain solutions, including development, integration, and consulting services, enabling businesses to leverage blockchain technology for enhanced security, transparency, and efficiency.
DevOps Services: Prosigns' DevOps services streamline development and operations processes, ensuring faster and more reliable software delivery through automation and continuous integration.
Microsoft Dynamics 365 Support: Prosigns provides comprehensive support and maintenance services for Microsoft Dynamics 365, ensuring your system is always up-to-date, secure, and running smoothly.
Learn how our collaborative approach and dedication to excellence help businesses achieve their goals and stay ahead in today's digital landscape. From concept to deployment, Prosigns is your trusted partner for transforming ideas into reality and unlocking the full potential of your business.
Join us on a journey of innovation and growth. Let's partner for success with Prosigns.
Navigating the Metaverse: A Journey into Virtual Evolution"Donna Lenk
Join us for an exploration of the Metaverse's evolution, where innovation meets imagination. Discover new dimensions of virtual events, engage with thought-provoking discussions, and witness the transformative power of digital realms."
Globus Connect Server Deep Dive - GlobusWorld 2024Globus
We explore the Globus Connect Server (GCS) architecture and experiment with advanced configuration options and use cases. This content is targeted at system administrators who are familiar with GCS and currently operate—or are planning to operate—broader deployments at their institution.
Into the Box Keynote Day 2: Unveiling amazing updates and announcements for modern CFML developers! Get ready for exciting releases and updates on Ortus tools and products. Stay tuned for cutting-edge innovations designed to boost your productivity.
7. Implementation
Websocket SSE
• Request 101 => to
Upgrade to websocket
• OPEN / MESSAGE /
CLOSE
• Error handling to be
build
• HTTP !
• No upgrade / Error
handling specified
(reconnection / event
ID)
8. Web infra compatibility
(Load balancer, server and/or proxy)
Websocket SSE
Reconfigurations required
!
(Fall-back mechanism is a
must!)
No changed
required
9. Websocket vs REST
“POST” to one client
Source : Arun Guptar
• 10 messages of 1 byte : 7ms vs 220 ms
• 100 messages of 10 bytes : 57 vs 986 ms
• 1000 messages of 100 bytes : 200 vs 10210 ms
• 5000 messages of 1000 bytes : 1,2 sec vers 54 sec.
10. Web latency
500 tweets :
• Safari: 7 seconds using SSE and 16 seconds
using WebSockets
• Chrome: 5 seconds using SSE and 8 seconds
using WebSockets
• Firefox: 6 seconds using SSE and 8 seconds
using WebSockets
Source : http://matthiasnehlsen.com/
11. Solutions for dynamic data
Streams Browser
support
Web infra
compatibility
Easiness to
dev
Load
(network /
Device)
App latency
Polling/Lon
g Polling
Bi-dir
Websocket Bi-dir
SSE Uni-dir
Socket.io
https://www.playframework.com/
12. Why ? To improve UX
• Overall latency : 100ms = 5% page view + 1% revenue
• Make your app/site “alive & real” with real-time data
• Stock of service/material, prices, news, social networks, …
• Historically real-time based
• Chat
• Stock market, bet odds, traffic, …
• TV second screen
• When time influences decisions
• Limited resources (sharing economy)
• …
17. But …
• Unable to add header to URI with JS SSE
librairies
• Unable to detect disconnection
18. But …
• Unable to add header to URI with JS SSE
librairies
Use query parameters for token, Oauth
• Unable to detect disconnection
Heart beat with 0 data