This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Todays’ Featured Speakers: Chuck Liddell Technology Architect Pythio Dave Combs Development Engineer Kaazing Peter Moskovits Developer Evangelist Kaazing
Tuesday, March 27, 2012 9 AM PT 12 PM ET 5 PM GMT
Phone conference dial-‐in details:
1. VoIP or select Use Telephone aJer joining the webinar
2. United States: 773-‐945-‐1012 Access Code: 268-‐876-‐074 Audio PIN: Shown aJer joining the webinar
" Pythio Ltd offers a product line of GSM-based telemetry, monitoring & remote management, and fully integrated microcontroller-based solutions.
" We deliver a sophisticated and comprehensive remote management experience that abstracts the hardware and software complexities and provides you with an intuitive interface.
Legacy Architecture
Device Device Server Database User
PHP Web
Server
Real-time
Redesign Goal
Develop an end-to-end technology architecture that satisfies the following criteria:
" Provide flexible telemetry with bidirectional communications" for remote devices
" Give users comprehensive access to specific devices and" aggregated data / statistics
" Link all components in real-time environment
" Provide clear, modular path for expansion
" Scale gracefully
New Architecture
Device Universal Server
Database
User Kaazing
Web Gateway
Real-time
Results
" Real-time system allows system components to monitor and act on a huge variety of message types and sources.
" Reduction in server load: several HTTP requests per client per second became zero, as clients now simply register for server messages and wait.
" Reduced latency: legacy system “real-time” streaming had a 3-5 second delay, new design delay is only 400-500 ms end-to-end from device to server to user.
Example: Across The Years -‐ 24, 48, 72 Hours over New Years (125-‐250 par3cipants, ~200 "watchers" online) § Manual FTP text file to website every 2-‐3 hours § Programma3c FTP HTML page every hour § Programma3c connec3on to 3ming computer, upload latest data every 12 seconds
§ WebSocket upload immediately to website and browser
① Java program at race site • Connects to 3ming data source ("real world") • Connects to WebSocket Gateway as Java client • "Source of truth" for race data to the web
② WebSocket gateway • In the cloud (easily accessible to viewers) • Local database for race data storage • Supports publish/subscribe API (JMS) • Only one port needed to access/store data
③ End-‐user browser • Any browser back to IE6 • Connects to KWG as JavaScript client • Page built with JavaScript, JQuery, PHP