diff --git a/public/_redirects b/public/_redirects index 95e8e877..e5c24edd 100644 --- a/public/_redirects +++ b/public/_redirects @@ -39,6 +39,8 @@ /blog/debugging-docker-on-windows-mac-and-linux/ https://docs.ddev.com/en/stable/users/usage/troubleshooting/ 301 /blog/drupal7-drupal9-migration-ddev-acquia-migrate-accelerate https://www.drupal.org/docs/upgrading-drupal 301 /blog/drupal7-drupal9-migration-ddev-acquia-migrate-accelerate/ https://www.drupal.org/docs/upgrading-drupal 301 +/blog/ddev-docker-desktop-and-colima-benchmarking-updated-dec-2022 /blog/docker-performance-2023/ 301 +/blog/ddev-docker-desktop-and-colima-benchmarking-updated-dec-2022/ /blog/docker-performance-2023/ 301 # Authors redirects /meet-the-team /blog/author/ 301 diff --git a/src/content/blog/database-improvements.md b/src/content/blog/database-improvements.md index 0435c435..aa6ed324 100644 --- a/src/content/blog/database-improvements.md +++ b/src/content/blog/database-improvements.md @@ -1,7 +1,8 @@ --- title: "DDEV's Database Support Gets MySQL 8.4 and Better Import Speeds" pubDate: 2025-01-02 -modifiedDate: 2025-02-18 +modifiedDate: 2026-07-25 +modifiedComment: "The switch to bitnami/mysql described below didn't stick: after Bitnami changed the terms of its Docker Hub images in 2025 ([#7470](https://github.com/ddev/ddev/issues/7470)), DDEV moved MySQL 8+ images to Docker Hardened Image bases instead." summary: "DDEV gets MySQL 8.4 and many related upgrades and performance improvements" author: Randy Fay featureImage: diff --git a/src/content/blog/ddev-docker-desktop-and-colima-benchmarking-updated-dec-2022.md b/src/content/blog/ddev-docker-desktop-and-colima-benchmarking-updated-dec-2022.md deleted file mode 100644 index 8cd60c46..00000000 --- a/src/content/blog/ddev-docker-desktop-and-colima-benchmarking-updated-dec-2022.md +++ /dev/null @@ -1,62 +0,0 @@ ---- -title: "DDEV macOS Docker Desktop/Colima/Mutagen Benchmarking updated Dec 2022" -pubDate: 2022-12-27 -summary: "Comparison of Drupal install performance on macOS using Docker Desktop and Colima, with and without Mutagen." -author: Randy Fay -featureImage: - src: /img/blog/2022/12/macos-m1-vs.-drupal-10-web-install.svg - alt: Bar chart depicting Drupal 10 install time, in seconds, with various configurations on an M1 Mac - shadow: true -categories: - - Performance ---- - -I wrote about performance comparisons between [Docker Desktop](https://www.docker.com/products/docker-desktop/) and [Colima](https://github.com/abiosoft/colima) on macOS both with and without [Mutagen](https://docs.ddev.com/en/stable/users/install/performance/#mutagen) in March, 2022, and wanted to update the numbers. Things are looking great everywhere. There are now many more permutations, though. Colima has 9p and VirtioFS file mounting, and Docker Desktop’s VirtioFS implementation now works well (and is fast!). - -(**Edited 2022-12-28**: Colima version 0.5.2 solved a couple of significant performance problems with VirtioFS mounting, so I updated the fantastic numbers and removed the caveat about `ddev import-db` being slow.) - -**Methodology**: I tested each of these permutations with both a [Puppeteer script](https://github.com/ddev/ddev-puppeteer) to do a web install of Drupal 10 demo_umami and also a `drush` command-line install (`ddev mysql -e "DROP DATABASE IF EXISTS db; CREATE DATABASE db;" && ddev exec killall -USR2 php-fpm && rm -rf web/sites/default/files/* && ddev mutagen sync && time ddev drush si demo_umami -y`). I tried each 3 times to make sure that the numbers were tracking reasonably, and then took the mean. The Drupal 10 installation is a very heavy web activity that touches thousands of PHP files, and it’s a sequential operation with a fixed timeline, so it’s a tempting thing to use for benchmarking. - -As usual, the command-line installs basically tracked about twice as fast as the web-based installs, which was no surprise, so I didn’t include charts for them, although they’re available in the source data. - - - -_The bottom line is that any setup with Mutagen can do a D10 install in 25-40 seconds, which is astonishing (there was a time that it took 5-6 minutes on most platforms)._ And even without Mutagen, the VirtioFS mounts can do it in 60-80 seconds on both Docker Desktop and Colima. - -Here are the results in tabular form: - -| Drupal 9 Web Install | Col Q 9p | Col Q 9p Mut | Col Q sshfs | Col Q sshfs Mut | Col Virt | Col Virt Mutagen | DD Virt | DD Virt Mut | DD FUSE | DD FUSE Mut | -| --------------------- | -------- | ------------ | ----------- | --------------- | -------- | ---------------- | ------- | ----------- | ------- | ----------- | -| D10 install (seconds) | 150 | 43 | 89 | 35 | 36 | 27 | 63 | 32 | 102 | 32 | - -For comparison on the results between March 2022 and today: - -| Drupal 10 web install time in seconds | March 2022 | Dec 2022 | -| ------------------------------------- | ---------- | -------- | -| Colima sshfs/Mutagen | 45 | 35 | -| Colima sshfs alone | 160 | 89 | -| Docker Desktop FUSE/Mutagen | 75 | 32 | -| Docker Desktop FUSE alone | 300 | 102 | -| Docker Desktop VirtioFS/Mutagen | 39 | 32 | -| Docker Desktop VirtioFS alone | 107 | 63 | -| Colima VirtioFS/Mutagen | 27 | | -| Colima VirtioFS alone | 36 | | - -For more raw numbers and the Drush install times, [here’s the spreadsheet link](https://docs.google.com/spreadsheets/d/1GG69B94ftYlkrNeoI55eUrxLVwIVYkt4mv-R2nJx6YU/edit?usp=sharing). - -If you’re interested in Colima with DDEV, see the [docs](https://docs.ddev.com/en/stable/users/docker%5Finstallation/#macos-installation-colima). It’s super easy to set up, and even though it’s a young project, it’s well-maintained and people have been having good experiences with it. And for those of you concerned about Docker Desktop’s new subscription license fee, it’s a great option. But as you see here, it’s a great option for other reasons. - -And of course, if you haven’t tried out Mutagen with DDEV on macOS, it’s time. Run `ddev config global --mutagen-enabled` and `ddev restart` and you’re on your way, see [DDEV docs](https://docs.ddev.com/en/stable/users/performance/#using-mutagen). Although we were all worried about filesystem consistency originally, the feature has turned out to be shockingly reliable, but read the docs for caveats. - -Some takeaways from this round of testing: - -- **Everything is faster** than it was early this year, sometimes by a _lot_. -- **Docker Desktop VirtioFS** has made incredible progress. Now with macOS Ventura 13.1, Docker Desktop 4.15.0, the promise has met reality. It’s super fast, and seems to be reliable. The problems that plagued it for most of the last year seem to be resolved, permissions, ownership, and DDEV custom commands work right. In March 2022, it wasn’t usable, but now it’s great. It’s really, really fast with Mutagen enabled, but quite usable even without. -- **Colima with 9p mounting is nearly unusable** – I wasn’t willing to wait for it to complete the install. Even though I show it in the graph as taking 150 seconds, the reality is it would have taken 600 or more, but that would have skewed the graph and I was impatient. (Note that 9p is the default mount type in Colima 0.5.1, so don’t use it right now). I recommend that you use `mountType: sshfs` to start in Colima, but experiment with `mountType: virtiofs` if you’re on macOS Ventura. -- **Mutagen remains a great default choice**, but Colima and Docker Desktop VirtioFS are probably now adequate choices if you want complete consistency. (Although they passed my casual tests of the things that used to break, I don’t have many real-world reports of what happens when people use these without Mutagen.) -- At this writing there is a bug in Colima where some upgraded instances aren’t mounting at all. Make sure in your `~/.colima/default/colima.yaml` mountType is not empty; change it to `sshfs` or consider `virtiofs` if you’re on macOS Ventura. -- For DDEV + Colima I still recommend the conservative `--mount-type=sshfs --vm-type=qemu` but the more adventurous of you will have fun with `--vm-type=vz --mount-type=virtiofs`, and it remains wonderful to work with Mutagen enabled in DDEV. I look forward to hearing your feedback. - -Congratulations to the [Colima](https://github.com/abiosoft/colima), [Lima](https://github.com/lima-vm/lima), and [Docker Desktop](https://www.docker.com/products/docker-desktop/), and [Mutagen](https://mutagen.io) teams for an amazing year of progress! - -Interested in engaging more with the DDEV community? Catch us in the [Discord Server](/s/discord), on [Stack Overflow](https://stackoverflow.com/tags/ddev), and in the [Issue Queue on GitHub](https://github.com/ddev/ddev/issues). We’d love to have you. Interested in knowing more about DDEV? It’s quick and easy to start up in the [docs](https://docs.ddev.com/en/stable/). diff --git a/src/content/blog/docker-performance-2023.md b/src/content/blog/docker-performance-2023.md index 9dd892f1..3f3c523a 100644 --- a/src/content/blog/docker-performance-2023.md +++ b/src/content/blog/docker-performance-2023.md @@ -17,7 +17,7 @@ categories: Docker providers for macOS have been getting better and faster (mostly) over time, and [DDEV has recently added OrbStack and Rancher Desktop to its officially supported providers](docker-providers.md). It's time to take a look and see what is happening with DDEV and Docker provider performance. -This test used an update of the same technique used in [December 2022](ddev-docker-desktop-and-colima-benchmarking-updated-dec-2022.md). +This test used an update of the same technique used in December 2022. ## Test Methodology diff --git a/src/content/blog/eight-more-ways-to-get-the-most-out-of-ddev-local.md b/src/content/blog/eight-more-ways-to-get-the-most-out-of-ddev-local.md index 1819185a..298fcf57 100644 --- a/src/content/blog/eight-more-ways-to-get-the-most-out-of-ddev-local.md +++ b/src/content/blog/eight-more-ways-to-get-the-most-out-of-ddev-local.md @@ -1,7 +1,8 @@ --- title: "Eight (more) ways to get the most out of DDEV" pubDate: 2018-12-06 -modifiedDate: 2024-07-06 +modifiedDate: 2026-07-25 +modifiedComment: "Updated the PHP version example and supported range, removed the reference to the now-defunct DDEV-UI, and updated the telemetry section from 'coming soon' to reflect that it has shipped" summary: A look at some useful and often-overlooked DDEV features. author: Randy Fay featureImage: @@ -94,11 +95,11 @@ If you want to check to be sure, you can type `ddev ssh` and `ps -ef` to see wha It’s easy to change the PHP versions on a per-project basis either in the config.yaml file, or by running `ddev config` (for example, when you’re setting up and configuring a project) and setting the PHP version. -`ddev config --php-version 7.4` +`ddev config --php-version 8.4` Check the docs on how to [change the PHP versions](https://docs.ddev.com/en/stable/users/extend/customization-extendibility/#changing-php-version). -DDEV directly supports versions from 5.6 through 7.4, and you can even go back farther into the past using the [Old PHP recipe in github.com/ddev/ddev-contrib](https://github.com/ddev/ddev-contrib/tree/master/docker-compose-services/old%5Fphp). +DDEV directly supports versions from 5.6 through 8.5, and you can even go back farther into the past using the [Old PHP recipe in github.com/ddev/ddev-contrib](https://github.com/ddev/ddev-contrib/tree/master/docker-compose-services/old%5Fphp). ### Windows users: make sure to remove inactive hostnames @@ -120,7 +121,7 @@ This command outputs the fully preprocessed docker-compose configuration of the ### JSON output for geeks -This is a cool feature fellow geeks will appreciate. You can get JSON output from any command. We use this output from DDEV to feed data to [DDEV-UI](https://github.com/ddev/ddev-ui/releases), our GUI version of DDEV built for those whose working style is better suited to using a friendly graphical user interface. +This is a cool feature fellow geeks will appreciate. You can get JSON output from any command, which is handy for scripting or feeding DDEV data into other tools. To get the JSON output on the command line, add this global flag to any command: `-j` or `--json-output`. for example: @@ -132,6 +133,6 @@ I’ve seen this used in some creative ways. In one case, I saw someone use JSON Part of building this project is working directly with our users to improve DDEV. A lot of the tips in this post are based on [community discussions](https://docs.ddev.com/en/stable/users/support/) in Slack and on Stack Overflow. When you find something new, we get it into the documentation and the help files as fast as we can. It’s also a very important channel for us to find out how and where we can make improvements. -Coming soon: We’ll be rolling out opt-in data collection and error reporting to help us make DDEV even better even faster. When you opt-in, you’ll be contributing data on how you’re using our open source tool and where you’re hitting issues. This will be a big factor in guiding product decisions. The more people who opt-in, the better the tool will become. Keep an eye out on future releases! +DDEV has opt-in usage instrumentation (`ddev config global --instrumentation-opt-in=true`), which has guided quite a few product decisions over the years. If you haven't opted in, consider it—the more people who do, the better we can prioritize what to build next. ### Want more tips? Subscribe to the newsletter. diff --git a/src/content/blog/platform-sh-ddev-funding-changes.md b/src/content/blog/platform-sh-ddev-funding-changes.md index fac22c94..b0fcd112 100644 --- a/src/content/blog/platform-sh-ddev-funding-changes.md +++ b/src/content/blog/platform-sh-ddev-funding-changes.md @@ -1,7 +1,8 @@ --- title: "Changes in Platform.sh Funding of DDEV" pubDate: 2025-01-06 -#modifiedDate: 2024-09-06 +modifiedDate: 2026-07-25 +modifiedComment: "Platform.sh is now known as Upsun, and the trademark/domain transfer described below as upcoming was [completed in May 2026](/blog/upsun-trademark-transfer-complete/). Sponsorship levels have changed more than once since this post; see [/sponsor](/sponsor) for the current status." summary: Changes in Platform.sh Funding of DDEV author: Randy Fay featureImage: diff --git a/src/content/blog/supercharge-your-ddev-performance-with-mutagen.md b/src/content/blog/supercharge-your-ddev-performance-with-mutagen.md index b53b0c45..5a799b24 100644 --- a/src/content/blog/supercharge-your-ddev-performance-with-mutagen.md +++ b/src/content/blog/supercharge-your-ddev-performance-with-mutagen.md @@ -1,6 +1,8 @@ --- title: "Supercharge your DDEV performance with Mutagen" pubDate: 2021-07-28 +modifiedDate: 2026-07-25 +modifiedComment: "This is the original 2021 announcement, kept as a historical record. Mutagen is no longer experimental: it's the default, mature performance mode on macOS and Windows, and NFS (mentioned in the docs link below) was removed in DDEV v1.25.0. See the [performance docs](https://docs.ddev.com/en/stable/users/install/performance/) for current guidance." summary: Overview of DDEV v1.18.0-alpha1’s Mutagen-powered performance boost. author: Randy Fay featureImage: diff --git a/src/content/blog/watch-ddev-local-new-casual-webhosting-feature.md b/src/content/blog/watch-ddev-local-new-casual-webhosting-feature.md index 0ed11ed4..80ee5732 100644 --- a/src/content/blog/watch-ddev-local-new-casual-webhosting-feature.md +++ b/src/content/blog/watch-ddev-local-new-casual-webhosting-feature.md @@ -1,22 +1,18 @@ --- -title: "Watch: DDEV New Casual Webhosting Feature" +title: "DDEV Casual Webhosting Feature" pubDate: 2020-12-14 -modifiedDate: 2024-07-06 -summary: Video overview of DDEV’s "casual hosting" setup. +modifiedDate: 2026-07-25 +modifiedComment: "Removed an outdated screencast showing an old DDEV UI, and fixed a dead docs anchor" +summary: Overview of DDEV’s "casual hosting" setup. author: Randy Fay featureImage: src: /img/blog/2020/12/casual-diy-webhosting.png - alt: Screen grab of video’s title frame + alt: DDEV casual webhosting hide: true categories: - Guides - - Videos --- -