aboutsummaryrefslogtreecommitdiff
path: root/_posts/2020-03-22-simple-sse-based-pubsub-server.md
diff options
context:
space:
mode:
Diffstat (limited to '_posts/2020-03-22-simple-sse-based-pubsub-server.md')
-rw-r--r--_posts/2020-03-22-simple-sse-based-pubsub-server.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/_posts/2020-03-22-simple-sse-based-pubsub-server.md b/_posts/2020-03-22-simple-sse-based-pubsub-server.md
index 23a3640..ffb7285 100644
--- a/_posts/2020-03-22-simple-sse-based-pubsub-server.md
+++ b/_posts/2020-03-22-simple-sse-based-pubsub-server.md
@@ -39,7 +39,7 @@ simple. We have subscribers that receive messages, and we have publishers that
39create and post messages. Similar model is also well know pattern that works on 39create and post messages. Similar model is also well know pattern that works on
40a premise of consumers and producers, and they take similar roles. 40a premise of consumers and producers, and they take similar roles.
41 41
42![How PubSub works](/assets/posts/simple-pubsub-server/pubsub-overview.png) 42![How PubSub works](/assets/posts/simple-pubsub-server/pubsub-overview.png){:loading="lazy"}
43 43
44**These are some naive characteristics we want to achieve:** 44**These are some naive characteristics we want to achieve:**
45 45
@@ -75,7 +75,7 @@ page](https://html.spec.whatwg.org/multipage/server-sent-events.html).
75 75
76### Current browser support 76### Current browser support
77 77
78![Browser support](/assets/posts/simple-pubsub-server/caniuse.png) 78![Browser support](/assets/posts/simple-pubsub-server/caniuse.png){:loading="lazy"}
79 79
80Check 80Check
81[https://caniuse.com/#feat=eventsource](https://caniuse.com/#feat=eventsource) 81[https://caniuse.com/#feat=eventsource](https://caniuse.com/#feat=eventsource)
@@ -143,7 +143,7 @@ which is quite nice and available from Developer Tools under Network tab.
143> ones. For debugging server events add `console.log` to `server.js` code and 143> ones. For debugging server events add `console.log` to `server.js` code and
144> print out events. 144> print out events.
145 145
146![Google Chrome Developer Tools EventStream](/assets/posts/simple-pubsub-server/chrome-debugging.png) 146![Google Chrome Developer Tools EventStream](/assets/posts/simple-pubsub-server/chrome-debugging.png){:loading="lazy"}
147 147
148## Server implementation 148## Server implementation
149 149