POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we?...
Transcript of POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we?...
![Page 1: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/1.jpg)
![Page 2: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/2.jpg)
POSEIDONfor RESTful Streaming
![Page 3: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/3.jpg)
AGENDA
![Page 4: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/4.jpg)
AGENDARECAP UPDATES
![Page 5: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/5.jpg)
AGENDA
• Who are we?RECAP UPDATES
![Page 6: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/6.jpg)
AGENDA
• Who are we?
• Original Goals
RECAP UPDATES
![Page 7: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/7.jpg)
AGENDA
• Who are we?
• Original Goals
• Our take on the product
RECAP UPDATES
![Page 8: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/8.jpg)
AGENDA
• Who are we?
• Original Goals
• Our take on the product
• Technology Stack
RECAP UPDATES
![Page 9: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/9.jpg)
AGENDA
• Who are we?
• Original Goals
• Our take on the product
• Technology Stack
• Progress from Last Time
RECAP UPDATES
![Page 10: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/10.jpg)
AGENDA
• Who are we?
• Original Goals
• Our take on the product
• Technology Stack
• Progress from Last Time
• Finished ProductRECAP UPDATES
![Page 11: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/11.jpg)
AGENDA
• Who are we?
• Original Goals
• Our take on the product
• Technology Stack
• Progress from Last Time
• Finished Product
• Demo
RECAP UPDATES
![Page 12: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/12.jpg)
AGENDA
• Who are we?
• Original Goals
• Our take on the product
• Technology Stack
• Progress from Last Time
• Finished Product
• Demo
• Architecture
RECAP UPDATES
![Page 13: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/13.jpg)
AGENDA
• Who are we?
• Original Goals
• Our take on the product
• Technology Stack
• Progress from Last Time
• Finished Product
• Demo
• Architecture
• Reflection
RECAP UPDATES
![Page 14: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/14.jpg)
AGENDA
• Who are we?
• Original Goals
• Our take on the product
• Technology Stack
• Progress from Last Time
• Finished Product
• Demo
• Architecture
• Reflection
• Questions/Feedback
RECAP UPDATES
![Page 15: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/15.jpg)
WHO ARE WE?
• Sharat, Eden, Yahui, Artem - Students at Brandeis
• Pito Salas - Professor and mentor
![Page 16: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/16.jpg)
GOALS
![Page 17: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/17.jpg)
GOALS• Understand capabilities of Streambase system
![Page 18: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/18.jpg)
GOALS• Understand capabilities of Streambase system
• Brainstorm new or novel ways to interact with it
![Page 19: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/19.jpg)
GOALS• Understand capabilities of Streambase system
• Brainstorm new or novel ways to interact with it
• Hopefully bring useful ideas to the table
![Page 20: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/20.jpg)
GOALS• Understand capabilities of Streambase system
• Brainstorm new or novel ways to interact with it
• Hopefully bring useful ideas to the table
• Potentially influence Streambase’s development cycle
![Page 21: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/21.jpg)
STREAMBASE STUDIO• Extremely powerful tool
• User friendly for the most part
• Cross platform
• High performance
• No programming experience needed
![Page 22: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/22.jpg)
STREAMBASE STUDIO• Installation required
• Desktop only
• Streaming requires both endpoints to implement protocol (sender + receiver)*
• Compile, run workflow
• No flow through data
![Page 23: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/23.jpg)
OUR TAKE…• Web browser based
![Page 24: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/24.jpg)
OUR TAKE…• Web browser based
• RESTful API
![Page 25: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/25.jpg)
OUR TAKE…• Web browser based
• RESTful API
• Live stream view
![Page 26: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/26.jpg)
OUR TAKE…• Web browser based
• RESTful API
• Live stream view
• JSON Format
![Page 27: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/27.jpg)
OUR TAKE…• Web browser based
• RESTful API
• Live stream view
• JSON Format
• Real Time manipulation
![Page 28: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/28.jpg)
STACK• Vaadin
• Java based
• Asynchronous
• Generates Javascript, CSS from Java Code
• Google Web Toolkit based
![Page 29: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/29.jpg)
LAST TIME• UI - simple and compelling
![Page 30: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/30.jpg)
PROGRESS• UI - simple and compelling
• Connects to REST sources
![Page 31: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/31.jpg)
PROGRESS• UI - simple and compelling
• Connects to REST sources
• Maps JSON
![Page 32: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/32.jpg)
PROGRESS• UI - simple and compelling
• Connects to REST sources
• Maps JSON
• Operators Implemented
![Page 33: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/33.jpg)
PROGRESS• UI - simple and compelling
• Connects to REST sources
• Maps JSON
• Operators Implemented
• Data live view
![Page 34: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/34.jpg)
DEMO• Data sources
• MBTA
![Page 35: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/35.jpg)
DEMO• Data sources
• Answer a question
![Page 36: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/36.jpg)
DEMO• Data sources
• Answer a question
• “If I live in Harvard but work at State St, how can I minimize waiting time?”
![Page 37: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/37.jpg)
DEMO• Data sources
• Answer a question
• Visually assemble a query
![Page 38: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/38.jpg)
DEMO
![Page 39: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/39.jpg)
DEMO
http://edenzik.github.io/StreambaseBrandeis
http://poseidon-streambase.herokuapp.com
![Page 40: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/40.jpg)
ARCHITECTURE• Operators
• Independent “units”
• Have a buffer (Queue)
• Each operator processes least recent element
• When done, forwards to next operator’s buffer
![Page 41: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/41.jpg)
ARCHITECTURE• Operators
• Threads
• Each operator = Thread
• Runs continuously
• Agnostic of other operators
![Page 42: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/42.jpg)
ARCHITECTURE: PROBLEMS• Real time push
• Data pours through as soon as connection is made
• Join “Synchronization”
• Bottleneck of system is at slowest node
![Page 43: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/43.jpg)
ARCHITECTURE• Operators
• Threads
• Vaadin
![Page 44: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/44.jpg)
ARCHITECTURE• Operators
• Threads
• Vaadin
• Continuous survey of operators
![Page 45: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/45.jpg)
ARCHITECTURE• Operators
• Threads
• Vaadin
• Continuous survey of operators
• Push to front end
![Page 46: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/46.jpg)
REFLECTION: VAADIN• Difficult to debug
• Steep learning curve that never ends
• Expensive Asynchronous UI Pushes
• Low plugin support compared to JS plugins
• Recompile time is frustrating
• Clunky in development and usage
![Page 47: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/47.jpg)
REFLECTION: IF REDONE
• Front-end javascript framework using plugins would have been easier and faster
• Node.js for server for low overhead and speed
![Page 48: POSEIDON - edenzik.github.ioedenzik.github.io/Poseidon/slides/final.pdf · AGENDA • Who are we? • Original Goals • Our take on the product • Technology Stack • Progress](https://reader033.fdocuments.in/reader033/viewer/2022052008/601cc583f0469a7e126bb93c/html5/thumbnails/48.jpg)
QUESTIONS?