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 ]

Seven ways to reduce MySQL costs in the cloud

Categories

Tags sql cio devops cloud database

With the economy slowing down and inflation raging in many parts of the world, your organization will love you if you find ways to reduce the costs of running their MySQL databases. This is especially true if you run MySQL in the cloud, as it often allows you to see the immediate effect of those savings, which is what this article will focus on. By Peter Zaitsev.

With so many companies announcing layoffs or hiring freezes, optimizing your costs may free enough budget to keep a few team members on or hire folks your team needs so much:

  • Optimize your schema and queries
  • Tune your MySQL configuration
  • Implement caching
  • Rightsize your resources
  • Ditch DBaaS for Kubernetes
  • Consider lower-cost alternatives
  • Let experts manage your MySQL database

If the costs of your MySQL infrastructure in the cloud are starting to bite, do not despair. There are likely plenty of savings opportunities available. Nice one!

[Read More]

Understanding asynchronous APIs

Categories

Tags app-development devops apis cloud

If you’ve worked mostly with REST APIs, you might not be as familiar with asynchronous API protocols like WebSocket and gRPC. Asynchronous APIs allow you to stream data, send multiple requests at the same time, and manage communication intelligently between services, while synchronous APIs require you to make a new request every time you need data. By Melinda Gutermuth.

Let’s take a closer look at what makes asynchronous APIs different from synchronous APIs:

  • The difference between asynchronous and synchronous APIs
  • When to use an asynchronous API
  • Example asynchronous API use cases

In many cases, applications benefit from using a combination of synchronous and asynchronous APIs. While asynchronous APIs can offer perks like faster communication, quicker response times, and reliable scaling, there are advantages to synchronous APIs. Good read!

[Read More]

AWS CDK - The good, the bad and the scary

Categories

Tags app-development devops aws cloud cio programming

AWS Cloud Development Kit (CDK) has become, in its short history, a very popular infrastructure-as-code tool. It’s not too surprising why - it allows engineers to use richer programming languages to define infrastructure, rather than having to use JSON or YAML. By Mike Roberts.

In this article author shares his thoughts - both positive and negative - about CDK, for technical decision makers. This should help as you make your own choices about what infrastructure tooling to use.

The article highlights the information on:

  • The good
    • Programming language superpowers
    • Engineer enthusiasm The bad
    • Runtime debugging headaches
    • Ongoing meta-responsibilities
  • The scary
    • Longer-term operations requirements
    • AWS support of CDK over the long term
  • Should you use CDK or not?

Because of the fundamental nature of CDK being a client-side tool, and not a cloud-side tool, author thinks this expectation is false, or at least is yet to be proven. This brings up some the longer-term concerns outlined in the article. Nice one!

[Read More]

GOMEMLIMIT is a game changer for high-memory applications

Categories

Tags app-development devops golang programming

It can be very frustrating when Go applications use less memory than what is available to them, and yet they still manage to run out of memory and crash. Go 1.19 introduced GOMEMLIMIT, which completely changes how you can manage memory limits in Go. By Etienne Dilocker.

In this article, author will invite you on a journey. He will cover:

  • How memory allocations work in Go
  • When the Garbage Collector runs, and what the implications are
  • Why it was far too easy to run out of memory before Go 1.19
  • What GOMEMLIMT is and why it can prevent premature OOM kills
  • Run an experiment first without and then with GOMEMLIMI

Go 1.19 changes everything: The new GOMEMLIMIT feature can help you both increase GC-related performance as well as avoid GC-related out-of-memory (“OOM”) situations. Good read!

[Read More]

How to implement Enterprise Risk Management framework

Categories

Tags app-development devops miscellaneous software-architecture

Managing individual business risks is difficult when silos exist. An enterprise risk management (ERM) framework consolidates risk management strategy across an entire organization, enabling better visibility, measurement, and management of business objectives. By Catherine Chipeta.

With a unified focus on addressing risk, compliance teams can universally improve regulatory compliance, governance, and risk management processes.

The main points highlighted in the article:

  • What is ERM?
  • Why is ERM important?
  • How to choose an ERM framework
  • Types of ERM frameworks
  • 5-step guide: implementing an ERM framework

Do not forget to implement step that involves monitoring and reviewing your ERM program through data analytics to create an ongoing feedback cycle. Aggregating and filtering data manually is a time-consuming and complicated process, with room for human error. Risk optimization tools can help provide meaningful, accurate insights for faster, better-informed decision-making. Good read!

[Read More]

Demonstration of Drogue IoT using Node.js

Categories

Tags app-development iot startups miscellaneous nodejs

The goal of the Drogue IoT project is to make it easy to connect devices to cloud-based applications. This article will demonstrate how to implement firmware in Rust based on Drogue’s device support. This way, a device can communicate with the cloud using the low power LoRaWAN protocol. We will also illustrate how Node.js handles the server side. By Daniel Bevenius.

You will learn about:

  • The purpose of Drogue IoT
  • LoRaWAN network coverage
  • Drogue device
  • Drogue cloud
  • Learn more in the LoRaWAN end-to-end workshop

LoRaWAN is a low-power wireless network that enables you to run a device on batteries for months, sending telemetry data to the cloud every now and then. To achieve this efficient connectivity, you need LoRaWAN network coverage, and The Things Network (TTN) provides exactly that. You can extend the TTN network by running your gateway if your local area lacks coverage. TTN provides a public service that allows you to exchange data between devices and applications.Source code is also provided. Great read for any IoT fan!

[Read More]

Make a bot for simple interactions in MS Teams using webhook

Categories

Tags app-development devops miscellaneous apis

Have you ever had an idea to ask a bot to perform a simple interaction? Then this article is for you. By Lee Ford. A Webhook is a way for two applications that can communicate with each other. In our case, a simple bot and Teams.

Automation using MS Teams webhook and bot

Source: https://pnp.github.io/blog/post/make-a-bot-for-simple-interactions-in-teams-using-a-webhook/

The article then describes:

  • Bot interaction idea
  • Solution based on Webhook in Teams and Bot
  • What is webhook
  • OpenWeatherMap API
  • Setup
  • Bot
  • Teams Webhook

The bot is where the magic happens. It is code hosted externally to Teams that can be called over HTTP (via the Webhook). What that code does, where it is hosted, is all up to you. For this scenario, there is an (written in TypeScript), which can be found here: Azure Function HTTP Trigger. Nice one!

[Read More]

AI Ethics framework

Categories

Tags big-data cio data-science frameworks miscellaneous

Learn about AI ethics, a framework that guides data scientists and researchers to build AI systems in an ethical manner to benefit society as a whole. By @IBM.

Ethics is a set of moral principles which help us discern between right and wrong. AI ethics is a set of guidelines that advise on the design and outcomes of artificial intelligence. Human beings come with all sorts of cognitive biases, such as recency and confirmation bias, and those inherent biases are exhibited in our behaviors and subsequently, our data. Since data is the foundation for all machine learning algorithms, it’s important for us to structure experiments and algorithms with this in mind as artificial intelligence has the potential to amplify and scale these human biases at an unprecedented rate.

This article aims to provide a comprehensive market view of AI ethics in the industry today and provides following information on the subject:

  • What are AI ethics?
  • Establishing principles for AI ethics
  • Primary concerns of AI today
  • How to establish AI ethics
  • Ethical AI organizations
  • IBM’s point of view on AI Ethics
  • AI ethics and IBM

Since ethical standards are not the primary concern of data engineers and data scientists in the private sector, a number of organizations have emerged to promote ethical conduct in the field of artificial intelligence. Good read!

[Read More]

Elixir like a local

Categories

Tags erlang app-development elixir performance

Elixir is quite a flexible language, and it is possible to carry over many infrastructural patterns from other platforms like Ruby. However, by leaning on Erlang tooling, which predates many of the external infrastructural services that have become de-facto standards in modern web applications, we have the potential to boost performance and cut costs at the same time. By Eric Newbury.

Multi core concurrency platforms like the Erlang VM embrace an entirely different paradigm. The runtime boots up once on the host OS and reserves a pool of OS processes. It might not use all of them all the time—enabling the OS to prioritize other processes—but they are available to the Erlang VM whenever it needs to execute a parallel workload. From there, your application code can set up long-living BEAM processes (super lightweight abstractions that the BEAM can dynamically assign to its pool of OS processes to do work). With this paradigm, it is now feasible to run background work simultaneously with high throughput HTTP request handling.

The blog post goes on to elaborate on some of the common use cases of Redis in a tech stack and how we can use built-in services to do the same. In practice though, author has found one of the biggest barriers to letting go of Redis is the need for some kind of global state store so that your application code can horizontally scale up the number of nodes. Good read!

[Read More]

Secure Spring Boot REST API with Apache APISIX API Gateway

Categories

Tags infosec app-development web-development frontend

In this walkthrough, we are going to look at some of the Apache APISIX API Gateway built-in plugins for securing your Spring Boot REST APIs and demonstrate how to effectively use them. By Bobur Umurzokov.

APISIX API Gateway provides rich traffic management features such as load balancing, dynamic upstream, canary release, circuit breaking, authentication, observability, and more.

The article reads about:

  • Overview of API Security
  • The API Gateway as a gatekeeper
  • How does an APISIX gateway secure your APIs
  • Clone the demo repository apisix-security-java-spring from GitHub
  • Understand the structure of the project and docker-compose.yaml file
  • Build a multi-container APISIX via Docker CLI
  • Allow only whitelisted IP address access your API with IP restriction plugin in action
  • Block direct access to some API resources with Uri-blocker plugin
  • Make sure that only allowed users can request your API with Consumer restriction plugin

Blog post contains also conceptual knowledge about API Security, the important role of the API gateway in handling cross-cutting concerns, and how Apache APISIX can help you to simplify and accelerate the task of securing APIs. Code examples for containers is also included. Excellent read!

[Read More]