Building a Secure, Performant Network Fabric for Microservice Applications
August 24, 2016
Building a Secure, Performant Network Fabric for Microservice - - PowerPoint PPT Presentation
Building a Secure, Performant Network Fabric for Microservice Applications August 24, 2016 Christopher Stetson Chief Architect, Professional Services NGINX MORE INFORMATION AT NGINX.COM Agenda Agenda A little NGINX History The
Building a Secure, Performant Network Fabric for Microservice Applications
August 24, 2016
Christopher Stetson
Chief Architect, Professional Services NGINX
Agenda Agenda
total sites running on NGINX
7 Source: http://news.netcraft.com/archives/category/web-server-survey/most visited websites
8 Source: W3Techs Web Technology SurveyCommercial Customers
High Performance Webserver
10Web Server
Flawless Application Delivery for the Modern Web
11Load Balancer Monitoring & Management Web Server Content Cache Security Controls
Binary is 1.2 MBs
12100,000’s of connections/sec
13Stablest part of the stack.
14Architectural Changes: Monolith to Microservices
Architectural Changes: Monolith to Microservices
The tight loop problem
Mitigation
Microservices Reference Architecture
design
Service Discovery
where other services are
many different ways
information
Load-balancing
Balancing
Secure & Fast Communication
transmission layer is becoming standard
slow
intensive
Solution
Proxy Model
managed through a reverse proxy/load balancer
themselves to connect to each other.
DNS
Proxy Model
Router Mesh Model
reverse proxy
balancing through a separate load balancing service
Circuit Breakers
Router Mesh
Inter-Process Communication
container level
forward and reverse proxy for all requests
Normal Process
DNS
new SSL connection which fully implemented is 9 requests
Detail
container
NGINX locally
service registry
Service Discovery
manage service discovery
Asynchronous Resolver
effectively use your resources
Load-balancing
distribution
backing service
schemes
Persistent SSL Connections
thousands of connections
negotiation
keepalive
Circuit Breaker Plus
The solution
balancing
connections
functionality
Docker Recommendation: 1 service per container
simple
container failure
*
Complexity
the stack
dev team
Fabric Model simple to create and deploy