![Page 1: A Scalable Stack for Modular Web Applications › wp-content › uploads › 2015 › 08 › A... · A Scalable Stack for Modular Web Applications Gunnar Wagenknecht (@guw) In This](https://reader034.vdocuments.us/reader034/viewer/2022042404/5f1a820676df236c2153c9d1/html5/thumbnails/1.jpg)
A Scalable Stack for Modular Web Applications
Gunnar Wagenknecht (@guw)
![Page 2: A Scalable Stack for Modular Web Applications › wp-content › uploads › 2015 › 08 › A... · A Scalable Stack for Modular Web Applications Gunnar Wagenknecht (@guw) In This](https://reader034.vdocuments.us/reader034/viewer/2022042404/5f1a820676df236c2153c9d1/html5/thumbnails/2.jpg)
In This Session
• LEARN what modern server applications need to feature
• UNDERSTAND Eclipse Gyrex and selected technologies of this stack
• EXPLORE a web application based on Eclipse Gyrex
![Page 3: A Scalable Stack for Modular Web Applications › wp-content › uploads › 2015 › 08 › A... · A Scalable Stack for Modular Web Applications Gunnar Wagenknecht (@guw) In This](https://reader034.vdocuments.us/reader034/viewer/2022042404/5f1a820676df236c2153c9d1/html5/thumbnails/3.jpg)
Modern Server Application
![Page 4: A Scalable Stack for Modular Web Applications › wp-content › uploads › 2015 › 08 › A... · A Scalable Stack for Modular Web Applications Gunnar Wagenknecht (@guw) In This](https://reader034.vdocuments.us/reader034/viewer/2022042404/5f1a820676df236c2153c9d1/html5/thumbnails/4.jpg)
High Traffic
https://www.flickr.com/photos/davidedamico/
![Page 5: A Scalable Stack for Modular Web Applications › wp-content › uploads › 2015 › 08 › A... · A Scalable Stack for Modular Web Applications Gunnar Wagenknecht (@guw) In This](https://reader034.vdocuments.us/reader034/viewer/2022042404/5f1a820676df236c2153c9d1/html5/thumbnails/5.jpg)
Frontendsweb, apps & devices
https://www.flickr.com/photos/raffaespo/
![Page 6: A Scalable Stack for Modular Web Applications › wp-content › uploads › 2015 › 08 › A... · A Scalable Stack for Modular Web Applications Gunnar Wagenknecht (@guw) In This](https://reader034.vdocuments.us/reader034/viewer/2022042404/5f1a820676df236c2153c9d1/html5/thumbnails/6.jpg)
Modulardevelopment & deployment
https://www.flickr.com/photos/russellstreet/
![Page 7: A Scalable Stack for Modular Web Applications › wp-content › uploads › 2015 › 08 › A... · A Scalable Stack for Modular Web Applications Gunnar Wagenknecht (@guw) In This](https://reader034.vdocuments.us/reader034/viewer/2022042404/5f1a820676df236c2153c9d1/html5/thumbnails/7.jpg)
Simpledeployment & operation
https://www.flickr.com/photos/jar0d/
![Page 8: A Scalable Stack for Modular Web Applications › wp-content › uploads › 2015 › 08 › A... · A Scalable Stack for Modular Web Applications Gunnar Wagenknecht (@guw) In This](https://reader034.vdocuments.us/reader034/viewer/2022042404/5f1a820676df236c2153c9d1/html5/thumbnails/8.jpg)
Opentechnologies & architectures
https://www.flickr.com/photos/roborodent/
![Page 9: A Scalable Stack for Modular Web Applications › wp-content › uploads › 2015 › 08 › A... · A Scalable Stack for Modular Web Applications Gunnar Wagenknecht (@guw) In This](https://reader034.vdocuments.us/reader034/viewer/2022042404/5f1a820676df236c2153c9d1/html5/thumbnails/9.jpg)
Eclipse Gyrex
![Page 10: A Scalable Stack for Modular Web Applications › wp-content › uploads › 2015 › 08 › A... · A Scalable Stack for Modular Web Applications Gunnar Wagenknecht (@guw) In This](https://reader034.vdocuments.us/reader034/viewer/2022042404/5f1a820676df236c2153c9d1/html5/thumbnails/10.jpg)
A lightweight application stack for building server applications using EclipseRT technologies.
![Page 11: A Scalable Stack for Modular Web Applications › wp-content › uploads › 2015 › 08 › A... · A Scalable Stack for Modular Web Applications Gunnar Wagenknecht (@guw) In This](https://reader034.vdocuments.us/reader034/viewer/2022042404/5f1a820676df236c2153c9d1/html5/thumbnails/11.jpg)
EclipseRT
„EclipseRT is the collection of OSGi-based runtimes and frameworks built by the Eclipse open source
projects. “
RunTime
![Page 12: A Scalable Stack for Modular Web Applications › wp-content › uploads › 2015 › 08 › A... · A Scalable Stack for Modular Web Applications Gunnar Wagenknecht (@guw) In This](https://reader034.vdocuments.us/reader034/viewer/2022042404/5f1a820676df236c2153c9d1/html5/thumbnails/12.jpg)
Equinox• OSGi reference implementation
• Foundation of EclipseRT
• Component Oriented Development and Assembly
![Page 13: A Scalable Stack for Modular Web Applications › wp-content › uploads › 2015 › 08 › A... · A Scalable Stack for Modular Web Applications Gunnar Wagenknecht (@guw) In This](https://reader034.vdocuments.us/reader034/viewer/2022042404/5f1a820676df236c2153c9d1/html5/thumbnails/13.jpg)
Jetty• Asynchronous HTTP Server and Client
• Standards based Servlet Container
• Web Sockets server
• OSGi, JNDI, JMX, JASPI, AJP support
• Small foot print
• Excellent scalability
• Runs in
• Apache Hadoop and many, many more software
• Google AppEngine
![Page 14: A Scalable Stack for Modular Web Applications › wp-content › uploads › 2015 › 08 › A... · A Scalable Stack for Modular Web Applications Gunnar Wagenknecht (@guw) In This](https://reader034.vdocuments.us/reader034/viewer/2022042404/5f1a820676df236c2153c9d1/html5/thumbnails/14.jpg)
Gyrex
• Clustering
• Web-based administration
• Multi-tenancy
• Operational enhancements
![Page 15: A Scalable Stack for Modular Web Applications › wp-content › uploads › 2015 › 08 › A... · A Scalable Stack for Modular Web Applications Gunnar Wagenknecht (@guw) In This](https://reader034.vdocuments.us/reader034/viewer/2022042404/5f1a820676df236c2153c9d1/html5/thumbnails/15.jpg)
Gyrex Features• lightweight application stack
• fast 100% OSGi runtime
• central cluster configuration through Apache ZooKeeper
• cluster aware job scheduling
• automated deployment through p2
• support for cluster node roles, e.g. “job worker node” and “api node”
![Page 16: A Scalable Stack for Modular Web Applications › wp-content › uploads › 2015 › 08 › A... · A Scalable Stack for Modular Web Applications Gunnar Wagenknecht (@guw) In This](https://reader034.vdocuments.us/reader034/viewer/2022042404/5f1a820676df236c2153c9d1/html5/thumbnails/16.jpg)
Gyrex Components
Equinox
Multi-tenant Runtime Cloud
Monitoring Admin
Logging Metrics
Debug/Trace
Web
SSH
Repositories(JDBC, JPA, NoSQL)
HTTP Applications(Jetty, OSGi HttpService)
Configuration
Provisioning
Clustering & Coord.
Batch Processing
![Page 17: A Scalable Stack for Modular Web Applications › wp-content › uploads › 2015 › 08 › A... · A Scalable Stack for Modular Web Applications Gunnar Wagenknecht (@guw) In This](https://reader034.vdocuments.us/reader034/viewer/2022042404/5f1a820676df236c2153c9d1/html5/thumbnails/17.jpg)
Sample Production Deployment
Load Balancer
Web App IoT Device Native
AppiPad AppMobile Apps
Web Node
Web Node
Web Node
Web Node
Web Node
Web Node
ZooKeeper Cluster
REST API
REST API
REST API
REST API
REST API
Batch Node
Batch Node
Batch Node
Batch Node
RedisAnsible
KibanaLogstash Elastic Search
Jenkins
![Page 18: A Scalable Stack for Modular Web Applications › wp-content › uploads › 2015 › 08 › A... · A Scalable Stack for Modular Web Applications Gunnar Wagenknecht (@guw) In This](https://reader034.vdocuments.us/reader034/viewer/2022042404/5f1a820676df236c2153c9d1/html5/thumbnails/18.jpg)
Example Applicationhttps://github.com/eclipseguru/gyrex-timezones-example
![Page 19: A Scalable Stack for Modular Web Applications › wp-content › uploads › 2015 › 08 › A... · A Scalable Stack for Modular Web Applications Gunnar Wagenknecht (@guw) In This](https://reader034.vdocuments.us/reader034/viewer/2022042404/5f1a820676df236c2153c9d1/html5/thumbnails/19.jpg)
Q & A
• Gyrex Newsgroup / Forum athttp://www.eclipse.org/forums/
• Information hub athttp://www.eclipse.org/gyrex/
• Session feedback / questions@guw
![Page 20: A Scalable Stack for Modular Web Applications › wp-content › uploads › 2015 › 08 › A... · A Scalable Stack for Modular Web Applications Gunnar Wagenknecht (@guw) In This](https://reader034.vdocuments.us/reader034/viewer/2022042404/5f1a820676df236c2153c9d1/html5/thumbnails/20.jpg)
–Gunnar Wagenknecht
„Thank you!“