0
Eclipse GyrexOSGi based PaaS-like programming stack                          PHP                      InternetOfThings    ...
GYREXlightweight application stack for building server applications using EclipseRT technologies.o built-in clusteringo bu...
Stacko   Equinoxo   Jettyo   p2o   ZooKeepero   Solro   Logback,o   Cassandrao   Memcached
GYREX Components                             Logging                   Metrics                       RAP       Repositorie...
GYREX Infrastructure Setup                                    For a High Traffic Application                              ...
GYREX Featureso light weight application stack                              PHP                  InternetOfThings         ...
ZooKeepero group/membership    o tag nodes (“webserver”, “worker”)    o associate bundle states and/or applications with t...
HTTP & OSGiRequirements:o Grouping (“application”)o Multi-tenancy   o Run multiple instances of an “application” on     di...
HTTP & OSGipublic class MyWebApp extends Application {    @Override    protected void doInit() throws CoreException {     ...
HTTP & OSGiosgi> http <cmd> [args]       ls … lists registered applications or providers       defineApp … defines an appl...
Queue ServiceIQueueService {       IQueue getQueue(..)}IQueue {       void sendMessage(byte[] messageBody)       List<IMes...
Thank Youfor your attention
Eclipse Gyrex OSGi based PaaS-Like Programming Stack - OSGi Cloud Workshop March 2012
Upcoming SlideShare
Loading in...5
×

Eclipse Gyrex OSGi based PaaS-Like Programming Stack - OSGi Cloud Workshop March 2012

2,052

Published on

OSGi DevCon 2012 - OSGi Cloud Workshop. Presentation by Gunnar Wagenknecht (Ageto) - "Eclipse Gyrex OSGi based PaaS-Like Programming Stack"

Published in: Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,052
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
57
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "Eclipse Gyrex OSGi based PaaS-Like Programming Stack - OSGi Cloud Workshop March 2012"

  1. 1. Eclipse GyrexOSGi based PaaS-like programming stack PHP InternetOfThings Native iPad App WebApp Device App Mobile Apps LoadBalancer REST REST REST REST REST REST REST REST API API API API API API API API Gyrex Gyrex Gyrex Gyrex Gyrex Gyrex Gyrex Gyrex Node Node Node Node Node Node Node Node ZK ZK ZK • coordinates the cluster Node Node Node • Holds the complete application- and cluster configuration ZK Cluster data repositories
  2. 2. GYREXlightweight application stack for building server applications using EclipseRT technologies.o built-in clusteringo built-in web-based administration UIo built-in multi tenancyo enhancements for professional maintenance - centralized logging - cluster provisioning UI
  3. 3. Stacko Equinoxo Jettyo p2o ZooKeepero Solro Logback,o Cassandrao Memcached
  4. 4. GYREX Components Logging Metrics RAP Repositories(JDBC, EclipseLink, NoSQL) Debug/Trace Console Monitoring Admin HTTP Applications (Jetty, OSGi HttpService) Clustering & Coord. Configuration (ZooKeeper) (Eclipse Preferences API) Provisioning Processing (p2) (Eclipse Jobs API) Contextual Runtime Cloud Equinox
  5. 5. GYREX Infrastructure Setup For a High Traffic Application with different frontends PHP InternetOfThings Native iPad App WebApp Device App Mobile Apps LoadBalancer REST REST REST REST REST REST REST REST API API API API API API API API Gyrex Gyrex Gyrex Gyrex Gyrex Gyrex Gyrex Gyrex Node Node Node Node Node Node Node Node p2 ZK ZK ZK • coordinates the clusterrepo Node Node Node • Holds the complete application- and cluster configuration data repositories ZK Cluster
  6. 6. GYREX Featureso light weight application stack PHP InternetOfThings Native iPad App WebApp Device App Mobile Appso fast 100% OSGi runtime LoadBalancer REST REST REST REST REST REST REST RESTo central cluster configuration API Gyrex API Gyrex API Gyrex API Gyrex API Gyrex API Gyrex Gyrex API Gyrex API Node Node Node Node Node Node Node Node through zookeeper ZK ZK ZK • coordinates the cluster Node Node Node • Holds the complete application- ando cluster aware job scheduling cluster configuration ZK Cluster data repositorieso multi tenant application supporto automated deployment through p2o support for cluster node roles, e.g. „job worker node“ and „api node“
  7. 7. ZooKeepero group/membership o tag nodes (“webserver”, “worker”) o associate bundle states and/or applications with tagso configuration (using OSGi Preferences)o distributed coordination o automatic failover of singleton services o node UP/DOWN events (EventAdmin)
  8. 8. HTTP & OSGiRequirements:o Grouping (“application”)o Multi-tenancy o Run multiple instances of an “application” on different URLs
  9. 9. HTTP & OSGipublic class MyWebApp extends Application { @Override protected void doInit() throws CoreException { getApplicationContext().registerServlet(…); getApplicationContext().registerResources(…); getApplicationContext().registerFilter(…); }}
  10. 10. HTTP & OSGiosgi> http <cmd> [args] ls … lists registered applications or providers defineApp … defines an application removeApp … removes an application definition setAppProperty … sets/removes an application property mount … mounts an application at the specified URL unmount … unmounts the specified URL start … starts an application stop … stops an application
  11. 11. Queue ServiceIQueueService { IQueue getQueue(..)}IQueue { void sendMessage(byte[] messageBody) List<IMessage> receiveMessages(..) IMessage consumeMessage(..) boolean deleteMessage(..)}
  12. 12. Thank Youfor your attention
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×