1. 程式人生 > >Make apps smarter with serverless

Make apps smarter with serverless

Summary

Serverless technology enhances enterprise applications, enabling you to transform and improve traditional legacy systems. This code pattern shows you how a company can use OpenWhisk to deliver a smart supply chain application to its users.

Description

Acme Freight is a fictional freight logistics company. (For more on Acme Freight, see the developer code pattern

Unlock enterprise data using APIs.) The company wants to improve their shipment process to account for weather conditions on their routes. They implement a microservices architecture application that uses OpenWhisk and the Weather Company APIs to gain insight and improve shipment logistics. The API endpoints revealed and consumed by the microservices are secured and managed in a unified interface through API Connect.

The Acme Freight application is composed of several microservices, including three Cloud Foundry applications and multiple OpenWhisk actions. Acme Freight uses OpenWhisk, an open source serverless platform, to rapidly respond to inclement weather events and identify alternative shipment routes by running an algorithm that matches weather channel storm data against currently running shipments and their destinations.

The front-end application utilizes the OpenWhisk APIs to display these recommendations to the logistics coordinator to approve or reject the recommendations. OpenWhisk enables you to quickly generate APIs to execute business logic without requiring a permanently running server. With an integrated API management layer provided with OpenWhisk, the serverless APIs that get created can be easily secured behind an API gateway with a few clicks, enabling powerful features like rate limiting, API keys, analytics and more.

Flow

flow

  1. The web user monitors shipments and weather conditions.
  2. A front-end application serves the web user interface.
  3. A back-end application manages API calls between the front-end and system services.
  4. API Connect provides secure APIs to simplify access to various back-end microservices.
  5. OpenWhisk monitors the weather conditions around retail stores and makes recommendations on additional shipments.
  6. The Enterprise Resource Planning (ERP) application exposes and manages access to enterprise resources, such as Products, Distribution Centers, Retailers, and Shipments.
  7. The Secure Gateway service allows access to on-premises or external cloud data.
  8. On-premises application stores secure enterprise resources.

Instructions

Ready to put this code pattern to use? Complete details on how to get started running and using this application are in the README file.

相關推薦

Make apps smarter with serverless

Summary Serverless technology enhances enterprise applications, enabling you to transform and improve traditional legacy systems. Thi

Making Facial Recognition Smarter With Artificial Intelligence

A screen shows a demonstration of the cognitive level of a facial recognition software at the Ericsson AB booth at the Mobile World Congress Shanghai in Sh

How to Make Blogging Easier with Artificial Intelligence

Mike Kaput is a senior consultant at PR 20/20 who is passionate about AI's potential to transform marketing. At PR 20/20, he creates measurable marketing r

Make the most with Watson Discovery: A Technical Introduction

Learn how to use the out-of-the-box AI capabilities with Watson Discovery to extract insights from your unstructured data with this introductory tutorial.

sharepoint 2013 安裝office web apps 2013 with sp1時提示沒有安裝microsoft.net framework 4.5

今天在window server 2012 R2作業系統伺服器中,安裝office web apps 2013 with sp1的時候,遇到一個問題: setup is unable to proceed due to the following error

How to make your iOS apps more secure with SSL pinning

swift 和 obj-c 完成 ssl 的寫法如下: We can start by instantiating an NSURLSession object with the default session configuration. Swift self.urlSession = NSURLSes

Now you can control your record player with an app: Robotic arms make 'dumb technology' smarter

From controlling lighting to remotely turning on the washing machine, smart homes have widely been hailed as the future of living. For those of us who don'

[Recompose] Make Reusable React Props Streams with Lenses

reac possible ndb back rop name person checkout ppr If you hard-code a stream of props to target a specific prop, it becomes impossible t

Add Languages to Your Xamarin Apps with Multilingual App Toolkit

stand efi working geb ray running strong snippet apply With Xamarin, you can extend your cross-platform apps with support for native spea

git fatal: Paths with -a does not make sense.

9.png git fat image ima paths alt 技術分享 操作 使用Windows IDEA操作git出現下面這種問題 解決 改為雙引號 git fatal: Paths with -a does not make sense.

Building Serverless Apps on AWS 在AWS上構建無伺服器應用程式 Lynda課程中文字幕

Building Serverless Apps on AWS 中文字幕 在AWS上構建無伺服器應用程式 中文字幕Building Serverless Apps on AWS 瞭解如何在Amazon Web Services(AWS)上開發NodeJS無伺服器應用程式 首先,介紹

make your lists functional with ReorderableList

In Unity 4.5 we got a nice (undocumented) built-in tool to visualize lists in IDE. It's called ReorderableList, it's located in UnityEdito

【 InkGenius】Good developers who are familiar with the entire stack know how to make life easier for those around

Good developers who are familiar with the entire stack know how to make life easier for those around

How to make HTTP Post request with JSON body in Swift

Try this, // prepare json data let json: [String: Any] = ["title": "ABC", "dict": ["1":"First", "2":"Second"]] let jsonDat

Deploying a Python serverless function in minutes with GCP

A few questionsWhat is Cloud Functions?Cloud Functions is a managed service for serverless functions. The acronym describing such a service is FaaS (Functi

CPChain: Make Our City Smarter

CPChain: Make Our City SmarterConcept and VideoCyber Physical Chain (CPChain), an Internet of Things (IoT) technology company, is developing a new distribu

Data Digest: AI, Big Data Analytics, and Security; More AI Apps Transforming Data with Intelligence

How AI, machine learning, and big data analytics can help cybersecurity, and examples of real applications for AI and machine learning. A new survey indica

How to Build Serverless Vue Applications with AWS Amplify

You can also implement serverless AWS AppSync GraphQL APIs, Lambda functions, analytics, hosting, VR / AR scenes & more using the Amplify CLI & lib

DotNetify: Multicast View Model for Building Collaborative Web Apps with SignalR

DotNetify: Multicast View Model for Building Collaborative Web Apps with SignalRDotNetify version 3.1 is out, and with it a new capability to write multica

O2 down: Phone network stops working as people left with no signal and unable to make calls

O2, the phone network, has broken across the UK. The carrier has been hit by a major outage, according to the monitoring site Down Detector. It is also aff