I'm blogging about Emacs, Drupal, php and exciting subjects

· Lars Nielsen

The Boring Door

A cryptominer showed up on production twice in one morning. The interesting part wasn't the malware — it was how ordinary the way in turned out to be, and how many wrong turns it took to find it.

Read article The Boring Door
· Lars Nielsen

Doctrine proxies are going away: PHP 8.4 lazy objects explained

If you have ever wondered why Doctrine entities cannot be final, this is the article that answers it. And the answer stops being true in PHP 8.4.

This is the largest change in the Symfony 8 and Doctrine 4 move, and it is not really a framework change at all. It is a PHP language feature removing the need for a fifteen-year-old workaround.

Read article Doctrine proxies are going away: PHP 8.4 lazy objects explained
· Lars Nielsen

Adding a second OpenSearch node: what you get, and what you don't

I have two servers and one OpenSearch node. The obvious move is to put a node on the second server and call it a cluster.

That works, and it is worth doing. But it does not give you high availability, and the reason is counterintuitive enough that a lot of people find out during their first outage. So this article covers the setup and the limitation together.

Read article Adding a second OpenSearch node: what you get, and what you don't
Subscribe to Linkhub