OSGi based PaaS-like programming stack Gyrex Node LoadBalancer Gyrex Node Gyrex Node Gyrex Node Gyrex Node Gyrex Node Gyrex Node Gyrex Node ZK Node ZK Node ZK Node • coordinates the cluster • Holds the complete application- and cluster configuration REST API REST API REST API REST API REST API REST API REST API REST API data repositories iPad App Mobile Apps PHP WebApp InternetOfThings Device Native App Eclipse Gyrex
13
Embed
Eclipse Gyrex OSGi based PaaS-Like Programming Stack - OSGi Cloud Workshop March 2012
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.
Transcript
OSGi based PaaS-like programming stack
ZK Cluster
Gyrex Node
LoadBalancer
Gyrex Node
Gyrex Node
Gyrex Node
Gyrex Node
Gyrex Node
Gyrex Node
Gyrex Node
ZK Node
ZK Node
ZK Node
• coordinates the cluster • Holds the complete application- and cluster configuration
REST API
REST API
REST API
REST API
REST API
REST API
REST API
REST API
data repositories
iPad App Mobile Apps
PHP WebApp
InternetOfThings Device
Native App
Eclipse Gyrex
GYREX lightweight application stack for building server applications using EclipseRT technologies.
o built-in clustering o built-in web-based administration UI
o built-in multi tenancy
o enhancements for professional maintenance - centralized logging - cluster provisioning UI
Stack
o Equinox o Jetty o p2 o ZooKeeper o Solr o Logback, o Cassandra o Memcached
GYREX Components
Admin
Contextual Runtime
Equinox
Cloud
Monitoring
Repositories (JDBC, EclipseLink, NoSQL)
HTTP Applications (Jetty, OSGi HttpService)
RAP Logging
Clustering & Coord. (ZooKeeper)
Provisioning (p2)
Debug/Trace
Metrics
Console
Processing (Eclipse Jobs API)
Configuration (Eclipse Preferences API)
ZK Cluster
GYREX Infrastructure Setup For a High Traffic Application
with different frontends
Gyrex Node
LoadBalancer
Gyrex Node
Gyrex Node
Gyrex Node
Gyrex Node
Gyrex Node
Gyrex Node
Gyrex Node
ZK Node
ZK Node
ZK Node
• coordinates the cluster • Holds the complete application- and cluster configuration
REST API
REST API
REST API
REST API
REST API
REST API
REST API
REST API
data repositories
iPad App Mobile Apps
PHP WebApp
InternetOfThings Device
Native App
p2 repo
GYREX Features
ZK Cluster
Gyrex Node
LoadBalancer
Gyrex Node
Gyrex Node
Gyrex Node
Gyrex Node
Gyrex Node
Gyrex Node
Gyrex Node
ZK Node
ZK Node
ZK Node
• coordinates the cluster • Holds the complete application- and cluster configuration
REST API
REST API
REST API
REST API
REST API
REST API
REST API
REST API
data repositories
iPad App Mobile Apps
PHP WebApp
InternetOfThings Device
Native App
o light weight application stack
o fast 100% OSGi runtime o central cluster configuration through zookeeper o cluster aware job scheduling
o multi tenant application support
o automated deployment through p2
o support for cluster node roles, e.g. „job worker node“ and „api node“
ZooKeeper o group/membership
o tag nodes (“webserver”, “worker”) o associate bundle states and/or applications with tags
o configuration (using OSGi Preferences)
o distributed coordination
o automatic failover of singleton services o node UP/DOWN events (EventAdmin)
HTTP & OSGi
Requirements:
o Grouping (“application”)
o Multi-tenancy
o Run multiple instances of an “application” on different URLs