Welcome to curated list of handpicked free online resources related to IT, cloud, Big Data, programming languages, Devops. Fresh news and community maintained list of links updated daily. Like what you see? [ Join our newsletter ]

Use Kabanero, Appsody, and Codewind to build Spring Boot application on Kubernetes

Categories

Tags devops-and-ci-cd software-engineering backend-development

An guide by Hafid Haddouti. In the era of DevOps where the team is responsible for building and running applications for their entire life cycle, choosing the best tools is crucial to help reduce the work needed for building and deploying cloud-native applications.

New open source tools from IBM — Kabanero, Appsody, and Codewind — were created to make it easier for developers to build and deploy cloud-native applications to Kubernetes.

The article then gives you step by step instruction how to build your app in VSCode:

  • Prerequisites and installation
  • How to create a Spring Boot project with Appsody
  • Codewind integration
  • Move it to the cloud

Kabanero is a new tool in the young and rapidly changing cloud-native environment. It allows a better decoupling of the application logic from the used infrastructure with the offered abstraction. Nice one!

[Read More]

Intro guide to Dockerfile best practices

Categories

Tags devops-and-ci-cd architecture-and-apis

Tibor Vass wrote this piece about best Dockerfile practices. There are over 1 million Dockerfiles on GitHub today, but not all Dockerfiles are created equally. Efficiency is critical, and this blog series will cover five areas for Dockerfile best practices to help you write better Dockerfiles: incremental build time, image size, maintainability, security and repeatability.

In a development cycle, when building a Docker image, making code changes, then rebuilding, it is important to leverage caching. Caching helps to avoid running build steps again when they don’t need to.

The article highlights following:

  • Incremental build time
  • Reduce Image size
  • Maintainability
  • Reproducibility

We liked: Multi-stage builds is the go-to solution to remove build-time dependencies.

Author explains how they went from building bloated images inconsistently to building minimal images in a consistent environment while being cache-friendly. Very insightful with more detailed advice in the article!

[Read More]

Why every test automation engineer needs Jenkins

Categories

Tags devops-and-ci-cd

Continuous Integration (CI) is a game-changer for increasing the adoption of test automation for every step of the software development process. In this article, the author will describe how CI affects the working day from a test automation engineer’s point of view and what are the achievable benefits of CI. By Vincenzo Marrazzo.

Test automation engineers (TAEs), for example, are a mandatory building block that allows this challenging scenario to succeed. TAEs main task is to validate software quality under the continued compression of working time. Every software development cycle contains more features and requires more validation.

The article also deals with:

  • What is the role of a test automation engineer?
  • What is continuous integration?
  • How is CI related to Jenkins?
  • Why test automation engineers need Jenkins
  • Which kind of resources do you require to implement and use Jenkins?
  • How much effort does using Jenkins require?
  • Setup a new Jenkins installation

… and more. Long article with links to further reading and detailed explanation of CI process, includes running Jenkins in a Docker container. Exciting one!

[Read More]

Building a distributed time-series database on PostgreSQL

Categories

Tags data-and-analytics architecture-and-apis software-engineering

TimescaleDB, a time-series database on PostgreSQL, has been production-ready for over two years, with millions of downloads and production deployments worldwide. Authors publicly shared their design, plans, and benchmarks for the distributed version of TimescaleDB. By Mike Freedman and Erik Nordström.

PostgreSQL is the fastest growing database right now, faster than MongoDB, Redis, MySQL, and others. PostgreSQL itself has also matured and broadened in capabilities, thanks to a core group of maintainers and a growing community.

Our new distributed architecture, which a dedicated team has been hard at work developing since last year, is motivated by a new vision: scaling to over 10 million metrics a second, storing petabytes of data, and processing queries even faster via better parallelization. Essentially, a system that can grow with you and your time-series workloads.

The article then explains broad range of topics related to time series databases, including:

  • Chunking, not sharding
  • Benchmarks
  • Five objectives of database scaling
  • Designing for Scale
  • Introducing Distributed Hypertables
  • Design Principles

TimescaleDB doesn’t overcome the CAP Theorem. We do talk about how TimescaleDB achieves “high availability”, using the term as commonly used in the database industry to mean replicated instances that perform prompt and automated recovery from failure. This is different than formal “Big A” Availability from the CAP Theorem, and TimescaleDB today sacrifices Availability for Consistency under failure conditions. Good read!

[Read More]

How to create a todo list with Phoenix LiveView

Categories

Tags software-engineering backend-development

Phoenix LiveView is a great solution for anyone who wants to get a real-time app out to the world quickly without spending a ton of time building out both frontend and backend. By Dennis Beatty.

The author provided video on youtube together with code on GitHub and detailed instructions in this tutorial.

The tutorial covers:

  • Set up a new project with Phoenix LiveView
  • Generate the Schema
  • Set up the page
  • Display the Todo List
  • Updating in Real-Time with PubSub

LiveView is awesome, but Phoenix PubSub is pretty amazing too. It was super simple for author to subscribe to events and publish those when we update our database, and that allowed them to get this all set up really easily. Excellent!

[Read More]

It's on you: How to build an inclusive business

Categories

Tags leadership-and-career miscellaneous cloud-and-infrastructure

An interview with Atlasian head of diversity and belonging Aubrey Blanch about building an inclusive business. By Stephanie Palmer-Derrien.

The new Atlassian Team Playbook is touted as a “no bullshit guide to unleashing your team’s potential”, allowing businesses to analyse their people data on a team level.

We take a really data-informed social science approach to build what we think of as an equitable and balanced company, Blanche tells StartupSmart.

Atlassian uses a machine learning tool to remove gender-biased and racially biased language from its job ads.

The interview covers following:

  • Build an inclusive culture before you need to
  • Make an effort
  • Watch your language
  • Take responsibility

And one we liked: The fact is, you can hire underrepresented folks all you want, but if your culture isn’t supportive, you’re not going to keep them anyway. Nice one!

[Read More]

Handling 'Failure at scale' in Azure Functions triggered by IoT Hub

Categories

Tags architecture-and-apis frontend-and-mobile cloud-and-infrastructure devops-and-ci-cd

An article by Stas(Stanislav) Lebedenko about how to tackle exceptions and re-run failed messages. One of the Serverless solution benefits is a performance at scale. As a result, you can get ‘Failure at scale’ if something goes wrong. Thus it’s crucial to introduce error handling for your Azure Functions project early.

The purpose of the dead-letter queue (DLQ) is to hold messages that cannot be delivered to any receiver, or messages that could not be processed. Link to Azure Service Bus queues docs.

His solution relies on:

  • Azure Storage Queue
  • Azure Function with input trigger for IoT Hub(Event Hub) messages endpoint and output trigger to Storage Queue
  • Notification alert triggered by Queue transaction count in 30 minutes
  • Azure Function for a replay of the messages stored in Storage Queue

The author also provides useful info about:

  • The dead letter queue or poison queue?
  • Error handling via Azure Storage Queue
  • Azure infrastructure and Functions
  • Notification setup

Links to further reading together with screen-grabs and code examples also provided. Good read!

[Read More]

REST and Hypermedia and GraphQL and gRPC and Event-Driven

Categories

Tags architecture-and-apis frontend-and-mobile

An essay on apievangelist.com about their drive to research API industry over the last couple of years in order to help people understand how they can invest in a diverse API toolbox. It should help you to develop the awareness they need to be successful in designing, developing, and delivering APIs at scale, for a variety of use cases.

Counteracting some of the more vendor focused storytelling in the space that works to confuse, distort, and shame folks for their approach to delivering APIs – providing a more pragmatic view of how we should doing APIs.

The article goes about:

  • REST is where you begin
  • Hypermedia reflects the web
  • Schema powered GraphQL
  • gRPC delivering performance
  • Event-driven approaches
  • Invest in your API Toolbox

gRPC excels at delivering digital resources at scale internally and in B2B environments. gRPC tends to take advantage of HTTP/2, and represents the evolution of the HTTP standard for many.

Doing APIs well takes experience. Being able to competently switch from technology to technology takes confidence, and an awareness of the strengths and weaknesses of each solution. Nice read!

[Read More]

Simplicity in design: 4 ways to achieve simplicity in your designs

Categories

Tags product-and-design frontend-and-mobile leadership-and-career miscellaneous

Euphemia Wong wrong this piece about how to learn ways to achieve simplicity in your designs and recognize why certain designs are overly complex. Simplicity is also one of the key reasons why some companies do better than their competitors.

What is simplicity? Simplicity is all the rage these days. It is a design philosophy that is championed by many successful companies and fans of those companies alike.

Simplicity in design isn’t just about the minimal colors you use or the whitespace you include, it’s about going deep into your user’s minds and using that understanding to design a product that rids itself of inconsequential elements and closes the gap between the user’s goals and the means to achieve those goals through your system.

Ways to achieve simplicity in your designs:

  • Maintain clarity: understand and design for your users’ main goals
  • Make use of automation: design for a minimum amount of conscious and cognitive effort
  • Limit options: design for a strong “information scent”
  • Reduce the gulf of execution: make your users see how your product can help them achieve their goals

It’s not easy to design for simplicity. It’s not supposed to be. Your job as a UX designer is to dig deep into the complexities of everything from user goals to system constraints in order to output a beautiful and easy to use design that will help users achieve their goals effortlessly. Nice one!

[Read More]

Explainer: What is a quantum computer?

Categories

Tags miscellaneous security-and-privacy leadership-and-career ai-and-machine-learning

This is the first in a series of explainers on quantum technology. How it works, why it’s so powerful, and where it’s likely to be most useful first. By Martin Giles.

A quantum computer harnesses some of the almost-mystical phenomena of quantum mechanics to deliver huge leaps forward in processing power. Quantum machines promise to outstrip even the most capable of today’s – and tomorrow’s – supercomputers.

The secret to a quantum computer’s power lies in its ability to generate and manipulate quantum bits, or qubits. The article explains:

  • What is a qubit?
  • What is superposition?
  • What is entanglement?
  • What is decoherence?
  • What is quantum supremacy?
  • Where is a quantum computer likely to be most useful first?

The machines are also great for optimization problems because they can crunch through vast numbers of potential solutions extremely fast. Great read!

[Read More]