You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li><code>ConsoleUi</code> loads service implementations AND / OR proxies
195
195
<ul>
196
-
<li>if we comment out the implementations only proxies are loaded => always inter-process communication</li>
196
+
<li>if we comment out the load of the modules with implementation (in AppBoot bootstrapp) only proxies are loaded => always inter-process communication</li>
197
197
<li><code>ConsoleUi</code> may act like a FE app if does not load service implementations.
<li>If for one service (interface) both the implementation and the proxy is deployed, then the last one AppBoot finds orverwrites the previous
210
210
<ul>
211
-
<li>non deterministic
211
+
<li><strong>non deterministic!</strong>
212
212
<ul>
213
213
<li>even if the real implementation is deployed, it may not be used</li>
214
-
<li>ex1: <code>ConsoleUi</code> loads the <code>QuotationServices.dll</code>and <code>PortfolioService</code> we would expect a <em>in-process</em> communication
214
+
<li>ex1: (to have this demoed we might need to comment our the <code>PortfolioServiceProxy</code>othewise the non-deterministic behavior may make this tricky to demo)
215
215
<ul>
216
+
<li><code>ConsoleUi</code> loads the <code>QuotationServices.dll</code> and <code>PortfolioService.dll</code> we would expect a <em>in-process</em> communication</li>
216
217
<li>but! the <code>PortfolioService</code> may get a proxy to call the <code>QuotationService</code> this result in a <em>inter-process</em> communitcation between <code>PortfolioSerivce</code> and <code>QuotationService</code></li>
Copy file name to clipboardExpand all lines: InterProcessCommunication/TradingApp/.Notes/PresentationScript.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -138,15 +138,16 @@ class QuotationService : IQuotationService
138
138
139
139
**Points:**
140
140
-`ConsoleUi` loads service implementations AND / OR proxies
141
-
- if we comment out the implementations only proxies are loaded => always inter-process communication
141
+
- if we comment out the load of the modules with implementation (in AppBoot bootstrapp) only proxies are loaded => always inter-process communication
142
142
-`ConsoleUi` may act like a FE app if does not load service implementations.
143
143
- It always calls services as inter-proc
144
144
- just through deployment `ConsoleUi` may call services *in-process* or *inter-process*
145
145
- play w/ `PortfolioService` and w/ `QuotationService`
146
146
- If for one service (interface) both the implementation and the proxy is deployed, then the last one AppBoot finds orverwrites the previous
147
-
- non deterministic
147
+
-**non deterministic!**
148
148
- even if the real implementation is deployed, it may not be used
149
-
- ex1: `ConsoleUi` loads the `QuotationServices.dll` and `PortfolioService` we would expect a *in-process* communication
149
+
- ex1: (to have this demoed we might need to comment our the `PortfolioServiceProxy` othewise the non-deterministic behavior may make this tricky to demo)
150
+
-`ConsoleUi` loads the `QuotationServices.dll` and `PortfolioService.dll` we would expect a *in-process* communication
150
151
- but! the `PortfolioService` may get a proxy to call the `QuotationService` this result in a *inter-process* communitcation between `PortfolioSerivce` and `QuotationService`
151
152
- ex2:
152
153
-`ConsoleUi` loads only proxies, the communication between `PortfolioSerivce` and `QuotationService` happens on the `ConsoleHost` only, in process!
0 commit comments