Index

Symbols

ReactJS app

serving, with Quart 212, 213

A

Access Key ID 258

Advanced Message Queuing Protocol (AMQP) 113

URL 158

aiohttp 116

reference link 20, 142

URL 109

aioprometheus, library documentation

reference link 124

Alpine Linux 254, 255

Alpine Linux Docker Image

reference link 254

Amazon SQS

URL 113

Amazon Web Services

URL 257

Amazon Web Services (AWS) 188

Ansible

URL 276

Apache 16

Apache Bench (AB) 72

Asynchronous JavaScript and XML (AJAX) 208

asynchronous messages 155, 162

basic queues 156

message queue reliability 156

Publish/Subscribe (pubsub) pattern 161

queues 158, 160, 161

topic exchanges 157, 159, 161

Asynchronous Server Gateway Interface (ASGI) 28

Autodoc Sphinx extension

reference link 82

automation 275, 276

B

Babel

reference link 206

badges 89, 90

Behavior-Driven Development (BDD) 60

Bitbucket

URL 86

Blinker

reference link 42

Bottle

URL 17

C

capacity management 72

Celery 116

Certificate Authority (CA) 170

cgroups

reference link 248

Chef

URL 276

Circus

reference link 243

Client Credentials Grant (CCG) 169

reference link 169

code

complexity 121, 122

maintenance 121, 122

securing 186

code security 186, 187

application scope, limiting 187, 188, 189

Bandit linter, using 194

dependencies 195

input data, sanitizing 193, 194

queries, redirecting 192

queries, trusting 192

untrusted incoming data 189, 190, 192

Common Gateway Interface (CGI) 16

compose file

reference link 263

concurrency limiting 199, 200, 201

Consul

reference link 261

containers 247

Content Delivery Networks (CDNs) 277

Continuous Deployment (CD) 86, 235

Continuous Integration (CI) 86, 228

CoreOS project 249

coverage tool

reference link 77

Coveralls 89

reference link 89

CPU-intensive operations 63

CRI-O

reference link 249

Cross-Origin Resource Sharing (CORS) 33, 213, 214, 215

reference link 213, 215

Cross-Site Request Forgery (CSRF) 101

Cross-Site Request Forgery (XSRF/CSRF) 187

Cross-Site Scripting (XSS) 187

cyclomatic complexity 121

Cython

URL 23

D

data

transferring 146

data access layer (DAL) 96

data-driven 120

data-informed 120

data transfer 146

GZIP compression 149, 150, 151, 152

HTTP cache headers 147, 148, 149

MessagePack 153, 154

protocol buffers 152, 153

Denial of Service (DoS) 195

dependabot

reference link 195

developer documentation 80

tools 81, 82, 84, 85

Distributed Denial of Service (DDoS) 195

Docker 248, 249, 250

containers, experimenting with 251, 254

Quart application, running in 255, 256

reference link 248

Docker-based deployments 257, 259

Docker Compose 263, 264, 265

service discovery 261, 262

swarm 265, 267

Terraform 259, 261

Docker Compose 263, 264, 265

installation link 263

reference link 263

Dockerfile 252, 253

reference link 252

Docker Hub

URL 254

Docker Swarm 266, 267

documentation 88

Document Object Model (DOM) 76

Domain-Specific Language (DSL) 152

E

eksctl utility

reference link 267

ELK stack

reference link 278

Encrypt

URL 170

end-to-end test 75, 76

environment variables 145

etcd

reference link 135, 146

Etcd

reference link 261

F

feature flag 135, 136, 137

File Descriptor (FD) 244

Flask 7

Flask-WTF 116

functional tests 67, 68, 69, 70

G

Get Docker

reference link 249

Gevent project

URL 19

GitHub Actions 87, 88

GitHub Pages 88

GitLab

URL 86

Global Interpreter Lock (GIL) 22

Graylog

URL 131

gRPC 9

reference link 153

H

HashiCorp Packer

reference link 247

Homebrew

reference link 249

Hypercorn 256

reference link 243

I

Identity and Access Management (IAM) 257

incoming requests

rate-limiting 199

InfluxDB

reference link 75

injection 187

integration tests 70, 71

Inter-Process Communication (IPC) 3

I/O operations 63

J

JavaScript

authenticating 220, 221

Jeeves

refactoring 137, 138

workflow 139

Jeeves bot 92

user stories 92, 93

Jinja

reference link 46

Jinja�s, features

reference link 48

Jinja�s sandbox

reference link 192

JSON Web Key (JWK) format 180

JSON Web Token (JWT) 175, 176

header 174

payload 174

reference link 174

signature 174

JSX

pre-processing 211, 212

syntax 205, 206

JSX Specification

reference link 205

Just-In-Time (JIT) 23

JWT Claim in the RFC 7519 jargon 175

K

k8s 267

Kubernetes 267, 268, 269, 270, 271, 272

reference link 267

L

Lambda functions 277

Linux-Apache-MySQL-Perl/PHP/Python (LAMP) 4

load tests 71, 72, 73, 74, 75

Local File Inclusion (LFI) 187

location

tracing 145

logging 128, 129, 130, 131

loose coupling 10

Lua

installation link 196

LuaJIT

URL 197

M

Markdown

reference link 81

Memcached 11

MessagePack

URL 153

metrics 124, 125, 126

Micro Frontends 216, 217

microservice

approach 8, 9

benefits 10

implementing, with Python 15, 16

pitfalls 12

microservice, benefits

deployment 11, 12

scaling 11, 12

separation of concerns 10

smaller projects 10

microservice, issues

compatibility issues 14

data sharing 13, 14

data storing 13, 14

illogical splitting 12, 13

more network interactions 13

testing 14, 15

microservices

code complexity 121, 122

identifying 119, 120, 121

logging 128, 129, 130, 131

maintenance 121, 122

metrics 122, 123, 124, 125, 126, 127, 128

monitoring 122, 123, 124, 125, 126, 127, 128

running 242, 243

microservice skeleton 54, 55, 56

microservices, with Python

asynchronous 18

asynchronous Python 19, 20, 21

Gevent 19

Greenlets 19

language performance 21, 22, 23

synchronicity 17

threads 17

Tornado 19

Twisted 19

worker pool approach 17

workers 17

WSGI standard 16, 17

microservice, with Python

working, with web services 16

minified 206

Model-View-Controller (MVC) 94

Model-View-Template (MVT) 94

Molotov

reference link 74

monitoring

expanding 278

monolith

splitting 131, 132, 133, 134

monolithic

approach 3, 4, 5, 6, 7

monolithic design 93, 94

actions, taking 107, 108

authentication 109, 110, 111, 112, 113

authorization 109, 110, 111, 112, 113

background tasks 113, 114, 115, 116

human-readable view 100, 101, 102, 103

implementing 116, 117

model 94, 95, 96, 97

OAuth tokens 108, 109

slack workspaces 103, 104, 105

template 97

view 97

Multi-Cloud Deployments 277

N

nginx 16

Node.js

reference link 211

Nose

reference link 76

npm

reference link 211

O

OAuth2

URL 92

OAuth 2.0

reference link 218

OAuth2 protocol 168, 169, 170

OAuth tokens 108, 109

OpenAPI

URL 164

using 164, 165

OpenResty 196, 197, 198

features 201, 202

Lua 196

URL 196

OpenResty components

URL 201

Open-Source Software (OSS) 6

Open Web Application Security Project (OWASP)

URL 186

operational health monitoring 122

operations person (ops) 15

P

packaging toolchain 224, 225

Pika

reference link 160

pika-pool

reference link 161

Postgres

reference link 265

process

managing 243, 244

Prometheus

reference link 75, 124

Prometheus, querying

reference link 128

promises 278, 279

Protocol Buffers (protobuf)

reference link 152

Publish/Subscribe (pubsub) pattern 162

Pull Request (PR) 86

Puppet

URL 276

PyJWT library

URL 176

PyPA

URL 225

PyPy interpreter

URL 23

pytest

using 76, 77, 79

Python

installing 27, 28

microservice, implementing with 15, 16

Python application 225

Python Enhancement Proposals (PEPs) 224

Python library 225

Python package 225

Python package index

URL 44

Python Package Index (PyPI) 7, 227

reference link 239

Python packaging tools

versioning 235, 236, 237

Python project 225

distributing 239, 240, 241, 242

packaging 226

releasing 238, 239

Python standard library

reference link 82

Python, structlog

reference link 130

Python subprocess module

reference link 256

Q

quality assurance 122

Quart 7, 25

features 40

ReactJS apps, serving with 212, 213

request 37, 38

request, handling 28, 29, 30, 32

response 38, 39, 40

routing 32, 33

Quart application

running, in Docker 255, 256

quart-auth 116

Quart, features

blueprints 50, 51

configuration 48, 49, 50

custom error handler 52, 53, 54

error handling 52

extensions 44, 46

globals 41, 42

middleware 44, 46

session object 40, 41

signals 42, 43, 44

templates 46, 47, 48

Quart, routing

converters 33, 34, 35, 36, 37

url_for function 37

variables 33, 34, 35, 36, 37

R

RabbitMQ 116

URL 44, 113

RabbitMQ broker

installation link 158

Radon

reference link 121

React

reference link 210

React dashboard

authenticating 215

authorizing 215

ReactJS dashboard

building 205

component 206, 207, 208, 209, 210

JSX, pre-processing 211, 212

JSX syntax 205, 206

Read-Eval-Print Loop (REPL) 196

ReadTheDocs (RTD) 88

reference link 88

Redis 11

URL 113

Registered Claim Names 175

Remote Code Execution (RCE) 187

Remote File Inclusion (RFI) 187

Remote Procedure Call (RPC) 142

Remote Procedure Calls (RPC) 3

ReportLab 7

Representational State Transfer (REST) 142

Requests library

URL 142

requests-mock project

reference link 163

reStructuredText (reST) 81

Rivest, Shamir, and Adleman (RSA) 178

rkt project 249

S

scaling 276

SCons

URL 224

Secret Access Key 258

Selenium

reference link 75

Sentry

URL 43

Server-Side Template Injection (SSTI) 190

service discovery 145, 146, 261, 262

Service-Level Agreements (SLAs) 279

Service-Level Indicators (SLIs) 279

Service-Level Objective (SLO) 279

Service-Oriented Architecture (SOA)

origins 2, 3

Slack token

obtaining 218, 219

SOA Manifesto

reference link 3

Sphinx

reference link 81

Sphinx tool

URL 81

SQLAlchemy 116

URL 95

srcache-nginx-module

reference link 202

Stackless 19

standard files, Python packages

MANIFEST.in file 234, 235

requirements.txt file 231, 232, 233, 234

setup.py file 226, 227, 228, 229, 230

Strava

URL 92

Swagger 164

swarm 265, 267

reference link 265

T

Taskcluster

reference link 87

Terraform 248, 259, 275

URL 276

Terraform, tutorials

reference link 260

Test-Driven Development (TDD) 60

testing 162, 163

tests

classifying 62

Time-To-Live (TTL) 176

TIOBE index

reference link 15

token-based authentication 173

certificate, using with JWT 177, 178

JSON Web Token (JWT) 174, 175

PyJWT 176, 177

TokenDealer)

using 184, 186

TokenDealer microservice 179

OAuth implementation 180, 181, 183

TokenDealer, using 184, 185

tox

using 76, 77, 79

Transport Layer Security (TLS) 112

Twine project

reference link 228

U

Uniform Resource Locator (URL) 145

unit tests 63, 64, 65, 66, 67

universally unique identifier (UUID) 156

url_for function 37

use cases

limiting, usage of mocks 63

User Interface (UI) 9, 75

user stories 92, 93

V

valid classifiers

reference link 229

version control systems (VCS) 85, 86

virtualenv

reference link 27

Virtual Machines (VMs) 247

Virtual Machine (VM) 188

W

web application firewall 195

web resources

calling 142, 143, 144

Web Server Gateway Interface (WSGI) 16, 28

web services

working with 16

WebTest, testing applications

reference link 70

Windows Subsystem for Linux (WSL2) 249

WTForms 116

X

X.509 certificate-based authentication 170, 171, 173

URL 170

Index

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.136.97.64