Skip to content

Commit

Permalink
docs(pubsub): copy
Browse files Browse the repository at this point in the history
  • Loading branch information
neurosnap committed Oct 9, 2024
1 parent ab36563 commit 215a842
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions pubsub/html/marketing.page.tmpl
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{{template "base" .}}

{{define "title"}}pubsub using ssh{{end}}
{{define "title"}}pipe: pubsub using ssh{{end}}

{{define "meta"}}
<meta name="description" content="pubsub using ssh" />
<meta name="description" content="pico's managed pubsub service using ssh" />

<meta property="og:type" content="website">
<meta property="og:site_name" content="{{.Site.Domain}}">
Expand All @@ -28,10 +28,10 @@
<div>
<p>
The simplest authenticated pubsub system. Send messages through
user-defined topics. By default, topics are private to the authenticated
user-defined topics (aka channels). By default, topics are private to the authenticated
ssh user. The default pubsub model is multicast with bidirectional
blocking, meaning a publisher (<code>pub</code>) will send its message to all
subscribers (<code>sub</code>) for a topic (channels). There can be many publishers
subscribers (<code>sub</code>) for a topic. There can be many publishers
and many subscribers on a topic. Further, both <code>pub</code> and
<code>sub</code> will wait for at least one event to be sent or received on the topic.
</p>
Expand All @@ -47,6 +47,7 @@
<li>Multicast (many pubs to many subs)</li>
<li>Bidirectional (e.g. chat)</li>
<li>Configurable blocking characteristics for pubs</li>
<li>Configurable timeout for <code>pub</code></li>
<li>Paradigms for connecting to a topic:
<ol>
<li>Read (<code>sub</code>)</li>
Expand Down
4 changes: 2 additions & 2 deletions pubsub/public/anim.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ function init() {
maxY: canvas.height + 20,
// balls
entities: [
{ x: 20, y: 0, mod: 1 },
{ x: 18, y: 0, mod: 1 },
// { x: 25, y: canvas.height / 2, mod: 1 },
{ x: 35, y: canvas.height, mod: -1 },
{ x: 32, y: canvas.height, mod: -1 },
],
};

Expand Down

0 comments on commit 215a842

Please sign in to comment.