提交 1eafb46b 编写于 作者: I Ilkka Seppälä

Update links and tags

上级 2ee5789c
...@@ -5,7 +5,8 @@ folder: ambassador ...@@ -5,7 +5,8 @@ folder: ambassador
permalink: /patterns/ambassador/ permalink: /patterns/ambassador/
categories: Structural categories: Structural
tags: tags:
- Decoupling - Decoupling
- Cloud distributed
--- ---
## Intent ## Intent
...@@ -22,8 +23,7 @@ In plain words ...@@ -22,8 +23,7 @@ In plain words
Microsoft documentation states Microsoft documentation states
> An ambassador service can be thought of as an out-of-process proxy that is co-located with the client. > An ambassador service can be thought of as an out-of-process proxy that is co-located with the client. This pattern can be useful for offloading common client connectivity tasks such as monitoring, logging, routing, security (such as TLS), and resiliency patterns in a language agnostic way. It is often used with legacy applications, or other applications that are difficult to modify, in order to extend their networking capabilities. It can also enable a specialized team to implement those features.
This pattern can be useful for offloading common client connectivity tasks such as monitoring, logging, routing, security (such as TLS), and resiliency patterns in a language agnostic way. It is often used with legacy applications, or other applications that are difficult to modify, in order to extend their networking capabilities. It can also enable a specialized team to implement those features.
**Programmatic Example** **Programmatic Example**
......
...@@ -5,7 +5,8 @@ folder: caching ...@@ -5,7 +5,8 @@ folder: caching
permalink: /patterns/caching/ permalink: /patterns/caching/
categories: Behavioral categories: Behavioral
tags: tags:
- Performance - Performance
- Cloud distributed
--- ---
## Intent ## Intent
...@@ -25,4 +26,4 @@ Use the Caching pattern(s) when ...@@ -25,4 +26,4 @@ Use the Caching pattern(s) when
* [Write-through, write-around, write-back: Cache explained](http://www.computerweekly.com/feature/Write-through-write-around-write-back-Cache-explained) * [Write-through, write-around, write-back: Cache explained](http://www.computerweekly.com/feature/Write-through-write-around-write-back-Cache-explained)
* [Read-Through, Write-Through, Write-Behind, and Refresh-Ahead Caching](https://docs.oracle.com/cd/E15357_01/coh.360/e15723/cache_rtwtwbra.htm#COHDG5177) * [Read-Through, Write-Through, Write-Behind, and Refresh-Ahead Caching](https://docs.oracle.com/cd/E15357_01/coh.360/e15723/cache_rtwtwbra.htm#COHDG5177)
* [Cache-Aside](https://msdn.microsoft.com/en-us/library/dn589799.aspx) * [Cache-Aside pattern](https://docs.microsoft.com/en-us/azure/architecture/patterns/cache-aside)
...@@ -5,8 +5,9 @@ folder: circuit-breaker ...@@ -5,8 +5,9 @@ folder: circuit-breaker
permalink: /patterns/circuit-breaker/ permalink: /patterns/circuit-breaker/
categories: Behavioral categories: Behavioral
tags: tags:
- Performance - Performance
- Decoupling - Decoupling
- Cloud distributed
--- ---
## Intent ## Intent
...@@ -187,4 +188,4 @@ Use the Circuit Breaker pattern when ...@@ -187,4 +188,4 @@ Use the Circuit Breaker pattern when
* [Understanding Circuit Breaker Pattern](https://itnext.io/understand-circuitbreaker-design-pattern-with-simple-practical-example-92a752615b42) * [Understanding Circuit Breaker Pattern](https://itnext.io/understand-circuitbreaker-design-pattern-with-simple-practical-example-92a752615b42)
* [Martin Fowler on Circuit Breaker](https://martinfowler.com/bliki/CircuitBreaker.html) * [Martin Fowler on Circuit Breaker](https://martinfowler.com/bliki/CircuitBreaker.html)
* [Fault tolerance in a high volume, distributed system](https://medium.com/netflix-techblog/fault-tolerance-in-a-high-volume-distributed-system-91ab4faae74a) * [Fault tolerance in a high volume, distributed system](https://medium.com/netflix-techblog/fault-tolerance-in-a-high-volume-distributed-system-91ab4faae74a)
* [Microsoft docs](https://docs.microsoft.com/en-us/azure/architecture/patterns/circuit-breaker) * [Circuit Breaker pattern](https://docs.microsoft.com/en-us/azure/architecture/patterns/circuit-breaker)
...@@ -5,8 +5,8 @@ folder: cqrs ...@@ -5,8 +5,8 @@ folder: cqrs
permalink: /patterns/cqrs/ permalink: /patterns/cqrs/
categories: Architectural categories: Architectural
tags: tags:
- Performance - Performance
- Cloud distributed - Cloud distributed
--- ---
## Intent ## Intent
...@@ -18,12 +18,13 @@ CQRS Command Query Responsibility Segregation - Separate the query side from the ...@@ -18,12 +18,13 @@ CQRS Command Query Responsibility Segregation - Separate the query side from the
## Applicability ## Applicability
Use the CQRS pattern when Use the CQRS pattern when
* you want to scale the queries and commands independently. * You want to scale the queries and commands independently.
* you want to use different data models for queries and commands. Useful when dealing with complex domains. * You want to use different data models for queries and commands. Useful when dealing with complex domains.
* you want to use architectures like event sourcing or task based UI. * You want to use architectures like event sourcing or task based UI.
## Credits ## Credits
* [Greg Young - CQRS, Task Based UIs, Event Sourcing agh!](http://codebetter.com/gregyoung/2010/02/16/cqrs-task-based-uis-event-sourcing-agh/) * [Greg Young - CQRS, Task Based UIs, Event Sourcing agh!](http://codebetter.com/gregyoung/2010/02/16/cqrs-task-based-uis-event-sourcing-agh/)
* [Martin Fowler - CQRS](https://martinfowler.com/bliki/CQRS.html) * [Martin Fowler - CQRS](https://martinfowler.com/bliki/CQRS.html)
* [Oliver Wolf - CQRS for Great Good](https://www.youtube.com/watch?v=Ge53swja9Dw) * [Oliver Wolf - CQRS for Great Good](https://www.youtube.com/watch?v=Ge53swja9Dw)
* [Command and Query Responsibility Segregation (CQRS) pattern](https://docs.microsoft.com/en-us/azure/architecture/patterns/cqrs)
...@@ -5,7 +5,8 @@ folder: event-sourcing ...@@ -5,7 +5,8 @@ folder: event-sourcing
permalink: /patterns/event-sourcing/ permalink: /patterns/event-sourcing/
categories: Architectural categories: Architectural
tags: tags:
- Performance - Performance
- Cloud distributed
--- ---
## Intent ## Intent
...@@ -30,3 +31,4 @@ Use the Event Sourcing pattern when ...@@ -30,3 +31,4 @@ Use the Event Sourcing pattern when
* [Martin Fowler - Event Sourcing] (https://martinfowler.com/eaaDev/EventSourcing.html) * [Martin Fowler - Event Sourcing] (https://martinfowler.com/eaaDev/EventSourcing.html)
* [Event Sourcing | Microsoft Docs] (https://docs.microsoft.com/en-us/azure/architecture/patterns/event-sourcing) * [Event Sourcing | Microsoft Docs] (https://docs.microsoft.com/en-us/azure/architecture/patterns/event-sourcing)
* [Reference 3: Introducing Event Sourcing] (https://msdn.microsoft.com/en-us/library/jj591559.aspx) * [Reference 3: Introducing Event Sourcing] (https://msdn.microsoft.com/en-us/library/jj591559.aspx)
* [Event Sourcing pattern](https://docs.microsoft.com/en-us/azure/architecture/patterns/event-sourcing)
...@@ -30,4 +30,4 @@ Do not use this pattern when ...@@ -30,4 +30,4 @@ Do not use this pattern when
## Credits ## Credits
* [ Cloud Design Patterns: Prescriptive Architecture Guidance for Cloud Applications](https://docs.microsoft.com/en-us/previous-versions/msp-n-p/dn568104(v=pandp.10)) * [Leader Election pattern](https://docs.microsoft.com/en-us/azure/architecture/patterns/leader-election)
...@@ -6,6 +6,7 @@ permalink: /patterns/priority-queue/ ...@@ -6,6 +6,7 @@ permalink: /patterns/priority-queue/
categories: Behavioral categories: Behavioral
tags: tags:
- Decoupling - Decoupling
- Cloud distributed
--- ---
## Intent ## Intent
...@@ -18,12 +19,11 @@ Applications may delegate specific tasks to other services; for example, to perf ...@@ -18,12 +19,11 @@ Applications may delegate specific tasks to other services; for example, to perf
![alt text](./etc/priority-queue.urm.png "Priority Queue pattern class diagram") ![alt text](./etc/priority-queue.urm.png "Priority Queue pattern class diagram")
## Applicability ## Applicability
Use the Property pattern when Use the Priority Queue pattern when
* The system must handle multiple tasks that might have different priorities. * The system must handle multiple tasks that might have different priorities.
* Different users or tenants should be served with different priority.. * Different users or tenants should be served with different priority..
## Real world examples ## Credits
* [ Priority Queue Pattern](https://docs.microsoft.com/en-us/previous-versions/msp-n-p/dn589794(v=pandp.10)) * [Priority Queue pattern](https://docs.microsoft.com/en-us/azure/architecture/patterns/priority-queue)
Microsoft Azure does not provide a queuing mechanism that natively support automatic prioritization of messages through sorting. However, it does provide Azure Service Bus topics and subscriptions, which support a queuing mechanism that provides message filtering, together with a wide range of flexible capabilities that make it ideal for use in almost all priority queue implementations.
...@@ -7,6 +7,7 @@ categories: Concurrency ...@@ -7,6 +7,7 @@ categories: Concurrency
tags: tags:
- Decoupling - Decoupling
- Performance - Performance
- Cloud distributed
--- ---
## Intent ## Intent
...@@ -32,4 +33,4 @@ for both the task and the service. ...@@ -32,4 +33,4 @@ for both the task and the service.
## Credits ## Credits
* [Microsoft Cloud Design Patterns: Queue-Based Load Leveling Pattern](https://msdn.microsoft.com/en-us/library/dn589783.aspx) * [Queue-Based Load Leveling pattern](https://docs.microsoft.com/en-us/azure/architecture/patterns/queue-based-load-leveling)
...@@ -6,6 +6,7 @@ permalink: /patterns/retry/ ...@@ -6,6 +6,7 @@ permalink: /patterns/retry/
categories: Behavioral categories: Behavioral
tags: tags:
- Performance - Performance
- Cloud distributed
--- ---
## Intent ## Intent
......
...@@ -46,3 +46,4 @@ Use the Saga pattern, if: ...@@ -46,3 +46,4 @@ Use the Saga pattern, if:
## Credits ## Credits
- [Pattern: Saga](https://microservices.io/patterns/data/saga.html) - [Pattern: Saga](https://microservices.io/patterns/data/saga.html)
- [Saga distributed transactions pattern](https://docs.microsoft.com/en-us/azure/architecture/reference-architectures/saga/saga)
...@@ -26,4 +26,4 @@ This pattern offers the following benefits: ...@@ -26,4 +26,4 @@ This pattern offers the following benefits:
## Credits ## Credits
* [Cloud Design Patterns: Prescriptive Architecture Guidance for Cloud Applications - Sharding Pattern](https://docs.microsoft.com/en-us/previous-versions/msp-n-p/dn589797(v=pandp.10)?redirectedfrom=MSDN) * [Sharding pattern](https://docs.microsoft.com/en-us/azure/architecture/patterns/sharding)
...@@ -6,6 +6,7 @@ permalink: /patterns/strangler/ ...@@ -6,6 +6,7 @@ permalink: /patterns/strangler/
categories: Structural categories: Structural
tags: tags:
- Extensibility - Extensibility
- Cloud distributed
--- ---
## Intent ## Intent
...@@ -25,7 +26,5 @@ so usually use it when the system is not so simple. ...@@ -25,7 +26,5 @@ so usually use it when the system is not so simple.
## Credits ## Credits
* [Strangler pattern](https://docs.microsoft.com/en-us/azure/architecture/patterns/strangler#context-and-problem) * [Strangler pattern](https://docs.microsoft.com/en-us/azure/architecture/patterns/strangler)
* [Legacy Application Strangulation : Case Studies](https://paulhammant.com/2013/07/14/legacy-application-strangulation-case-studies/) * [Legacy Application Strangulation : Case Studies](https://paulhammant.com/2013/07/14/legacy-application-strangulation-case-studies/)
...@@ -6,6 +6,7 @@ permalink: /patterns/throttling/ ...@@ -6,6 +6,7 @@ permalink: /patterns/throttling/
categories: Behavioral categories: Behavioral
tags: tags:
- Performance - Performance
- Cloud distributed
--- ---
## Intent ## Intent
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册