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 ]

How to mitigate Low-Code security risks

Categories

Tags security-and-privacy cloud-and-infrastructure leadership-and-career software-engineering architecture-and-apis devops-and-ci-cd

Gartner predicts that by the end of 2025, over 65% of development projects will use low-code builders. The field of low-code continues to expand. But what security implications does low-code introduce? By Bill Doerrfel.

Low-code refers to tools that enable application construction using visual programming models. Adopting drag-and-drop components instead of traditional code, no-code and low-code platforms enables non-technical folks to construct their own workflows without as much help from IT. Yet, handing power to citizen developers with less security training can be risky. Plus, low-code platforms may hold compromised propriety libraries or leverage APIs that may unknowingly expose sensitive data to the outside world. There’s also the possibility that low-code could increase shadow IT if not governed well.

The article then further covers:

  • Low-Code security concerns
  • Ways to harden Low-Code environments
  • Change the attitude toward security
  • No-Code ≠ No-Bug

Low-code continues to permeate more and more digital operations, opening up novel potential for citizen developers. While the low-code movement promises impressive returns, it also brings potential risk. To mitigate these concerns, we must level up our security understanding and evolve our approaches, Wysopal said. “Any application can have flaws and security bugs in them.” Just because you’re not writing a function in C and are relying on a visual programming model doesn’t mean you’re not introducing flaws. Good read!

[Read More]

How we implemented Distributed Multi-document ACID Transactions in Couchbase

Categories

Tags data-and-analytics cloud-and-infrastructure leadership-and-career architecture-and-apis

ACID Transactions are a must when you have strict data consistency requirements in your application. The costs of running transactions on distributed systems can rapidly create bottlenecks at scale. By Denis Rosa, Developer Advocate, Couchbase.

ACID transactions in NewSQL databases require more coordination than in NoSQL, as the data related to an entity is split into multiple tables which might live in different nodes. The relational model, as we use today, requires transactions for the majority of the writes, updates, and cascading deletes. The extra coordination that the NewSQL architecture requires comes at a cost of reduced throughput for applications requiring low latency operations.

The content of this guide:

  • Relational vs NewSQL vs NoSQL Transactions
  • Atomicity in RDBMS
  • Atomicity in NewSQL
  • Atomicity in Document Databases
  • Multi-Document Distributed ACID Transactions in Couchbase
  • Couchbase Architecture Review
  • Distributed Transactions without a Central Coordinator
  • Handling Isolation – Monotonic Atomic View
  • Repeatable Reads and Monotonic Atomic Views
  • Durability in a Distributed Database

… and more. Couchbase has support for the Read Committed/Monotonic Atomic View consistency models. But how good is that? Well, Read Committed is the default choice in Postgres, MySQL, MariaDB and many other databases out there; if you never changed that option, that’s what you are using right now. Yuo will also get charts explaining the concepts together with links to further reading. Very good!

[Read More]

The only guide you need for a static website in Azure — Create a static website

Categories

Tags cloud-and-infrastructure frontend-and-mobile product-and-design

Want to know more about static site generators? How to host your static website using Azure services, or how you can automate the full integration of your web code and the deployment of your site build? Either way, this series of blog posts is for you! By Rolf Schutten.

A static website is a website that is delivered in the user’s web browser exactly as it is stored, as opposed to dynamic web pages generated by a web application. Static web pages are often HTML files that are stored as files, and made available by the web server via HTTP(S).

The article covers a series of topics that includes:

  • Understanding static websites
    • Next.js
    • Gatsby
    • Hugo
    • Jekyll
  • Create your static website

This article is part of a series that also includes:

  • The only guide you need for a static website in Azure — Part 2: Host your site using Azure Blob Storage. In this article, author covers how you can host your static website in Azure Blob Storage, what there is to choose from, and some basics around Content Delivery Network (CDN).
  • The only guide you need for a static website in Azure — Part 3: Automate using Azure DevOps Pipelines. In this article, author covers what the Azure DevOps services are, and how to automate the build and deployment for your static website to Azure storage.

Nice and easy intro into JamStack and static websites. Good read!

[Read More]

Set up k3s in high availability using k3d

Categories

Tags devops-and-ci-cd frontend-and-mobile product-and-design leadership-and-career

Have you ever wanted to try K3s high availability cluster “mode,” and you either did not have the minimum three “spare nodes” or the time required to set up the same amount of VMs? Then you are in for a good treat: meet k3d!

If you’re not familiar with k3d, its name gives you a hint to what it’s all about: K3s in Docker. k3d is a lightweight wrapper to run K3s (a lightweight, single <40MB binary, certified Kubernetes distribution developed by Rancher Labs and now a CNCF sandbox project) in Docker. With k3d, it’s easy to create single- and multi-node K3s clusters in Docker, for local development on Kubernetes.

k3d allows you to start a K3s cluster in literally no time. Plus, you can learn its few, but powerful, commands very quickly. k3d runs in Docker, which allows you to scale up and scale down nodes without further setup. In this blog, we’ll cover setting up a single-node K3s cluster using k3d and then walk through the steps for setting up K3s in high availability mode using k3d.

The tutorial then covers:

  • Prerequisites (Docker and a Linux shell)
  • Step 1: Start with Installation
  • Step 2: Start Small with a Single-Node Cluster
  • Step 3: Welcome to the HA World

While we created a single node and an HA cluster locally, inside containers, we can still see how K3s behaves with the new etcd embedded DB. If we deployed K3s on bare metal or virtual machines, it would act the same way. Yuo will also get detailed screen shots, example code and links to further reading. Nice one!

[Read More]

The state of serverless computing 2021

Categories

Tags architecture-and-apis frontend-and-mobile product-and-design devops-and-ci-cd leadership-and-career

Serverless computing is at the precipice of enterprise shift towards containers and microservices. 2021 presents some exciting opportunities to finally board the ship. By Tauseef Khan.

Serverless computing is redefining the way organizations develop, deploy, and integrate cloud-native applications. According to an industry report, the market size of serverless computing is expected to reach 7.72 billion by 2021. A new and compelling paradigm for the deployment of cloud applications, serverless computing is at the precipice of enterprise shift towards containers and microservices.

The main ideas in the article:

  • The “pay-as-you-go” backend
  • 2021 is the year of FaaS
  • Serverless addresses problems with traditional cloud models
  • Serverless computing looks a lot more promising in 2021
  • Serverless is the most exciting thing in computing right now
  • Serverless is still not the “go-to” method of application deployments
  • The market of serverless computing
  • Serverless will eventually replace cloud computing

Serverless vendors differentiators

Source: https://dzone.com/articles/the-state-of-serverless-computing-2021

Serverless computing is a natural evolution from traditional cloud computing but the former is still in infancy as a technology to replace its older cousin. While the pros are already outnumbering cons, the use-cases of successful serverless applications are still scant. Only a handful of major corporations are invested in the technology to drive adoption and raise confidence. Excellent info here!

[Read More]

Monetizing your blog with cryptocurrencies

Categories

Tags miscellaneous business-and-emerging-tech

Current internet has been dominated by huge corporations, spying on users and selling their data to the advertisement companies. Amount of ads in internet is unbearable, pushing the quality content out in favour of mass produced click baits. By Damian Sosnowski.

Nowadays, monetization of the blog usually boils down to displaying ads via some 3rd party ad provider like Google. This however degrades the user experience, both in terms of page performance and “stealing” the users attention. It’s a well known fact that most of the ads providers are actually tracking users, invading their privacy and selling their private data.

For those reasons, people are actively blocking these ads, either via browers’ plugins or by using browsers that have this kind of protection built in by default (like Brave). Additionally, some of you, like me, don’t want to host this kind of content adding your share to the progressing degeneration of internet society.

The content of the article:

  • Crypto vs traditional payment systems
  • Available crypto-based monetization options
  • BAT Project
  • Coil
  • Steemit and other similar platforms

The biggest advantage of Coil is its monetization API. It allows creators to actually give something for the users that decided to pay for the content. This might be a deal breaker in terms of its wider adoption as it helps to create a situation when both sides are actually rewarded via the payments system.

Fortunately you don’t have to choose which payment system to implement on your site as BAT and Coil don’t interfere with each other, so use both and enjoy your soon-to-be-crypto-millionaire status ;). Nice read!

[Read More]

Using Eleventy to host your blog

Categories

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

Blogs don’t need to be dynamic. Technically, it doesn’t make sense to pull data out of a database when a page is requested. Instead, it makes more sense to create the pages (HTML) beforehand (during the build process). By Sahil Parikh.

The idea of the Jamstack movement made a lot of sense (even when you start thinking about security), and I started digging into the world of static site generators (SSGs).

In this article, author will cover what 11ty is, why is it gaining popularity, why I chose it for my blog and how you can get started by creating your very own blog using 11ty. Further, in the article:

  • What is Eleventy (11ty)?
  • Getting started with Eleventy
  • Creating a blog post with Eleventy

11ty has a growing community behind it, and there are tons of articles and how-tos on the web to follow along. Once I designed my blog with Eleventy, I used Tailwind CSS to style it and then hosted it on Netlify. If you are looking for an SSG that is not opinionated, simple, flexible, and fast, I would recommend you give 11ty a shot. Excellent starter point for anybody interested in Jamstack!

[Read More]

Kubernetes Ingress for beginners

Categories

Tags devops-and-ci-cd how-to

As a short definition, an Ingress is a rule that charts how a service, walled inside the cluster, can bridge the divide to the outside world where clients can use it. By Nick Ramirez.

At the same time, a proxy, which is called an Ingress Controller, listens at the edge of the cluster’s network — watching for those rules to be added — and maps each service to a particular URL path or domain name for public consumption. While the Kubernetes maintainers develop the API, other open source projects implement the Ingress Controllers and add their own features unique to their proxy.

The article then deals with:

  • The Routing problem
  • Ingress routing
  • Adding an Ingress Controller

Ingress controllers are pods, just like any other application, so they’re part of the cluster and can see other pods. They’re built using reverse proxies that have been active in the market for years. So, you have your choice of an HAProxy Ingress Controller, an NGINX Ingress Controller, and so on.

Ingress resources have consolidated how services inside a Kubernetes cluster can be accessed by external clients, by allowing an API Gateway style of traffic routing. Proxied services are relayed through a common entrypoint and you control when and how to publish a service by using an intent-driven, YAML declaration. Good read!

[Read More]

Tips for Kubernetes cost optimization

Categories

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

Kubernetes is ruling the container market. According to a CNCF survey, the use of Kubernetes in production in 2020 was 93%, up from 78% in 2019. However, the problems most often listed in surveys include networking, storage, tracking, surveillance, a lack of preparation, and, of course, cost management. By Sara Miteva.

Running Kubernetes can be very costly, especially if done inefficiently. When businesses first try to incorporate Kubernetes in their organizations, they usually use the same architecture and setup that performed well with initial research experiments. However, this setup is often unoptimized and companies don’t think about expenses right away. This could save a lot of unnecessary costs and encourage the implementation of good habits from the beginning.

The content of the article:

  • Kubernetes cost monitoring
  • Limiting resources
  • Autoscaling
  • Choose the right AWS instance
  • Use spot instances
  • Set sleeping schedules
  • Practice regular Kubernetes cleanup
  • Right-size your Kubernetes cluster
  • Tag resources

… and more. The first step in your Kubernetes cost optimization is to create an outline and begin monitoring them. Then, to avoid unnecessary computational resource usage, you can set limits, which would make the costs more manageable. Incorporating these tips into your processes will result in a cost-optimized Kubernetes system. Good read!

[Read More]

Why reading code is just as important as writing code: How to get better at it

Categories

Tags software-engineering leadership-and-career miscellaneous how-to

It strikes me as odd. We’ve heard the same messages: Write clean code. Write readable code. Write meaningful code. By Amy M Haddad.

Author agrees with these sentiments. But all the talk about writing code overshadows another critical skill: the ability to read it. Reading code is like an athlete who watches their game films. There’s a lot to gain when you become a vast reader.

What you will find in this article:

  • An Important skill
  • Reading vs. doing
  • Reading informs writing
  • Become a Better Reader
  • Follow Ben Franklin’s lead
    • Solve a problem.
    • Find a programmer who’s better than you and who’s solved the same problem.
    • Study their solution. This is a crucial step: read each line of code and type a comment in your editor to explain it.
    • Re-solve the same program after some time has passed. Use the comments you typed out as hints to guide you along the way.
  • Compare your program to the one you studied.
  • Solve problems on LeetCode
  • Recycle your own problems
  • Be a better programmer

Solving problems on the website LeetCode offers an important benefit: it provides in-depth solutions to problems. Oftentimes there are multiple solutions with explanations. A programmer does a lot of things. Writing code is one of them. So is reading it. In the end, being able to read code can help you to write it. It’s circular. Reading code matters and we ought to strive to get better at it. Good read!

[Read More]