Skip to content

Instantly share code, notes, and snippets.

@EliFuzz
EliFuzz / Overview Table: Load Balancer Algorithms.md
Created August 30, 2023 16:42
Overview Table: Load Balancer Algorithms

| Algorithm | Description | Type | Pros | Cons | Use Cases | | ---------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------- | --------------------------------------

@EliFuzz
EliFuzz / Comparison Table: Kube-proxy Modes.md
Created August 30, 2023 09:37
Comparison Table: Kube-proxy Modes
Mode Description Advantages Disadvantages
Userspace Initial default mode, watches Kubernetes API server for changes in services and endpoints, creates userspace proxy server for each service port
@EliFuzz
EliFuzz / Overview Table: Challenges of Load Balancing.MD
Created August 30, 2023 09:21
Overview Table: Challenges of Load Balancing
Aspect Description Example Solution
Data Synchronization Data inconsistency issues among multiple servers or resources User updates profile on one server but not on another Implement data replication, caching, locking
Session Persistence Disrupted user sessions due to lack of shared session information User loses authentication or shopping
@EliFuzz
EliFuzz / Overview Table: Recommendations for Selecting the Right Service Mesh Option.md
Created August 29, 2023 17:27
Overview Table: Recommendations for Selecting the Right Service Mesh Option
Aspect Istio Linkerd Consul Connect
Complexity Advanced feature set, suitable for complex, distributed systems Simpler approach, easier to learn and operate Limited features, suitable for small-scale applications
Scalability High scalability, suitable for large-scale applications Lower scalability, suitable for smaller applications Low scalability, suitable for small-scale applications
Security Robust security features, suitable for sensitive applications Basic security features Limited security features, not suitable for sensitive
@EliFuzz
EliFuzz / Overview Table: Popular Service Mesh Options.md
Created August 29, 2023 17:26
Overview Table: Popular Service Mesh Options
@EliFuzz
EliFuzz / Overview Table: Service Mesh. Observability and Tracing.md
Created August 29, 2023 17:00
Overview Table: Service Mesh. Observability and Tracing
Aspect Description
Metrics Collection Service meshes collect metrics about service performance, latency, error rates, and other relevant indicators. Helps identify bottlenecks, troubleshoot issues, and optimize service behavior. Popular monitoring system Integrations include Prometheus with Istio and Linked
Logging Service meshes generate logs containing information about incomin
@EliFuzz
EliFuzz / Overview Table: Service Mesh. Security.md
Created August 29, 2023 16:58
Overview Table: Service Mesh. Security
Aspect Description
Encryption Service meshes encrypt communications between services using industry-standard protocols such as TLS or SSL. Default enablement by Istio ensures confidentiality and tamper-proofing of data transmitted between services
Authentication Service meshes use standard authentication protocols like OIDC or JWT to authenticate clients and service
@EliFuzz
EliFuzz / Overview Table: Service Mesh. Resilience and Fault Tolerance.md
Created August 29, 2023 16:45
Overview Table: Service Mesh. Resilience and Fault Tolerance
Aspect Description
Retry Policies Configure the number of retries, delay between retries, and other parameters when a service fails to respond. Helps prevent cascading failures and reduce the likelihood of timeouts. Envoy, a popular service mesh proxy, offers robust retry policies out of the box
Timeouts Set timeouts for individual services or circuits to prevent hung requests that can cause service instability. The service mesh can redirect the request t
@EliFuzz
EliFuzz / Overview Table: Service Mesh. Blue-Green Deployments.md
Created August 29, 2023 16:38
Overview Table: Service Mesh. Blue-Green Deployments
Aspect Description
Dual-Track Development Developing two branches of a service in parallel, one for bug fixes and maintenance (blue branch), and another for new features and innovation (green branch)
Continuous Integration and Deployment Automating the build, test, and deployment processes using continuous integration and deployment (CI/CD) pipelines
Traffic Shifting Gradually routing traffic from the old version (blue) to the new version (green) after the new version has been verified and validated
@EliFuzz
EliFuzz / Overview Table: Service Mesh. Canary Releases.md
Created August 29, 2023 16:36
Overview Table: Service Mesh. Canary Releases
Aspect Definition
Gradual Rollout Incremental introduction of a new service version into production, starting with a small percentage of traffic and gradually increasing
A/B Testing Compares the performance of two versions of a service, typically the old and new versions, to evaluate the effectiveness of changes
Rolling Update Upgrading instances of a service one at a time, rather than all at once, to minimize disruption and ensure availability