TQ
dev.com

Blog about software development

Subscribe

Creating 103mail.com - Update 2

30 Mar 2025 - by 'Maurits van der Schee'

A while ago I told you about the free email service I'm building that respects privacy and prevents profiling on 103mail.com. The reason? Microsoft and Google operate most of the world's email services and because email messages often contain all previous content, they...

Continue reading...

A laptop I can learn to love: HP 17-cp3076nd

19 Feb 2025 - by 'Maurits van der Schee'

I don't like laptops. They are slow, have small screens and horrible keyboards and track pads. When I have to work on them for a longer period of time my back starts to ache. Next to that they often can't be upgraded or repaired, because the storage and memory are soldered or glued...

Continue reading...

Store PHP sessions in Memcache or Redis

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...

Install PHP memcache in PHP 8.3

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...

GopherCon Europe 2024 and 2023

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...

Install Debian 12 with modern XFCE themes

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...

Can you afford to cloud compute?

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...

Scaling to 1 million websockets in PHP

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...

Running Debian 12 on Windows with WSL 2

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...

Distributed metrics in PHP using Go and Gob

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...