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 ]

Ceph geo replication

Categories

Tags devops-and-ci-cd leadership-and-career cloud-and-infrastructure architecture-and-apis

Ceph is our go-to choice for storage clustering (creating a single storage system by linking multiple servers over a network). Ceph offers a robust feature set of native tools that constantly come in handy with routine tasks or specialized challenges you may run into. By Joe Milburn.

Ceph is a unified, distributed storage system designed for excellent performance, reliability and scalability. Ceph is a well-established, production-ready, and open-source clustering solution.

The article then describes:

  • What lead us to create Ceph Geo Replication?
  • What is Ceph Geo Replication? How does it work?
  • Geo-Replication Performance Testing
  • How to install Ceph Geo Replication?

Ceph has some unique stats that no other filesystems give you. To build Ceph Geo Replication, we leveraged one of these directory attributes: rctime. rctime is the highest modification time of all files below the given directory. By using this attribute, Ceph Geo Replication can check the directory tree through checking rctime against the last known modification time of the previous backup, saving the time that would otherwise be wasted checking unmodified files.

If you wish to install cephgeorep, check out tehir GitHub page for instructions. Good read!

[Read More]

5 common mistakes in Go

Categories

Tags leadership-and-career software-engineering product-and-design backend-development

Some common mistakes that can be seen in Go are infinite recursive call, assignment to nil map, undesired value being used in goroutine, and more. By Jai Pradeesh.

Bug-risks are issues in code that can cause errors and breakages in production. A bug is a flaw in the code that produces undesired or incorrect results. Code often has bug-risks due to poor coding practices, lack of version control, miscommunication of requirements, unrealistic time schedules for development, and buggy third-party tools. In this post, let’s take a look at a few commonly seen bug-risks in Go.

The article then mentions these mistakes:

  • Infinite recursive call
  • Assignment to nil Map
  • Method modifies receiver
  • Possibly undesired value being used in goroutine
  • Deferring close before checking for a possible error

The article also offers links to further reading. Short and sweet!

[Read More]

Progressive delivery, the future of software development: Ship faster with less risk

Categories

Tags devops-and-ci-cd product-and-design cloud-and-infrastructure leadership-and-career

So far, Continuous Integration/Continuous Delivery (CI/CD) has been at the centre stage of DevOps Services, steering the modern software development industry forward. However, the current and future demands of the industry require new practices that make the deployment process progressive. By Tapan Vora @cuelogic.

Leveraging a mixed bag of technologies and skills for software development testing and deployment – A/B testing, Feature Flags, Blue-Green deployments, and canarying, to name to a few – it transforms the approach toward service and application delivery. And all this to an extent where deploying a service doesn’t necessarily mean releasing it.

The system of Progressive Delivery

Source: https://www.cuelogic.com/blog/progressive-delivery

The article further covers:

  • Moving fast with control
    • Release progressions
    • Progressive delegation
  • The evolution of Progressive Delivery
  • The need for Progressive Delivery
  • Key elements of Progressive Delivery
    • Canary testing
    • Blue-Green deployments
    • Feature flags
    • A/B testing
    • Observability
    • Service Mesh
    • Chaos engineering
    • Benefits of Progressive Delivery
  • Best Practices to Implement Progressive Delivery

Progressive Delivery refers to a new lifecycle of software development that is deployed to ship code faster and at reduced risk. Thus, always delivering on improved customer experience. It is essentially an extension of the core tenets of CI/CD equipped with safeguards and controls that exponentially cut the risk of continually pushing code into production.

Progressive Delivery is poised to change the DevOps ecosystem. Naysayers may denounce it as CI/CD 2.0 but the bottom line is that this system will drive changes released in the future based on data insights and an understanding of your audience’s experiences. Good read!

[Read More]

How database replication works

Categories

Tags architecture-and-apis product-and-design cloud-and-infrastructure

Databases are an essential piece of almost every software product. A database is an organized place to store data. At some point, every company realizes that the amount of data they have increases over time. They cannot afford to lose all the accumulated information. By Dmytro Khmelenko.

Making a regular backup is a good practice (and not only with databases). Generating a backup is a long process and it is not performed every minute. That being said, losing the user’s data gathered since the most recent backup is still a possibility. The general approach to database replication is similar to idea with a backup — to have copies of the data. The difference is in the how. Unlike with a backup, replication is performed on each data modification. This is a permanent process. It is not limited only by that purpose.

While the idea is clear, the implementation brings some challenges. The database roles on each computer in a distributed system cannot be equal. Some databases will accept only write requests and others only read requests. The database performing a write operation is a Leader and the database performing a read-only operation is a Follower.

When there are multiple Leaders in the system, an additional synchronization between the Leaders is necessary. When a user updates data through one Leader, the rest of the Leaders should be notified about the changes. In the era of digital products and constantly growing traffic, data replication becomes a necessity. It not only reduces the risk of disasters and data loss but also improves the performance of the final solution. Good read!

[Read More]

Why you should be using low-code apps to build internal tools

Categories

Tags miscellaneous product-and-design software-engineering leadership-and-career

Find out why you should be using low-code apps to build internal tools. By leveraging the speed and cost benefits of the new range of low and no-code tools available, you can use your expertise to deliver applications faster than ever before. By James Konik.

You may have heard the terms low-code and no-code floating around and pictured them as something similar. That’s a mistake. Low-code is not the same as no-code.

Low-code development still requires code but handles the bulk of the application for you, enabling you to concentrate on implementing the task-specific logic you need. With low-code, you can rely on the platform to deal with common tasks that you don’t need to customize and focus your efforts on the core functionality or differentiated business logic.

The article is split into these sections:

  • What is a Low-Code Platform (LCP)?
  • What are Internal Applications?
  • Reasons to use Low-Code in Internal Applications
  • Limitations of Low-Code Platforms

The creativity and problem-solving abilities developers possess can be turbocharged by using low-code apps effectively. If you’re new to this booming area, take a look. You might find yourself hooked. You might also find yourself delivering value to your customers at a rate you didn’t previously think possible.

The key limitation with low-code platforms is that they can’t do everything you can with regular code. Having things done for you is great, but if you want to deviate from what’s offered, you might not always be able to. Good read!

[Read More]

Terraform: Create AKS cluster

Categories

Tags devops-and-ci-cd product-and-design backend-development cloud-and-infrastructure architecture-and-apis

While there are several ways to host container workloads in Azure, Azure Kubernetes Service (AKS) provides the easiest way to deploy Kubernetes for teams needing a full orchestration solution. By Jim Counts.

AKS seems to gain new features every week. Depending on your needs deploying a repeatable, consistent AKS configuration can be challenging. Infrastructure-as-Code tools like Terraform bring this complexity under control (source control, that is!) Let’s take a look at spinning up an AKS cluster using Terraform.

The AKS cluster in this guide supports the following features:

  • AKS-managed Azure Active Directory integration
  • Azure Monitor for Containers
  • Automatic AKS version upgrades
  • Separate node pools for user and system workloads
  • A system assigned managed cluster identity
  • Autoscaling node pools
  • Availability Zone Configuration
  • Azure Policy for Kubernetes

This is an extensive guide to AKS on Azure with loads of code examples and a detailed explanation of each step. Nicely done!

[Read More]

Fibers in PHP: A new opportunity for async PHP?

Categories

Tags frontend-and-mobile product-and-design backend-development software-engineering

It looks like PHP will get fibers soon with PHP 8.1! That’s awesome! Or is it. By Christian Lück.

Fibers are primitives for implementing light weight cooperative concurrency [in Ruby]. Basically they are a means of creating code blocks that can be paused and resumed, much like threads. The main difference is that they are never preempted and that the scheduling must be done by the programmer and not the VM.

The article then covers:

  • What are fibers?
  • Will fibers bring async to PHP?
  • Do we need fibers for async PHP?
  • What problem do fibers solve?

As detailed in the previous section, we need a scheduler (or event loop) in order to run things asynchronously or concurrently. This means you would still have to use something like ReactPHP, Swoole or Amp for async PHP. With or without fibers, async PHP will be provided by external libraries. Good read!

In fact, with fibers you will no longer see that a function call is asynchronous at all. Fibers allow you to express a synchronous program flow, so you don’t have to deal with any async execution at all. Interestingly, this also means the average PHP application developer will also never interface with the Fiber implementation at all. I think this is a great plus. Good read!

[Read More]

Study reveals the state of mobile application security

Categories

Tags security-and-privacy frontend-and-mobile architecture-and-apis cloud-and-infrastructure leadership-and-career product-and-design

The Synopsys Cybersecurity Research Center (CyRC) analyzed more than 3,000 popular Android applications to assess the state of mobile app security during the COVID-19 pandemic. By @securitymagazine.com.

The research focused on three core areas of mobile app security:

  • Vulnerabilities: The presence of known software vulnerabilities in the applications’ open source components
  • Information leakage: Sensitive data such as private keys, tokens, and passwords exposed in the application code
  • Mobile device permissions: Applications requiring excessive access to mobile device data and features

The analysis reveals that the majority of apps contain open source components with known security vulnerabilities. It also highlights other pervasive security concerns including myriad potentially sensitive data exposed in the application code and the use of excessive mobile device permissions.

Some oof the interesting findings:

  • App composition – open source is eating the app store! 3,267 (98%) of the apps contained open source software (OSS) components, with an average of 20 OSS components per app
  • The vulnerable apps contained an average of 39 distinct vulnerabilities
  • 94% of the vulnerabilities detected have publicly documented fixes
  • 73% of the known security vulnerabilities are more than two years old

For consumers, this report highlights the jarring reality that even the most popular mobile apps are not immune to security and privacy weaknesses and should not be trusted implicitly. For app developers, this underscores the urgent need for secure software development practices and better overall privacy and security hygiene. Great read!

[Read More]

Introduction to Azure's Well-Architected Framework

Categories

Tags cloud-and-infrastructure architecture-and-apis leadership-and-career product-and-design

This blog series on Microsoft’s Well-Architected Framework for Azure will equip you with the foundational knowledge and resources you need to become an expert in cloud migration best practices. By Jerry Rhoads.

Imagine you’ve just moved your customer to the cloud, or that you inherited an existing cloud migration. Back in the day, a server move or a deployment entailed downtime, un-racking, and loading servers into the back of a truck and driving (carefully) to the new datacenter, unpacking, and re-racking. Some of the biggest headaches were ping, power, and pipe.

With their workload now moved to the cloud, your customer has some new questions:

  • How do I know my data is secure?
  • Can I handle a sudden spike in traffic?
  • How does the application handle failure?
  • Are we making the most of the cloud, e.g., am I using the cloud to its full potential?

The Microsoft Azure Well-Architected Framework is a set of guiding tenets that can be used to improve the quality of a workload. This framework is built on five pillars of architectural best practices for cloud workloads:

Five pillars of the Azure Well-Architected Framework

Source: @microsoft.com https://www.microsoft.com/en-us/us-partner-blog/2021/01/26/an-introduction-to-azures-well-architected-framework/

Please follow the next post in the series which will take a deep dive into the pillars. Good read!

[Read More]

Redux best practices for creating scalable API architectures

Categories

Tags architecture-and-apis frontend-and-mobile

We often get confused about fetching data and how to connect our frontend application with the backend and we always end up reading tonnes of articles. Stop fetching data in Redux actions. By Shrey Vijayvargiya.

While fetching data from API we prefer Redux actions to fetch data followed by dispatching the Redux actions to update the store. Well, this logic is not totally wrong but it has the following consequences:

  • Fetching of data updates/re-renders the whole application irrespective of the fact that data is concerned to that particular component or not
  • Less control for user feedbacks activity, you are restricted to give the user a better response from the API. For example showing loader, errors etc
  • Actions inside Redux become more complex and difficult to read

The main logic behind redux is that we will have a store where all the common values shared among components will be stored and actions that will help to dispatch any data to update the store using reducers. Our main agenda should be to keep it as simple as the definition.

  • Add all API fetching methods separately
  • Create separate actions for updating the store
  • Name every action accordingly for better understanding
  • Call the fetching method inside components and update the Redux store via action after the API response

In this approach, we can give the user a better view of response from API, Most important is user experience, for example, loader, errors, internet connectivity or server is under maintenance this kind of issues are very often and certain to occur in application and not providing better transparency to the user regarding the issues will end up creating the bad user experience. Good read!

[Read More]