Language Selection

English French German Italian Portuguese Spanish

Servers: Concurrency, Purism, InSpec, Kubernetes, Docker/Containers

Filed under
Server
  • Thinking Concurrently: How Modern Network Applications Handle Multiple Connections

    The idea behind a process is fairly simple. A running program consists of not only executing code, but also data and some context. Because the code, data and context all exist in memory, the operating system can switch from one process to another very quickly. This combination of code + data + context is known as a "process", and it's the basis for how Linux systems work.

    When you start your Linux box, it has a single process. That process then "forks" itself, such that two identical processes are running. The second ("child") process reads new code, data and context ("exec"), and thus starts running a new process. This continues throughout the time that a system is running. When you execute a new program on the command line with & at the end of the line, you're forking the shell process and then exec'ing your desired program in its place.

  • New Purist Services – Standard Web Services Done Ethically

    When you sign up for a communication service, you are typically volunteering to store your personal, unencrypted data on someone else’s remote server farm. You have no way of ensuring that your data is safe or how it is being used by the owner of the server. However, online services are incredibly convenient especially when you have multiple devices.

  • Automated compliance testing with InSpec

    Don't equate compliance through certification with security, because compliance and security are not the same. We look at automated compliance testing with InSpec for the secure operation of enterprise IT.

  • How the Kubernetes Certification Ensures Interoperability

    Dan Kohn, executive director of the Cloud Native Computing Foundation, has called the launch of the new Kubernetes service provider certification program the most significant announcement yet made by the Foundation around the open source container orchestration engine.

    On this new episode of The New Stack Makers from KubeCon + CloudNativeCon 2017, we’ll learn more from Kohn and William Denniss, a product manager at Google, about how the program can help ensure interoperability and why that’s so important.

  • Container Structure Tests: Unit Tests for Docker Images

    Usage of containers in software applications is on the rise, and with their increasing usage in production comes a need for robust testing and validation. Containers provide great testing environments, but actually validating the structure of the containers themselves can be tricky. The Docker toolchain provides us with easy ways to interact with the container images themselves, but no real way of verifying their contents. What if we want to ensure a set of commands runs successfully inside of our container, or check that certain files are in the correct place with the correct contents, before shipping?

  • Prometheus vs. Heapster vs. Kubernetes Metrics APIs

    In this blog post, I will try to explain the relation between Prometheus, Heapster, as well as the Kubernetes metrics APIs and conclude with the recommended way how to autoscale workloads on Kubernetes.

  • Google Introduces Open Source Framework For Testing Docker Images

    Google has announced a new framework designed to help developers conduct unit tests on Docker container images. 

    The Container Structure Test gives enterprises a way to verify the structure and contents of individual containers to ensure that everything is as it should be before shipping to production, the company said in the company’s Open Source blog Jan. 9. 

    Google has been using the framework to test containers internally for more than a year and has released it publicly because it offers an easier way to validate the structure of Docker containers than other approaches, the company said.

More in Tux Machines

Ubuntu 18.10 (Cosmic Cuttlefish) Screenshot Tour and Statistics

  • Ubuntu 18.10 (Cosmic Cuttlefish) Screenshot Tour | What’s New
    Here we are going to take a screenshot tour of the latest release Ubuntu 18.10 (Cosmic Cuttlefish). Let’s go through the recent changes since the earlier long term support release Ubuntu 18.04 (Bionic Beaver). Ubuntu 18.10 (Cosmic Cuttlefish) introduces major user interface changes and more mature interface since Canonical decided ditching Unity desktop environment. Cosmic release ships with Gnome Shell 3.30.1 desktop environment for its main Desktop release and there are more variants of desktop environments you could choose from, check the release notes for further information. The default desktop and login screen “GDM” features the Cuttlefish background with the usual color scheme for Ubuntu desktop releases. It comes with multiple colorful and cheering desktop backgrounds. I will leave a link down below if you are interested to download the default Wallpapers for Ubuntu 18.10 (Cosmic Cuttlefish).
  • Canonical and Ubuntu – user statistics
    Then you arrive at the story of Canonical and Ubuntu and things aren’t quite so clear anymore, lines are blurred. Ubuntu appears everywhere, sometimes accompanied by Canonical, but frequently not. Then sometimes Canonical tries to make an appearance alone and everyone is left asking ‘what is Canonical?’ Well, no more. No more shall wondering what Canonical is be akin to a quiz question of who was the fourth Destiny’s Child. (Answer at the end) We all know Ubuntu, it’s the most popular open source operating system (OS) in the world, loved by developers for a multitude of reasons, it’s where innovation happens, and it’s everywhere. Canonical is described by Wikipedia (let’s face it that’s where your Google search takes you) as a UK-based, “privately held computer software company founded and funded by South African entrepreneur Mark Shuttleworth to market commercial support and related services for Ubuntu and related projects.” Well, that’s pretty accurate, but it doesn’t tell the whole story. You see, Canonical is passionate about Ubuntu. We love it. We all use it and we want everyone else to use the OS because we think it’s the best around and it’ll make your lives a lot easier. Canonical is full of people working on improving and adding to Ubuntu, from the OS to things that rely on the OS at the core but are more related to things such as Kubernetes, yes we really do Kubernetes, or OpenStack, AI/ML, and a whole host of technologies related to the internet of things (IoT).

today's howtos

Licensing in Kate and Other KDE News/Changes

  • MIT licensed KSyntaxHighlighting usage
    With the KDE Frameworks 5.50 release, the KSyntaxHighlighting framework was re-licensed to the MIT license. This re-licensing only covers the actual code in the library and the bundled themes but not all of the syntax highlighting definition data files. One of the main motivation points was to get QtCreator to use this, if possible, instead of their own implementation of the Kate highlighting they needed to create in the past due to the incompatible licensing of KatePart at that time (and the impossibility to do a quick split/re-licensing of the parts in question).
  • This week in Usability & Productivity, part 41
  • KDE Will Now Set Scale Factor For GTK Apps, Plasma Gets Other Scaling & UI Polishing Too
    KDE developer Nate Graham is out with his weekly recap of interesting development activities impacting Plasma, Frameworks, and the Applications stack. When the display scaling factor for KDE is set to an integer, KDE will now export that as well to the GNOME/GTK environment variables of GDK_SCALE/GDK_DPI_SCALE, for helping out GTK applications running on the KDE desktop so they should still scale appropriately. The Wayland behavior was already correct while this should help out GTK X11 applications. The GNOME/GTK scaling though only supports scaling by integer numbers.

Graphics: NVIDIA, Kazan, Sway and Panfrost

  • NVIDIA Developers Express Interest In Helping Out libc++/libstdc++ Parallel Algorithms
    NVIDIA developers have expressed interest in helping the open-source GCC libstdc++ and LLVM Clang libc++ standard libraries in bringing up support for the standardized parallel algorithms. C++17 brings parallelized versions for some of the algorithms exposed by the C++ standard library, but sadly GCC's libstdc++ and LLVM's libc++ do not yet support these parallel algorithms while the rest of their C++17 support is in great shape. Going back over a year Intel has been interested in contributing parallel support code to these C++ standard libraries that could be shared by both projects. The Intel path builds in abstractions for supporting different underlying thread/parallelism APIs.
  • The Rust-Written Kazan Vulkan Driver Lights Up Its Shader Compiler
    This week the Kazan project (formerly known as "Vulkan-CPU") celebrated a small but important milestone in its trek to having a CPU-based Vulkan software implementation. As a refresher, Kazan is the project born as Vulkan-CPU during the 2017 Google Summer of Code. The work was started by student developer Jacob Lifshay and he made good progress last summer on the foundation of the project and continued contributing past the conclusion of that Google-funded program. By the end of the summer he was able to run some simple Vulkan compute tests. He also renamed Vulkan-CPU to Kazan (Japanese for "volcano").
  • Sway 1.0 Beta Released - Offers 100% Compatibility With i3 Window Manager
    The Sway Wayland compositor inspired by X11's i3 window manager is now up to its beta ahead of the big 1.0 release. Sway 1.0 Beta offers "100%" compatibility with the i3 window manager. The Sway 1.0 release has also been working on many other changes including improved window handling, multi-GPU support, virtual keyboard protocol, real-time video capture, tablet support, and many other changes.
  • Panfrost Open-Source GPU Driver Continues Advancing For Mali GPUs
    The Panfrost open-source, community-driven, reverse-engineered graphics driver for ARM Mali graphics processors continues panning out pretty well. Alyssa Rosenzweig has provided an update this weekend on the state of Panfrost for open-source Mali 3D support. The developers involved have been working out some texture issues, various OpenGL / GLES issues around GLMark2, and support now for running Wayland's Weston reference compositor.