DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
  1. DZone
  2. Software Design and Architecture
  3. Cloud Architecture
  4. Blue Cloud Mirror Architecture Diagrams

Blue Cloud Mirror Architecture Diagrams

For the visual learners, take a look at these diagrams of the serverless technologies behind the user and score's services in the Blue Cloud Mirror game.

Niklas Heidloff user avatar by
Niklas Heidloff
CORE ·
Feb. 11, 19 · Tutorial
Like (2)
Save
Tweet
Share
10.12K Views

Join the DZone community and get the full member experience.

Join For Free

blue cloud mirror is a game where players need to show specific emotions and do specific poses. in this article, i describe briefly the technologies used.

you can play the game online . all you need is a webcam and a chrome browser.

the game uses key technologies of the ibm cloud and has three main parts:

  • core game: implemented as a serverless web application since it is primarily used during conferences only
  • user's service: implemented via ibm cloud private to avoid storing the personal data in a public cloud
  • score's service: implemented via cloud foundry enterprise edition to highlight easy changes via the "cf push experience" (for example, theme adoptions for different conferences).

thomas, harald and i have planned to write more articles about the different parts of the application. this article gives a high-level overview.

the first diagram gives an overview of the key components.


note that there are two different versions per diagram. one version describes what we use in the github project. that version uses minikube for the user's service and cloud foundry public applications for the score's service so that even ibm cloud users with a free lite account can run it. the other version uses the enterprise technologies ibm cloud private and cloud foundry enterprise environment.

the next diagrams add more details about the three main parts.

the core game is a serverless application hosted on the ibm cloud via cloud object storage and ibm cloud functions. the users, scores, and twitter apis are invoked via lite api management. with lite api management and app id user authentication and authorization can be implemented.


the score's service has been implemented via the cloud foundry node.js buildpack. a second buildpack is used to host the web resources of the web application which displays the highscore list.


the user's service has been implemented via node.js running in kubernetes. the data is stored in apache couchdb. the service can be invoked from the public cloud via secure gateway.


Cloud Diagram IBM Cloud Cloud Foundry Mirror (programming) Web Service application Web application Architecture Object storage

Published at DZone with permission of Niklas Heidloff, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Internal Components of Apache ZooKeeper and Their Importance
  • DevOps Roadmap for 2022
  • Debugging Streams and Collections
  • Real-Time Stream Processing With Hazelcast and StreamNative

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: