Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 37
  1. Hello there 👋 Here is a small trick I use on our Kubernetes applications to make rollouts, autoscaling, and pod replacements a bit faster: I hack the startupProbe usage.

  2. If you open the analytics of any site you own, you will see it: a constant stream of requests for paths you never created. /.env, /wp-login.php, /.git/config, /config/.env, /backup.sql.

  3. How to Add PostHog Analytics to Astro

    This guide shows how to add PostHog analytics to an Astro site, first with the standard script snippet, then with Partytown to move PostHog off the main thread and boost performance (lighthouse score 😁).

  4. Cloudflare D1 is great when you build on Cloudflare, but at some point your database becomes more than just application state.

  5. My new programming language is not TypeScript, Python, Go, or even Rust.

  6. Two things really annoyed me with GitHub notifications.

  7. As a developer working on both personal and professional projects, you might find yourself needing to use different SSH keys and email addresses when committing to GitHub.

  8. Hello there, and welcome to the first rant on this blog.

  9. The default timeout of the AWS Elastic Load Balancer (ELB) is 60 seconds.

  10. In today’s world where data breaches are increasingly common, secure logging is not just important - it’s absolutely essential.

  11. Hello there, If you are using Kubernetes, you are most likely using a tool to automatically scale your cluster nodes up and down based on the number of pods running on your cluster and the resource usage (CPU/Memory).

  12. I have seen and added many times in nodeJS codebases the following snippet: const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms)); Well, today I learned that nodeJS has a native API for that: setTimeout(). // https://nodejs.org/api/tim…

  13. A standard way of exposing metrics for a nodeJS application is to use the prom-client package, which has everything one would need.

  14. For production-grade applications, actions like reading a big file in memory is not ideal as they might cause OOM crash (Out Of Memory), and require a lot of resources for sometimes a really short duration.

  15. When running Kubernetes workflows, most people tend to keep the stateless applications like applications on the cluster, and the stateful applications like databases outside of the cluster, on the same VPC.

  16. This is a small post about sending neat slack notifications from Github Actions.

  17. The grafana cloud free plan is amazing for most of personal projects!

  18. Native logging for your NPM package

    When working with nodejs, if you are coding a NPM package, you might want to keep your package light but with basic logging.

  19. You have probably deployed Traefik as your Ingress Controller, and it gives HTTPS but you still need to hardcode certificates?

  20. Postmortem Culture: Learning from Failure At my work, we constantly grow and add new services while managing all the previous stacks built over the years.

  21. Local kubernetes cluster with ingress

    For a local cluster, I stopped using Minikube and now only use KinD (Kubernetes in Docker), that use docker containers as kubernetes nodes.

  22. Yesterday, I was working on deploying features/PRs environments on the fly for a multi-tenancy Laravel app.

  23. Sometimes, you may want your containers to wait for another service to be reachable before starting them.

  24. This post is about a small and simple process to add Continuous Deployment to some projects where 0-downtime deployment is not needed.

  25. Hosting images on Google Drive

    Making the permissions public of an image on Google Drive gives you a link https://drive.google.com/file/d/1sqnSpR_o1SKGGQeX8K6SnmYgI8ONfhMD, letting you share the file/image with anyone.

  26. You know that moment when you are in local, trying to code a first version of a task.

  27. Limit docker logs size

    Hello!

  28. CKA feedbacks

    Those are the advises that worked for me: Real-world use-cases# Experiment and learn Kubernetes basics with real-world usage.

  29. Some times ago, I changed the default DNS used by my Mac wih the ones from cloudflare 1.1.1.1.

  30. Should I put this value in the .env?

    A few months ago, someone asked a question on a discord channel I frequent.

  31. No more passwords

    Okay, today let’s see together why SSH & ED-25519 can simplify your life.

  32. Faster searches with Firefox

    This post is about 2 things: improve time spent on searches, and improve time to reach your bookmarks.

  33. Check SSH connections

    The other day, I needed to check if all servers I supervised were available to SSH.

  34. Have you ever heard about the https://haveibeenpwned.com/ website?

  35. Welcome quotes in terminal

    The other day I was in a total mess, running into multiple errors after trying to adapt a big code-base to my needs.

  36. The password problematic# Nowadays, with the high risk of passwords hacking, if someone finds your password, he can easily access to your account.

  37. Internet self-defense guide

    After talking with friends and family, I realized that a lot of them were not aware of some facts with the Internet, so let’s take a look at 7 basics. 1 - Use HTTPS# A lot of misconceptions orbit around HTTPS.