Node.js Micro Analytic Events Server - Code with Hugo - Sept 10th 2019
Hot off the press
Record analytics events with a Zeit “micro” + SQLite3 Node.js application: In order to finally switch off Google Analytics, I need to replace my goal conversion tracking somehow.
In Code with Hugo performance improvements this week. I got rid of Google Analytics. It’s just Simple Analytics and my custom event recording service backed by SQLite.
The August Update for Code with Hugo is out, thanks to everyone on the newsletter
August Update for Code with Hugo 👀Pageviews: 75k (+10%) 📩 Subscribers: 429 (+1%) #openstartup #open
If you missed it
Avoiding recursion pitfalls: MongoDB nested query clause addition and removal: A case-study on where recursion can be useful for enterprise Node.js applications and how to avoid its common pitfalls like RangeError: Maximum call stack size exceeded.
Yarn Workspaces: monorepo management without Lerna for applications and coding examples: How to use Yarn Workspaces to manage applications/coding examples.
How to run Jest tests sequentially: By default Jest runs tests in parallel with a “a worker pool of child processes that run tests” (Jest CLI docs).
Detect if the current file/module is the entrypoint or import/require-d in Node.js: How does one identify whether a JavaScript file is being run directly (node file.js) or it’s being import/require-d (require(‘./file’) in another JS file).
From the web
Jepsen: etcd and Consul by : In the previous post, we discovered the potential for data loss in RabbitMQ clusters. In this oft-requested installation of the Jepsen series, we’ll look at etcd: a new contender in the CP coordination service arena. We’ll also discuss Consul’s findings with Jepsen.
Ramblings from Jessie: The Business Executive’s Guide to Kubernetes: I thought it would be fun to write a post aimed towards business leaders making technology decisions for their organizations. There is a lot of hype in our field and little truth behind the hype.
Apple bleee. Everyone knows What Happens on Your iPhone by hexway: Users value their privacy, and Apple understands that. We even see related PR activities. Apple devices are appreciated for the ecosystem that connects them all. It really is very convenient to start using an app on one device and continue on another.
Goodbye Docker: Purging is Such Sweet Sorrow by zwischenzugs: After 6 years, I removed Docker from all my home servers. This was triggered by a recurring incident I faced where the Docker daemon was using 100% CPU on multiple cores that made the host effectively unusable.