This issue is sponsored by Datadog. Big thank for datadog’s support and a solid monitoring tool for logs, metric and request traces. Check them out.
What I cannot create, I do not understand. In that spirit, this is a repo of links on how to create your own X. From game to database, to network stack…They are not fully featured but you got the point.
PostgreSQL query tuning tip. Look into some nice “OR” in a query, which turn out cause performance issue. How to rewrite them with “IN”, and “LIKE” with “ANY ARRAY”.
Bit hacks are ingenious little programming tricks that manipulate integers in a smart and efficient manner. Instead of performing some operation by looping over individual bits, these programming nuggets do the same with one or two carefully chosen bitwise operations.
A detail look into PostgreSQL streaming replication to scale read and provide HA. We look into write ahead log and different replication modes.
4 summarizes on K8S security. Also checkout “Securing your Linux web server” and sysdig guide on securing k8s components
Purpose of code review is to make it easier for everyone, and reduce bug since it’s easier to understand.
Look into use extensible record to restrict amount of data in a record a function can see so test is easier, no need to mock whole record, and one more less place to worry about mutation.
Wrong order of argument is a comment mistake. If we just rely on simple
type such as int
it may not enough to help discover the bug since
they mey all int. However, by wrapping them in a value class we can
spot the error sooner. The post is in Scale but they are applied to
any language
You can write the GUI side of the application in Dart (instead of one for Android, one for iOS), and the “back-end” mostly in Go (rather than duplicate the logic in Java/Kotlin and Objective-C/Swift), with only a thin glue-code layer written in the platform’s native language (in our case, Kotlin on Android, Swift on iOS).
Look into different popular consensus mechanisms of today work: Proof of work, proof of stake and Delegated Byzantine Fault Tolerance.
Track and alert on 200+ apps and services at any scale, in any environment. Get deep insights into health and performance with built-in dashboards, end-to-end request tracing, and logs in one integrated platform. Sign up for a free 14-day trial.
BetterDev Link
Every Monday