feat: more blogs
parent
25b5ff72f9
commit
25957eb36b
|
@ -47,33 +47,34 @@
|
||||||
re-write to cache
|
re-write to cache
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<pre lang="mermaid"><code>sequenceDiagram
|
<div class="highlight highlight-source-mermaid">
|
||||||
participant other
|
<pre><span class="pl-k">sequenceDiagram</span>
|
||||||
participant service
|
<span class="pl-k">participant</span> <span class="pl-ent">other</span>
|
||||||
participant cache
|
<span class="pl-k">participant</span> <span class="pl-ent">service</span>
|
||||||
participant db
|
<span class="pl-k">participant</span> <span class="pl-ent">cache</span>
|
||||||
|
<span class="pl-k">participant</span> <span class="pl-ent">db</span>
|
||||||
|
|
||||||
other ->> service: get data
|
<span class="pl-ent">other </span><span class="pl-k">->></span> <span class="pl-ent">service</span><span class="pl-k">:</span> <span class="pl-s">get data</span>
|
||||||
activate service
|
<span class="pl-k">activate</span> <span class="pl-ent">service</span>
|
||||||
service ->> cache: get data
|
<span class="pl-ent">service </span><span class="pl-k">->></span> <span class="pl-ent">cache</span><span class="pl-k">:</span> <span class="pl-s">get data</span>
|
||||||
alt exist in cache
|
<span class="pl-k">alt</span> <span class="pl-s">exist in cache</span>
|
||||||
service -->> other: return data
|
<span class="pl-ent">service </span><span class="pl-k">-->></span> <span class="pl-ent">other</span><span class="pl-k">:</span> <span class="pl-s">return data</span>
|
||||||
else not exist in cache
|
<span class="pl-k">else</span> <span class="pl-s">not exist in cache</span>
|
||||||
service ->> db: get data
|
<span class="pl-ent">service </span><span class="pl-k">->></span> <span class="pl-ent">db</span><span class="pl-k">:</span> <span class="pl-s">get data</span>
|
||||||
alt exist data in db
|
<span class="pl-k">alt</span> <span class="pl-s">exist data in db</span>
|
||||||
service -->> other: return data
|
<span class="pl-ent">service </span><span class="pl-k">-->></span> <span class="pl-ent">other</span><span class="pl-k">:</span> <span class="pl-s">return data</span>
|
||||||
else not exist data in db
|
<span class="pl-k">else</span> <span class="pl-s">not exist data in db</span>
|
||||||
service -->> other: return error not found
|
<span class="pl-ent">service </span><span class="pl-k">-->></span> <span class="pl-ent">other</span><span class="pl-k">:</span> <span class="pl-s">return error not found</span>
|
||||||
end
|
<span class="pl-k">end</span>
|
||||||
end
|
<span class="pl-k">end</span>
|
||||||
deactivate service
|
<span class="pl-k">deactivate</span> <span class="pl-ent">service</span>
|
||||||
|
|
||||||
other ->> service: set data
|
<span class="pl-ent">other </span><span class="pl-k">->></span> <span class="pl-ent">service</span><span class="pl-k">:</span> <span class="pl-s">set data</span>
|
||||||
activate service
|
<span class="pl-k">activate</span> <span class="pl-ent">service</span>
|
||||||
service ->> db: set data
|
<span class="pl-ent">service </span><span class="pl-k">->></span> <span class="pl-ent">db</span><span class="pl-k">:</span> <span class="pl-s">set data</span>
|
||||||
service ->> cache: set data
|
<span class="pl-ent">service </span><span class="pl-k">->></span> <span class="pl-ent">cache</span><span class="pl-k">:</span> <span class="pl-s">set data</span>
|
||||||
deactivate service
|
<span class="pl-k">deactivate</span> <span class="pl-ent">service</span></pre>
|
||||||
</code></pre>
|
</div>
|
||||||
<p>It's good for general cases, for example with CRUD action.</p>
|
<p>It's good for general cases, for example with CRUD action.</p>
|
||||||
<p>
|
<p>
|
||||||
The bad things happen when cache and database are not consistent. For
|
The bad things happen when cache and database are not consistent. For
|
||||||
|
|
|
@ -0,0 +1,84 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
|
<link
|
||||||
|
rel="stylesheet"
|
||||||
|
href="https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/5.2.0/github-markdown.min.css"
|
||||||
|
/>
|
||||||
|
<title>haunt98 posts</title>
|
||||||
|
</head>
|
||||||
|
<style>
|
||||||
|
.markdown-body {
|
||||||
|
box-sizing: border-box;
|
||||||
|
min-width: 200px;
|
||||||
|
max-width: 980px;
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 45px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 767px) {
|
||||||
|
.markdown-body {
|
||||||
|
padding: 15px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<body class="markdown-body">
|
||||||
|
<h2>
|
||||||
|
<a href="index.html"><code>~</code></a>
|
||||||
|
</h2>
|
||||||
|
<h1 id="user-content-bloguru">
|
||||||
|
<a class="heading-link" href="#bloguru"
|
||||||
|
>Bloguru<span aria-hidden="true" class="octicon octicon-link"></span
|
||||||
|
></a>
|
||||||
|
</h1>
|
||||||
|
<p>No intro, this is list of RSS reader I follow:</p>
|
||||||
|
<pre><code>http://antirez.com/rss
|
||||||
|
http://matt3o.com/feed/
|
||||||
|
http://tonsky.me/blog/atom.xml
|
||||||
|
https://begriffs.com/atom.xml
|
||||||
|
https://blog.jonlu.ca/feed.xml
|
||||||
|
https://blog.rust-lang.org/feed.xml
|
||||||
|
https://blog.wesleyac.com/feed.xml
|
||||||
|
https://brandur.org/atoms
|
||||||
|
https://danielms.site/index.xml
|
||||||
|
https://drewdevault.com/blog/index.xml
|
||||||
|
https://emersion.fr/blog/atom.xml
|
||||||
|
https://fabiensanglard.net/rss.xml
|
||||||
|
https://fasterthanli.me/index.xml
|
||||||
|
https://furbo.org/feed
|
||||||
|
https://go.dev/blog/feed.atom
|
||||||
|
https://goughlui.com/feed/
|
||||||
|
https://grumpy.website/feed.xml
|
||||||
|
https://kristoff.it/index.xml
|
||||||
|
https://michael.stapelberg.ch/feed.xml
|
||||||
|
https://mitchellh.com/feed.xml
|
||||||
|
https://mtlynch.io/index.xml
|
||||||
|
https://neil.computer/rss
|
||||||
|
https://nora.codes/index.xml
|
||||||
|
https://ntietz.com/atom.xml
|
||||||
|
https://robertheaton.com/feed.xml
|
||||||
|
https://utcc.utoronto.ca/~cks/space/blog/?atom
|
||||||
|
https://www.basicappleguy.com/basicappleblog?format=rss
|
||||||
|
https://www.codemadness.org/atom_content.xml
|
||||||
|
https://www.copetti.org/index.xml
|
||||||
|
https://www.jeffgeerling.com/blog.xml
|
||||||
|
https://www.thecodedmessage.com/index.xml
|
||||||
|
https://www.workspaces.xyz/p/rss.xml
|
||||||
|
https://ziglang.org/news/index.xml
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
Feel free to ask me via
|
||||||
|
<a href="mailto:hauvipapro+posts@gmail.com">email</a> or
|
||||||
|
<a rel="me" href="https://hachyderm.io/@haunguyen">Mastodon</a>.
|
||||||
|
<br />Source code is available on
|
||||||
|
<a href="https://github.com/haunt98/posts-go">GitHub</a>
|
||||||
|
<a href="https://codeberg.org/yoshie/posts-go">Codeberg</a>
|
||||||
|
<a href="https://git.sr.ht/~youngyoshie/posts-go">sourcehut</a>
|
||||||
|
<a href="https://gitea.treehouse.systems/yoshie/posts-go">Treehouse</a>
|
||||||
|
<a href="https://gitlab.com/youngyoshie/posts-go">GitLab</a>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -63,6 +63,12 @@
|
||||||
<li><a href="2023-07-02-fandroid.html">F(an) android</a></li>
|
<li><a href="2023-07-02-fandroid.html">F(an) android</a></li>
|
||||||
<li><a href="2023-07-30-cache-shenanigan.html">Cache shenanigan</a></li>
|
<li><a href="2023-07-30-cache-shenanigan.html">Cache shenanigan</a></li>
|
||||||
<li><a href="2023-08-09-vscode.html">VSCode</a></li>
|
<li><a href="2023-08-09-vscode.html">VSCode</a></li>
|
||||||
|
<li><a href="2023-08-20-hardware.html">Hardware 101</a></li>
|
||||||
|
<li>
|
||||||
|
<a href="2023-08-23-real-world-crypto.html">Real World Crypto 101</a>
|
||||||
|
</li>
|
||||||
|
<li><a href="2023-09-14-vietnam-survivor.html">Vietnam survivor</a></li>
|
||||||
|
<li><a href="2023-09-23-bloguru.html">Bloguru</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
|
|
@ -0,0 +1,39 @@
|
||||||
|
# Bloguru
|
||||||
|
|
||||||
|
No intro, this is list of RSS reader I follow:
|
||||||
|
|
||||||
|
```
|
||||||
|
http://antirez.com/rss
|
||||||
|
http://matt3o.com/feed/
|
||||||
|
http://tonsky.me/blog/atom.xml
|
||||||
|
https://begriffs.com/atom.xml
|
||||||
|
https://blog.jonlu.ca/feed.xml
|
||||||
|
https://blog.rust-lang.org/feed.xml
|
||||||
|
https://blog.wesleyac.com/feed.xml
|
||||||
|
https://brandur.org/atoms
|
||||||
|
https://danielms.site/index.xml
|
||||||
|
https://drewdevault.com/blog/index.xml
|
||||||
|
https://emersion.fr/blog/atom.xml
|
||||||
|
https://fabiensanglard.net/rss.xml
|
||||||
|
https://fasterthanli.me/index.xml
|
||||||
|
https://furbo.org/feed
|
||||||
|
https://go.dev/blog/feed.atom
|
||||||
|
https://goughlui.com/feed/
|
||||||
|
https://grumpy.website/feed.xml
|
||||||
|
https://kristoff.it/index.xml
|
||||||
|
https://michael.stapelberg.ch/feed.xml
|
||||||
|
https://mitchellh.com/feed.xml
|
||||||
|
https://mtlynch.io/index.xml
|
||||||
|
https://neil.computer/rss
|
||||||
|
https://nora.codes/index.xml
|
||||||
|
https://ntietz.com/atom.xml
|
||||||
|
https://robertheaton.com/feed.xml
|
||||||
|
https://utcc.utoronto.ca/~cks/space/blog/?atom
|
||||||
|
https://www.basicappleguy.com/basicappleblog?format=rss
|
||||||
|
https://www.codemadness.org/atom_content.xml
|
||||||
|
https://www.copetti.org/index.xml
|
||||||
|
https://www.jeffgeerling.com/blog.xml
|
||||||
|
https://www.thecodedmessage.com/index.xml
|
||||||
|
https://www.workspaces.xyz/p/rss.xml
|
||||||
|
https://ziglang.org/news/index.xml
|
||||||
|
```
|
|
@ -29,3 +29,7 @@ This is where I dump my thoughts.
|
||||||
- [F(an) android](2023-07-02-fandroid.html)
|
- [F(an) android](2023-07-02-fandroid.html)
|
||||||
- [Cache shenanigan](2023-07-30-cache-shenanigan.html)
|
- [Cache shenanigan](2023-07-30-cache-shenanigan.html)
|
||||||
- [VSCode](2023-08-09-vscode.html)
|
- [VSCode](2023-08-09-vscode.html)
|
||||||
|
- [Hardware 101](2023-08-20-hardware.html)
|
||||||
|
- [Real World Crypto 101](2023-08-23-real-world-crypto.html)
|
||||||
|
- [Vietnam survivor](2023-09-14-vietnam-survivor.html)
|
||||||
|
- [Bloguru](2023-09-23-bloguru.html)
|
||||||
|
|
Loading…
Reference in New Issue