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
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,9 +8,11 @@ A simple Node microservice to count the views of blogposts on `mxstbr.blog`.
8
8
-[`level`](https://github.com/level/level) to store the data.
9
9
-[`then-levelup`](https://github.com/then/then-levelup) to promisify `level`.
10
10
11
+
`views.mxstbr.blog` is hosted on a [DigitalOcean droplet](https://m.do.co/c/d371ed7f99af) (ref link) of the smallest size (5EUR/month), using `pm2` for running it on startup and nginx as a reverse proxy.
12
+
11
13
## Gotchas
12
14
13
-
Currently this uses `level` for data storage, which doesn't have atomic operations. That means a view that happens while another view is registered will override the first view.
15
+
Currently this uses promisified `level` for data storage, which doesn't have atomic operations.
0 commit comments