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 ]

Faster MQTT data collection with InfluxDB

Categories

Tags database app-development web-development devops

Native MQTT eliminates the need to write custom code, orchestrate additional technology layers or incorporate additional hosting services. By By Jason Myers.

MQTT is a powerhouse within the Internet of Things (IoT) space. Its pub/sub model and lack of defined payload structure make it infinitely adaptable to the needs of modern sensors, devices and systems. IoT data is also time-series data. Time-stamped data enables businesses and applications to track real-time and historical change, and it can also contribute to forecasting and prediction.

Article then describes:

  • Configuring Native MQTT
    • Broker details: Specify the IP address, port and authentication parameters for your MQTT message broker
    • Topic name: Provide the name(s) for the topic(s) you want to subscribe to
    • Parsing rules: Set up parsing rules to map elements in your MQTT messages to the different elements of InfluxDB’s line protocol data model: measurements, timestamps, fields, and tags
  • Data parsing options

Native MQTT gives developers a way to collect time-series data in the cloud with a single step. Eliminating the need to write custom code, orchestrate additional technology layers or incorporate additional hosting services means that developers can spend more time actually using their collected data and less time configuring or managing infrastructure. Good read!

[Read More]

The ultimate guide to redirects: URL redirections explained

Categories

Tags browsers app-development web-development search

Redirects send users from one URL to another. The first URL is the one the user clicked, typed in, or otherwise requested. The second is the new destination URL. By Kelly Lyons, senior blog editor @ Semrush.

Redirections work pretty much the same way for search engines. They send search engines from one particular URL to another.

You will get thorough explanation of:

  • What are redirects?
  • Why are redirects important?
  • When to use redirects
  • Types of redirects
  • HTTP redirects
  • Meta refresh redirects
  • JavaScript redirects
  • How to implement redirects
  • 5 redirect best practices

When you set up a redirect, make sure that the new page’s content is a close match to the old page’s. For example, redirecting an expired specials page to your main specials page instead of your homepage makes a lot more sense. Google essentially skips over true 404 pages. This doesn’t happen with soft 404 errors, so it’s best to avoid them and fix any existing errors. Long and informative article!

[Read More]

Using Watir to automate web browsers with Ruby

Categories

Tags tdd performance app-development web-development browsers

Browser automation describes the process of programmatically performing certain actions in the browser (or handing these actions over to robots) that might otherwise be quite tedious or repetitive to be performed manually by a human. By Jude Ero.

Watir, pronounced as water, is a group of Ruby libraries for automated web browsers. It allows writing the tests which are easy to read and maintain. In other words, it is a simple and flexible tool.

In the artcile also:

  • What is browser automation?
  • Implementing Watir
  • Installing gems
  • Setting up Watir
  • Launching a browser
  • Finding and interacting with elements
  • Extracting data from the web page
  • Executing javascript

Watir is a family of libraries for web browser testing and automation. It is highly regarded in the Ruby community and easy to learn and use. In this tutorial, you learned how to set it up and harness its most common functionalities. Interesting!

[Read More]

Building a secure SaaS application with Amazon API Gateway and Auth0 by Okta

Categories

Tags apis serverless infosec cloud app-development web-development microservices

Most applications require a form of identity service to manage, authenticate, and authorize users. In software-as-a-service (SaaS) applications, multi-tenancy adds specific challenges to this task that are important aspects to consider when designing a multi-tenant identity management service. By Humberto Somensi.

In this post, author will dive deep into the Auth0 identity platform by describing how to leverage Auth0 Organizations to enable multi-tenant identity in SaaS solutions, and how to integrate it with Amazon API Gateway, covering:

  • Auth0 essential building blocks
  • Auth0 Organizations: Your tenants in a nutshell
  • Multi-Tenant setup with Auth0 organizations
  • Onboarding new tenants
  • Login flow
  • Securing your application with Amazon API gateway
  • Using SaaS Identity to harden your tenant isolation posture
  • Exploring More Complex Use Cases

Identity is an important and complex subject in any context. When analyzed from a multi-tenant perspective, some new challenges are imposed. Like with anything we do at Amazon, start by understanding what your customers require. Then, select the appropriate identity provider and design your application to meet your customer needs. Very informative!

[Read More]

What is green computing?

Categories

Tags serverless cio miscellaneous app-development web-development cloud

Green computing, also called sustainable computing, aims to maximize energy efficiency and minimize environmental impact in the ways computer chips, systems and software are designed and used. By Rick Merritt.

Mobile users demand maximum performance and battery life. Businesses and governments increasingly require systems that are powerful yet environmentally friendly. And cloud services must respond to global demands without making the grid stutter.

The article makes a good job explaining:

  • Why is green computing important?
  • What are the elements of green computing?
  • What’s the history of green computing?
  • A pioneer in energy efficiency
  • A green computing benchmark
  • AI and networking get more efficient
  • What’s ahead in green computing?

… and more. Green computing hit the public spotlight in 1992, when the U.S. Environmental Protection Agency launched Energy Star, a program for identifying consumer electronics that met standards in energy efficiency. In an effort to accelerate climate science, NVIDIA announced plans to build Earth-2, an AI supercomputer dedicated to predicting the impacts of climate change. It will use NVIDIA Omniverse, a 3D design collaboration and simulation platform, to build a digital twin of Earth so scientists can model climates in ultra-high resolution. Nice one!

[Read More]

The future is serverless

Categories

Tags serverless ibm app-development web-development microservices

Why serverless computing is the future of all cloud computing. Since the introduction of cloud computing, the field experienced a series of back-and-forth evolutions, partly driven by cost factors that repeated themselves in various guises. However, in recent years, a new motivating factor might help cement the next evolution of cloud computing. By Michael Maximilien, David Hadas, Angelo Danducci II, Simon Moser.

Serverless computing was created to solve the problem of allocating cloud compute resources. Serverless was built to tackle this problem by adding automation that eliminates the need for users to predetermine the amount of compute resources necessary for their workload. As an open source example, Knative added scaling automation on top of Kubernetes-based cloud platforms. Knative makes the scaling decisions of workload services in line with actual service demand. As requests come in, Knative adjusts the compute resources to the demand. Knative scales the number of service pods infinitely (assuming Kubernetes has the resources) and when requests dry out, it scales down (to zero pods eventually).

In this blog post, we make the case and paint a vision that serverless computing is the future of cloud computing. The argument centers around the following premises:

  • Cloud computing is at the center of the modern interconnected world. Most modern applications use cloud compute applications for aggregating and processing data and for constructing information that edge devices need.
  • Cloud computing demand is expected to grow annually by 15%.
  • Cloud computing is projected to reach 50% of IT spending in key market segments
  • Cloud computing already consumes 1-1.5% of global energy and its growth represents an actual threat to the environment.

In this blog post, authors explained the motivations for serverless computing to be the future of all cloud computing workloads. We argued that this serverless-first future has various potential benefits for both cloud users and providers. Nice one!

[Read More]

The lean startup summary

Categories

Tags startups cio career miscellaneous learning management

Back in 2004, Eric Ries was working on a startup called IMVU and Steve Blank was an investor and advisor for them. Steve had a methodology he called “Customer Development.” This was later released in a book called The Four Steps to the Epiphany. Eric combined Steve’s framework, the manufacturing practices of Toyota from Japan and Agile software development in what became The Lean Startup. By Benjamin Arritt.

The process of creating a plan, setting milestones and delegating tasks to employees will not work with the start up because they don’t truly know what their customers want, which approaches are best and what will be sustainable.

Eric Ries

In this summary you will find outline for the book, including:

  • Vison
    • Start ups need to be managed differently from established companies
    • The purpose of a start up is to find a sustainable business model
    • Find your sustainable business model through validated learning
    • The leap of faith assumptions: test your value and growth hypothesis
  • Steer
    • Develop a Minimal Viable Product (MVP) to test your idea in the market
    • Build, measure and learn (BML) as fast and as often as possible
    • Use split-tests to optimize your product
    • Vanity metrics are often flattering but misleading and do not help you find a sustainable business model
    • To find the right business model for your company you usually have to pivot
    • Every startup should focus on one engine of growth
  • Accelerate
    • Batch
    • Grow
    • Adapt
    • Innovate

… and much more. Very useful summary for anybody trying to create their first startup!

[Read More]

Engineering in a hybrid world

Categories

Tags cio agile teams career

In 2020, the world shifted to remote work with most companies transitioning to hybrid or remote arrangements. At the time of this report (October 2022), over 50% of respondents had no definitive plan to return to the office. Like it or not, remote work is here to stay. By Vivian Guo.

Regardless of whether you are working in an office, it is almost guaranteed you will be interacting and working with remote workers. For engineering organizations with distributed teams, this presents a unique challenge of maintaining connection and collaboration across geographic barriers.

Distributed workforces have fundamentally changed how engineering teams collaborate with each other and the key processes and tools needed to enable successful software development. This year’s report explores how exactly the shift to remote work has impacted engineering organizations. Follow link to article and download this extensive pdf report. Good read!

[Read More]

Message routing and topics, thought shift

Categories

Tags cio app-development messaging devops event-driven

A lot has changed - Memory, Storage, and CPU are cheaper and available on demand. Cloud technologies have also disrupted this domain; we now have Infrastructure as a Service (IaaS) - Scaling, Load Balancing, and DR responsibilities have been delegated to the Cloud service providers. By Giri Venkatesan.

In an ideal world, a messaging broker would never need to open the payload - it can be simply passing messages between producers and consumers based on subscription. Not all consumers are equal; they may be built to handle subsets of messages even if they are of the same class. For example, a Tax Calculation service would need to process the message differently based on the country or region the message is originating from.

Fortunately, MQTT-based brokers adopted the hierarchical representation of topics from the get-go.

Message hierarchical taxonomy

Source: https://www.linkedin.com/pulse/message-routing-topics-thought-shift-giri-venkatesan/

The benefits of such a hierarchical scheme don’t stop there. Now we can use wild cards at any level to capture a broader range of message topics in a subscription:

  • Single-level wildcard: ‘*’
    • All credit card transactions from store 1049, with transaction number beginning ‘4’
    • quickpay/credit/*/4*/01049
  • Multi-level wildcard: ‘>’
    • All debit transaction to be cleared at bank 18
    • quickpay/debit/0018/>
    • Literals at each level are treated as Strings - hence wildcard usage on data types like latitude/longitude coordinates and other custom identifiers would also benefit
    • bustrak/gps_updt/*/*/45.3*/-75.7*

With support for versioning, topics can be altered dynamically without affecting the existing subscribers and overall architecture. Good read!

[Read More]

What to consider when modernizing APIs with GraphQL on AWS

Categories

Tags programming app-development cloud apis aws

In the next few years, companies will build over 500 million new applications, more than has been developed in the previous 40 years combined (see IDC article). API operations enable innovation. By Lewis Tang.

The main focus of this article:

  • How GraphQL works
  • Options for running GraphQL on AWS
    • Fully managed using AWS AppSync
    • Self-Managed GraphQL

Modernizing APIs with GraphQL gives your frontend application the ability to fetch just the data that’s needed from multiple data sources with an API call. You can build modern mobile and web applications faster, because GraphQL simplifies API management. You have flexibility to run an open-source GraphQL implementation most closely aligned with your needs on AWS Lambda, Amazon ECS, and Amazon EKS. With AWS AppSync, you can set up GraphQL quickly and increase your development velocity by reducing the amount of non-business API logic code. Easy!

[Read More]