blog Starlite MK V and Arch Linux with Plasma Desktop
Recently I received my Starlite MK V Linux tablet / laptop. While it took a bit more than 6 weeks to get it delivered, I’m still happy I made the order.
Recently I received my Starlite MK V Linux tablet / laptop. While it took a bit more than 6 weeks to get it delivered, I’m still happy I made the order.
Well sometimes you have accumulated a setup which is not exactly foolproof but sufficient for the needs you have at the moment. I have such setup, where I have a lvm with multiple disks and xfs on top of that. This is the kind of setup where you say: “It will be fine”. But sometimes it can go fast.
How do we at Combell go from a release by the PHP maintainers to a deploy on production machines? How involved is such an update and can we go fast if it is really needed.
Most webbrowsers support brotli for a while now, but outside the big players it’s not so widely adopted, or so it seems. Once you start looking outside the really big websites and sites not behind something like CloudFlare, there’s not that many responses with brotli compressed.
The series of Proxying MySQL left one thing unanswered. How large is the difference between using local TCP or the socket. Yesterday I learned about socat, shame on me that I did not knew about this tool, so lets drop another remote test in there as well.
After running some tests with different proxies:
What can we decide and how do we will deploy and use MySQL.
We have previously done several synthetic benchmarks. To finalize the tests with different proxies we will test if we see impact on real life - yet demo - applications.
Therefore we have choosen to test with sample e-commerce sites, one based on WordPress, another based on Magento. Note we will not try to compare both platforms but measure the impact of the place of our mysql on the application.
When connecting to a remote MySQL server there can be a pretty big performance impact, just due the fact we are using TCP to transfer our data. Where connecting over a socket is usually blazingly fast, introducing TCP to do that might give us a performance penalty on our application. We have seen some information on local tests, but how do these behave in the real world. So we will need to test how these sysbench tests will behave on actual production hardware. How much performance drop we see when we actually connect remotely to MySQL and is the difference between the proxies still pretty big.
If we want to host our MySQL dabase on other machines, is there a way to easily passthrough our mysql traffic, and how much performance impact can we expect?
We’ll have to figure that out. But therefore we first have to start by understanding what the proxies can do and how to set those up.
We will try some proxies with sysbench and see what that gives us.
There is a enterprise counterpart of OpenLiteSpeed, LiteSpeed. LiteSpeed has the big advantage that you can just point it to your existing Apache httpd configuration and it should all work fine. That is not wat we are going to test. The statement is that LiteSpeed + LiteMage is a lot faster compared to a Varnish cache setup for Magento 2. The added statement is also its a lot easier to setup. We are comparing a paid product with an Open Source product, but they are technically competing in the same space.
OpenLiteSpeed looks like a nice and fancy webserver, but how does it compare in terms of performance to the webservers we usually use. We are mostly interested in how it compares to Apache httpd and Nginx.
After this blogpost was posted, the nice people of Litespeedtech reached out to verify some things. They found there is a big difference between siege and other stress test tools. So I’ll run the tests again with an updated siege configuration and see if it makes a huge difference. Once the new tests are completed, the blogpost will be updated and thisone will stay available for reference.
Since we all get used to use one piece of software, Lets stir up the pot. We
are mostly using nginx and apache httpd for webserver. But there is a
replacement for apache httpd which supports .htaccess
files, meaning we can
switch very easily to it, called OpenLitesSpeed. OpenLiteSpeed is the free
and Open Source “counterpart” of the LiteSpeed server by litespeedtech. It
claims to be faster than Nginx and Apache httpd. And as an extra, it can handle
.htaccess
files, so many applications will work just out-of-the-box.
Ever since the repo “kconfig-hardening-check” appeared I was interested to know what the potential impact was on performance when you apply all those changes. You can find the repo on Alexander Popov’s github: kconfig-hardening-check
Firecracker “Secure and fast microVMs for serverless computing”. That triggers a lot, secure, fast and serverless, so something with containers? So Lets play around with firecracker and see what it can do.
21 october, late in the afternoon, suddenly it pops in my mind - Damn some letsencrypt certificates are about to expire and I ignored all notifications. That was 17.00h and the certificates were expiring at 19.00h. First ofcourse have diner, do something with the kids, get them to bed, …
So yeah 20.00h when I started looking at it. Somewhere due lack of updates or a configuration bug, the script that was meant to update my letsencrypt certificates failed. And I blatantly ignored multiple notifications the certificates were about to expire. So all entirely my fault.
A recent update in Chrome (Blink) based browsers added the functionality to control media playing via the media buttons on your keyboard. As a side effect you can also control media on a remote system if you use something like KDE Connect. But what if you don’t want this behaviour and want your media controls to just control your actual media player?
I want to be able to update my machine at any time without having to waste a lot of time waiting for stuff to download. Over the years I’ve had my fair share of small issues occuring when doing an update on a system running a “desktop”. So for a few years now I do my updates when logged out of a “desktop” in a tty.
To suit my personal preferences and diverting package choices compared to stock arch linux I have created a simple reinstall script to suit my needs.
The goal is to have a somewhat uniform way of installing my machines and have full disk encryption for root. Here the unlock key is stored on a portable usb device for additional security. You can argue about the added value over a password, but I like it this way.
The script should also enable me to install a new machine fairly quickly without having to do all the things manually. So if I want to use Deepin desktop, Plasma desktop, i3 or fluxbox, I want to get a working set of packages which I can start working with. Eventually there might be packages I need to do something extra, but I just tried to have a sane default for myself.
Surprise, I went to Meet Magento NL 2018. Actually this was a little surprise for me too. Originally I had submitted a few talks for this conference, but I did not know how it went. Since we already discussed at work to go to DPC 2018 I thought, maybe next year. Around 2 weeks before the event I got an email from Sander telling me something went wrong with the feedback on my proposals and they were offering me a ticket to attend the conference. I was happy with the proposal but still doubted shortly if I would go or not since that would be 2 weeks in a row going away, and I still have work to to in our house. But I really wanted to see some people speak and was interested to hear their experiences. So there I went, to Meet Magento NL 2018.
I am a huge fan of shell scripting. But recently it did give me very unexpected behaviour which lead me to start using python for “shell” scripts.
What happened? I was trying to create helpers that called other helpers and passed the arguments with “$@”. This worked fine for a very long time until you pass along strings like ‘-e “CREATE DATABASE foo”’ to a shell script.
I want to explain why running everything in containers is an improvement over install all your required software on a server. How containers can help us build better quality software faster.
When you are developing a complex website with multiple subdomains and full https, it can be hard to mimic it in your development environment. For this purpose we will create a CA we will trust for development and that will allow us to generate multi-domain ssl keys.
When I installed opera-devel on my machine it did not play well with the activities I use in KDE. Opera was available in all my activities at all the time.
Lets explain in clear and short how to setup a dhcp/dns with dhcpd and bind.
The goal is to have a predefined dns where the dhcp connected hosts are automatically added so you get a more convenient way to connect to other machines on your network. Especially not having to remember the ip address of the others.