03 Jan 2025 - by 'Maurits van der Schee'
You can store PHP sessions in Memcache or Redis. High traffic websites with multiple application nodes choose either sticky sessions with file session storage (recommended) or centralized Memcache or Redis session storage. If you choose Memcache or Redis you should NOT...
Continue reading...01 Jan 2025 - by 'Maurits van der Schee'
Memcache is a very fast cache that is a great addition to MariaDB and PHP. It is simpler and more performant than Redis. I prefer Redis for session storage and Memcache for application caching in my (high-performance) PHP projects. Installing Memcache is very easy...
Continue reading...26 Dec 2024 - by 'Maurits van der Schee'
GopherCon Europe is a well known Go conference. We are listing the GopherCon Europe 2023 and 2024 conference videos. The videos are posted on the GopherCon Europe Youtube channel and are linked below...
Continue reading...28 Nov 2024 - by 'Maurits van der Schee'
I often choose Linux Mint XFCE when I need a good looking and comfortable system quick. But sometimes I'd rather have a more stable system and match what I have on the server, which is Debian 12 with XFCE. Unfortunately Debian with XFCE doesn't look as good as Mint with XFCE...
Continue reading...17 Nov 2024 - by 'Maurits van der Schee'
Data centers promise better and cheaper physical security, rented hardware, electricity and connectivity than you can have on-premise, because of the scale on which these companies operate. I think that is often true and that that's is why most companies moved their machines...
Continue reading...14 Nov 2024 - by 'Maurits van der Schee'
A client asked me: How does one scale software to handle 1 million websocket connections? At 1000k connections when every client sends only one message per 30 seconds you have to deal with 33333 websocket messages per second. Dealing with that many requests...
Continue reading...01 Oct 2024 - by 'Maurits van der Schee'
So, maybe your employer want you to use Windows. Obviously you still want to use Linux as you want to run whatever operating system your production servers run. If running Virtualbox or VMWare causes too much switching between environments then WSL...
Continue reading...25 Sep 2024 - by 'Maurits van der Schee'
In the previous post I showed how to do high frequency metrics in PHP with TCP sockets. In this post I'll show how to collect and combine metrics from multiple PHP application servers. Instead of sending the log lines from each server to a single node, the monotonically...
Continue reading...23 Sep 2024 - by 'Maurits van der Schee'
When you are running a high traffic website you may run multiple PHP servers to handle the load. When you want to track a performance metric (such as API or database calls) you may need to do some high frequent logging for performance analysis. In this blog post we present a standardized...
Continue reading...01 Sep 2024 - by 'Maurits van der Schee'
I don't like laptops, neither to own nor to work on. They are very costly, are hard to repair or upgrade and I get neck and back pain from working on them. I love to work at places where the desk is (properly) equipped with (height-adjustable) monitor, keyboard and mouse. Most...
Continue reading...