Learning Apache OpenWhisk. Developing Open Serverless Solutions
- Autor:
- Michele SciabarrĂ
- Ocena:
- Bądź pierwszym, który oceni tę książkę
- Stron:
- 394
- Dostępne formaty:
-
ePubMobi
Opis ebooka: Learning Apache OpenWhisk. Developing Open Serverless Solutions
Serverless computing greatly simplifies software development. Your team can focus solely on your application while the cloud provider manages the servers you need. This practical guide shows you step-by-step how to build and deploy complex applications in a flexible multicloud, multilanguage environment using Apache OpenWhisk. You’ll learn how this platform enables you to pursue a vendor-independent approach using preconfigured containers, microservices, and Kubernetes as your cloud operating system.
Michele Sciabarrà demonstrates how to build a serverless application using classical design patterns and the programming language or languages that best fit your task. You’ll start by building a simple serverless application hands-on before diving into the more complex aspects of the OpenWhisk platform.
- Examine how OpenWhisk’s serverless architecture works, including the use of packages, actions, sequences, triggers, rules, and feeds
- Learn how OpenWhisk compares to existing architectures, such as Java Enterprise Edition
- Manipulate OpenWhisk features using the command-line interface or a JavaScript API
- Design applications using common Gang of Four design patterns
- Use architectural design patterns such as model-view-controller to combine several OpenWhisk actions
- Learn how to test and debug your code in a serverless environment
Wybrane bestsellery
-
Traditional data architecture patterns are severely limited. To use these patterns, you have to ETL data into each tool—a cost-prohibitive process for making warehouse features available to all of your data. The lack of flexibility with these patterns requires you to lock into a set of prio...(207.57 zł najniższa cena z 30 dni)
207.47 zł
249.00 zł(-17%) -
Oprogramowanie Apache Kafka powstało jako broker wiadomości w LinkedIn. Obecnie pełni funkcję rozproszonego systemu przetwarzania strumieniowego danych, używanego do budowania aplikacji opracowujących duże ilości danych w czasie rzeczywistym. Z zalet tego oprogramowania korzystają firmy na całym ...
Apache Kafka. Kurs video. Przetwarzanie danych w czasie rzeczywistym Apache Kafka. Kurs video. Przetwarzanie danych w czasie rzeczywistym
(31.14 zł najniższa cena z 30 dni)48.95 zł
89.00 zł(-45%) -
Used by more than 80% of Fortune 100 companies, Apache Kafka has become the de facto event streaming platform. Kafka Connect is a key component of Kafka that lets you flow data between your existing systems and Kafka to process data in real time.With this practical guide, authors Mickael Maison a...(242.32 zł najniższa cena z 30 dni)
242.12 zł
289.00 zł(-16%) -
This book describes both batch processing and real-time processing pipelines. You’ll learn how to implement basic and advanced big data use cases with ease and develop a deep understanding of the Apache Beam model. In addition to this, you’ll discover how the portability layer works...
Building Big Data Pipelines with Apache Beam. Use a single programming model for both batch and stream data processing Building Big Data Pipelines with Apache Beam. Use a single programming model for both batch and stream data processing
(135.50 zł najniższa cena z 30 dni)135.45 zł
139.00 zł(-3%) -
Every enterprise application creates data, including log messages, metrics, user activity, and outgoing messages. Learning how to move these items is almost as important as the data itself. If you're an application architect, developer, or production engineer new to Apache Pulsar, this practical ...(209.82 zł najniższa cena z 30 dni)
209.32 zł
249.00 zł(-16%) -
Data is bigger, arrives faster, and comes in a variety of formatsâ??and it all needs to be processed at scale for analytics or machine learning. But how can you process such varied workloads efficiently? Enter Apache Spark.Updated to include Spark 3.0, this second edition shows data engineer...(207.57 zł najniższa cena z 30 dni)
207.52 zł
249.00 zł(-17%) -
Before you can build analytics tools to gain quick insights, you first need to know how to process data in real time. With this practical guide, developers familiar with Apache Spark will learn how to put this in-memory framework to use for streaming data. You’ll discover how Spark enables ...
Stream Processing with Apache Spark. Mastering Structured Streaming and Spark Streaming Stream Processing with Apache Spark. Mastering Structured Streaming and Spark Streaming
(211.17 zł najniższa cena z 30 dni)211.12 zł
249.00 zł(-15%) -
This practical guide explains you to program and understand the power of Apache Cassandra 3.x. You will explore the integration and interaction of Cassandra components, and explore features such as the token allocation algorithm, CQL3, vnodes, lightweight transactions, and data modelling in detail.
Mastering Apache Cassandra 3.x. An expert guide to improving database scalability and availability without compromising performance - Third Edition Mastering Apache Cassandra 3.x. An expert guide to improving database scalability and availability without compromising performance - Third Edition
(116.26 zł najniższa cena z 30 dni)115.76 zł
119.00 zł(-3%) -
Apache Hive helps you deal with data summarization, queries, and analysis for huge amounts of data. This book will give you a background in big data, and familiarize you with your Hive working environment. Next you will cover advanced topics like performance and security in Hive and how to work e...
Apache Hive Essentials. Essential techniques to help you process, and get unique insights from, big data - Second Edition Apache Hive Essentials. Essential techniques to help you process, and get unique insights from, big data - Second Edition
-
Apache Spark is amazing when everything clicks. But if you haven’t seen the performance improvements you expected, or still don’t feel confident enough to use Spark in production, this practical book is for you. Authors Holden Karau and Rachel Warren demonstrate performance optimizati...
High Performance Spark. Best Practices for Scaling and Optimizing Apache Spark High Performance Spark. Best Practices for Scaling and Optimizing Apache Spark
(138.39 zł najniższa cena z 30 dni)138.29 zł
169.00 zł(-18%)
Ebooka "Learning Apache OpenWhisk. Developing Open Serverless Solutions" przeczytasz na:
-
czytnikach Inkbook, Kindle, Pocketbook, Onyx Boox i innych
-
systemach Windows, MacOS i innych
-
systemach Windows, Android, iOS, HarmonyOS
-
na dowolnych urządzeniach i aplikacjach obsługujących formaty: PDF, EPub, Mobi
Masz pytania? Zajrzyj do zakładki Pomoc »
Audiobooka "Learning Apache OpenWhisk. Developing Open Serverless Solutions" posłuchasz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolnych urządzeniach i aplikacjach obsługujących format MP3 (pliki spakowane w ZIP)
Masz pytania? Zajrzyj do zakładki Pomoc »
Kurs Video "Learning Apache OpenWhisk. Developing Open Serverless Solutions" zobaczysz:
-
w aplikacjach Ebookpoint i Videopoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych z dostępem do najnowszej wersji Twojej przeglądarki internetowej
Szczegóły ebooka
- ISBN Ebooka:
- 978-14-920-4612-7, 9781492046127
- Data wydania ebooka:
- 2019-07-03 Data wydania ebooka często jest dniem wprowadzenia tytułu do sprzedaży i może nie być równoznaczna z datą wydania książki papierowej. Dodatkowe informacje możesz znaleźć w darmowym fragmencie. Jeśli masz wątpliwości skontaktuj się z nami sklep@ebookpoint.pl.
- Język publikacji:
- angielski
- Rozmiar pliku ePub:
- 8.6MB
- Rozmiar pliku Mobi:
- 8.6MB
Spis treści ebooka
- Foreword
- Preface
- Why Serverless?
- Conventions Used in This Book
- Using Code Examples
- OReilly Online Learning
- How to Contact Us
- I. Introducing OpenWhisk Development
- 1. Serverless and OpenWhisk Architecture
- OpenWhisk Architecture
- Functions and Events
- Architecture Overview
- Programming Languages for OpenWhisk
- Actions and Action Composition
- Action Chaining
- OpenWhisk Architecture
- How OpenWhisk Works
- Nginx
- Controller
- Load Balancer
- Invoker
- Client
- Serverless Execution Constraints
- Actions Are Functional
- Actions Are Event-Driven
- Actions Do Not Have Local State
- Actions Are Time-Bound
- Actions Are Not Ordered
- From Java EE to Serverless
- Classic Java EE Architecture
- Serverless Equivalent of Java EE
- Tiers
- Components
- APIs
- Connectors
- Application servers
- Summary
- 2. A Simple OpenWhisk Application
- Getting Started
- The Bash CLI
- The IBM Cloud
- Getting Started
- Creating a Simple Contact Form
- Form Validation
- Address Validation
- Returning the Result
- Saving Form Data
- Invoking Actions
- Storing in the Database
- Sending an Email
- Configuring Mailgun
- Writing an Action to Send Email
- Creating an Action Sequence
- Summary
- 3. The OpenWhisk CLI and JavaScript API
- The wsk Command
- Configuring the wsk Command
- OpenWhisk Entity Names
- The wsk Command
- Defining Packages
- Package Binding
- Creating Actions
- Chaining Sequences of Actions
- Including Some Code of Your Own as a Library
- Inspecting Activations
- Managing Triggers and Rules
- Putting the Trigger to Work
- Using a Feed
- Generic JavaScript APIs
- Asynchronous Invocation
- Using Promises
- Creating a Promise
- Using the OpenWhisk API
- Invoking OpenWhisk Actions
- Accessing OpenWhisk from the outside
- Invoking multiple promises
- Invoking OpenWhisk Actions
- Firing Triggers
- Inspecting Activations
- Summary
- 4. Common Design Patterns in OpenWhisk
- Built-in Patterns
- Singleton
- Facade
- Prototype
- Decorator
- Built-in Patterns
- Patterns Commonly Implemented with Actions
- Strategy
- Chain of Responsibility
- Command
- Summary
- 5. Integration Design Patterns in OpenWhisk
- Integration Patterns
- Proxy
- Adapter
- Bridge
- Observer
- Integration Patterns
- User Interaction Patterns
- Composite
- Visitor
- MVC
- Summary
- 6. Unit Testing OpenWhisk Applications
- Using the Jest Test Runner
- Using Jest
- Running Tests Locally
- Matching versions and packages
- Loading the code
- Setting environment variables
- Snapshot Testing
- Updating a snapshot
- Using the Jest Test Runner
- Mocking
- What Is a Mock?
- Mocking an HTTPS Request
- An action to be tested by mocking
- Using a mock to test the action
- Writing a mock for https
- Mocking the OpenWhisk API
- Using the Mocking Library to Invoke an Action
- Mocking Action Parameters
- Mocking a Sequence
- Summary
- II. Advanced OpenWhisk Development
- 7. Developing OpenWhisk Actions in Python
- The Python Runtime
- Whats in the Python Runtime?
- Libraries Available in the Runtime
- The Python Runtime
- Using Third-Party Libraries
- Packaging a Python Application in a Zip File
- Using virtualenv
- How Virtualenv and Pip Work
- Automating the Virtual Environment
- Using the yattag Library
- Building the Virtualenv, Including a Library
- Using the OpenWhisk REST API
- Authentication
- Connecting to the API with curl
- Using the OpenWhisk REST API in Python
- Invocations, Activations, and Triggers in Python
- Blocking Action Invocation
- Nonblocking Trigger Invocation
- Retrieving the Result of an Invocation
- Testing Python Actions
- Recreating the Python Runtime Environment Locally
- Unit Test Examples
- Invoking the OpenWhisk API Locally
- Mocking Requests
- Summary
- 8. Using CouchDB with OpenWhisk
- How to Query CouchDB
- Exploring CouchDB on the Command Line
- How CouchDB works
- Creating Database
- Create
- Retrieve
- Update
- Delete
- Attachments
- Querying CouchDB
- Searching the Database
- Indexes
- Fields
- Pagination Support
- Bookmark Feature
- Selectors
- Operators
- CouchDB Design Documents
- Creating a Design Document
- View Functions
- Extracting Data with map Functions
- Implementing a Join with map Functions
- Joining with a Single Document
- Aggregations with reduce Functions
- Validation Functions
- Using the Cloudant Package
- CRUD Actions in the Cloudant Package
- Queries and Views with Packages
- Summary
- 9. An OpenWhisk Web Application in Python
- CRUD Application Architecture
- Deploying the Action
- CRUD Application Architecture
- Abstracting Database Access
- Implementing model.init()
- Implementing model.insert()
- Implementing model.find()
- Testing insert and find
- Implementing model.update() and model.delete()
- Testing update and delete
- The User Interface
- Testing
- The wrapper
- BeautifulSoup
- Testing
- Rendering the Table with view.table
- Rendering the Form with view.form
- The Controller
- Processing Operations
- Testing the controller using mocking
- Processing Operations
- Side Effects
- Advanced Web Actions
- Improving the CRUD Application
- Validation and Error Reporting
- Storing Error Messages
- Pagination
- Creating an Index
- Using Bookmarks and Limits
- Pagination
- Processing the Bookmark
- Uploading and Displaying Images
- File Upload Form
- Parsing the File Upload
- Saving Data in the Database
- Generating an <IMG> Tag
- Generating a URL to Retrieve an Image
- Rendering the Image with an HTTP Request
- Summary
- 10. Developing OpenWhisk Actions in Go
- Your First Golang Action
- From Echo to Hello
- Your First Golang Action
- Packaging Multiple Files
- Imports, GOPATH, and the vendor Folder
- Actions with Multiple Files in main
- Actions with Multiple Packages
- Actions Using Third-Party Libraries
- How Go Uses Third-Party Open Source Libraries
- Selecting a Given Version of a Library
- Action Precompilation
- Testing Go Actions
- Writing Tests
- Testing Using Examples
- Embedding Resources
- Using packr
- Serving Resources with Web Actions
- Accessing the OpenWhisk API in Go
- Utilities
- HTTP Requests
- Invoking an OpenWhisk Action
- Firing a Trigger
- Retrieving the Data Associated with the Activation ID
- Summary
- 11. Using Kafka with OpenWhisk
- Introducing Apache Kafka
- Kafka Brokers and Protocol
- Messages and Keys
- Topics and Partitions
- Offsets and Client Groups
- Introducing Apache Kafka
- Creating a Kafka Instance in the IBM Cloud
- Creating an Instance
- Creating a Topic
- Get Credentials
- Using the messaging Package
- Creating a Binding and a Feed
- Receiving Messages with an Action
- Sending Messages Using kafkacat
- Testing the Kafka Broker
- A Kafka Producer in Go
- Creating a Producer
- Sending a Kafka Message
- Writing a Sender Action
- Deploying and Testing the Producer
- A Kafka Consumer in Go
- Creating a Consumer
- Receiving a Message
- Writing a Receiver Action
- Testing the Consumer
- Implementing the Web Chat Application
- Overview
- User Interface
- Initializing
- Joining
- Receiving
- Sending
- Summary
- 12. Deploying OpenWhisk with Kubernetes
- Installing Kubernetes
- Installation Types
- Installing Kubernetes
- Installing kubectl and Helm
- Installing Kubernetes Locally
- Installing Kubernetes in the Cloud
- Architecture of a Kubernetes Cloud Deployment
- Generic Procedure for Installing Kubernetes with cloud-init
- Provisioning
- IP and DNS name
- Rook and Traefik
- Provisioning
- Installing on Hetzner Cloud
- Installing on AWS Cloud
- Installing Kubernetes on a Bare Metal Server
- Collecting the Required Software
- Network Configuration
- Scripts for the Installation
- Creating the Cluster
- Installing OpenWhisk
- Configuring Kubectl
- Configuring Helm
- Installing in Docker Desktop
- Label the master
- Get the internal IP
- Write a parameter file
- Deploy the chart
- Installing in the Kubernetes Cluster
- Label the workers
- Generate credentials
- Write a parameter file
- Deploy the chart
- Configuring the OpenWhisk Command-Line Interface
- Configuring wsk Insecurely for Docker Desktop
- Creating a New Namespace
- Summary
- Conclusion
- Index
O'Reilly Media - inne książki
-
Keeping up with the Python ecosystem can be daunting. Its developer tooling doesn't provide the out-of-the-box experience native to languages like Rust and Go. When it comes to long-term project maintenance or collaborating with others, every Python project faces the same problem: how to build re...(200.93 zł najniższa cena z 30 dni)
200.88 zł
239.00 zł(-16%) -
Bringing a deep-learning project into production at scale is quite challenging. To successfully scale your project, a foundational understanding of full stack deep learning, including the knowledge that lies at the intersection of hardware, software, data, and algorithms, is required.This book il...(241.26 zł najniższa cena z 30 dni)
241.21 zł
289.00 zł(-17%) -
Frontend developers have to consider many things: browser compatibility, usability, performance, scalability, SEO, and other best practices. But the most fundamental aspect of creating websites is one that often falls short: accessibility. Accessibility is the cornerstone of any website, and if a...(200.09 zł najniższa cena z 30 dni)
199.59 zł
239.00 zł(-16%) -
In this insightful and comprehensive guide, Addy Osmani shares more than a decade of experience working on the Chrome team at Google, uncovering secrets to engineering effectiveness, efficiency, and team success. Engineers and engineering leaders looking to scale their effectiveness and drive tra...(114.88 zł najniższa cena z 30 dni)
114.38 zł
149.00 zł(-23%) -
Data modeling is the single most overlooked feature in Power BI Desktop, yet it's what sets Power BI apart from other tools on the market. This practical book serves as your fast-forward button for data modeling with Power BI, Analysis Services tabular, and SQL databases. It serves as a starting ...(198.88 zł najniższa cena z 30 dni)
198.78 zł
239.00 zł(-17%) -
C# is undeniably one of the most versatile programming languages available to engineers today. With this comprehensive guide, you'll learn just how powerful the combination of C# and .NET can be. Author Ian Griffiths guides you through C# 12.0 and .NET 8 fundamentals and techniques for building c...(240.92 zł najniższa cena z 30 dni)
240.72 zł
289.00 zł(-17%) -
Learn how to get started with Futures Thinking. With this practical guide, Phil Balagtas, founder of the Design Futures Initiative and the global Speculative Futures network, shows you how designers and futurists have made futures work at companies such as Atari, IBM, Apple, Disney, Autodesk, Luf...(148.00 zł najniższa cena z 30 dni)
147.90 zł
179.00 zł(-17%) -
Augmented Analytics isn't just another book on data and analytics; it's a holistic resource for reimagining the way your entire organization interacts with information to become insight-driven.Moving beyond traditional, limited ways of making sense of data, Augmented Analytics provides a dynamic,...(174.54 zł najniższa cena z 30 dni)
174.34 zł
219.00 zł(-20%) -
Learn how to prepare for—and pass—the Kubernetes and Cloud Native Associate (KCNA) certification exam. This practical guide serves as both a study guide and point of entry for practitioners looking to explore and adopt cloud native technologies. Adrián González Sánchez ...
Kubernetes and Cloud Native Associate (KCNA) Study Guide Kubernetes and Cloud Native Associate (KCNA) Study Guide
(169.14 zł najniższa cena z 30 dni)177.65 zł
199.00 zł(-11%) -
Python is an excellent way to get started in programming, and this clear, concise guide walks you through Python a step at a time—beginning with basic programming concepts before moving on to functions, data structures, and object-oriented design. This revised third edition reflects the gro...(140.14 zł najniższa cena z 30 dni)
139.94 zł
179.00 zł(-22%)
Dzieki opcji "Druk na żądanie" do sprzedaży wracają tytuły Grupy Helion, które cieszyły sie dużym zainteresowaniem, a których nakład został wyprzedany.
Dla naszych Czytelników wydrukowaliśmy dodatkową pulę egzemplarzy w technice druku cyfrowego.
Co powinieneś wiedzieć o usłudze "Druk na żądanie":
- usługa obejmuje tylko widoczną poniżej listę tytułów, którą na bieżąco aktualizujemy;
- cena książki może być wyższa od początkowej ceny detalicznej, co jest spowodowane kosztami druku cyfrowego (wyższymi niż koszty tradycyjnego druku offsetowego). Obowiązująca cena jest zawsze podawana na stronie WWW książki;
- zawartość książki wraz z dodatkami (płyta CD, DVD) odpowiada jej pierwotnemu wydaniu i jest w pełni komplementarna;
- usługa nie obejmuje książek w kolorze.
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka, którą chcesz zamówić pochodzi z końcówki nakładu. Oznacza to, że mogą się pojawić drobne defekty (otarcia, rysy, zagięcia).
Co powinieneś wiedzieć o usłudze "Końcówka nakładu":
- usługa obejmuje tylko książki oznaczone tagiem "Końcówka nakładu";
- wady o których mowa powyżej nie podlegają reklamacji;
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka drukowana
Oceny i opinie klientów: Learning Apache OpenWhisk. Developing Open Serverless Solutions Michele SciabarrĂ (0) Weryfikacja opinii następuję na podstawie historii zamówień na koncie Użytkownika umieszczającego opinię. Użytkownik mógł otrzymać punkty za opublikowanie opinii uprawniające do uzyskania rabatu w ramach Programu Punktowego.