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 event driven systems work in commerce

Categories

Tags cloud management event-driven miscellaneous

The polling system acts like the impatient customer. In a commerce-related scenario, it keeps polling the system for new updates such as orders and payment authorizations while the event driven system relies on asynchronous event handlers to notify it of updates in the system. By Sajjad Heydari.

Event based systems in computer science go back to the 1950s where they were first designed to handle asynchronous events such as Input/Output. Edsger Wybe Dijkstra designed the first interrupt handler on the Electrologica X-1 that is still used in modern systems to this day. The modern day’s events are the same concept, only they are used in different environments.

The event driven system is easier to develop and more efficient, but it requires special infrastructure to work. The good news is that some software and platforms like Fabric support event driven systems. In commerce, these systems create more streamlined operations so customers get their orders faster.

The article then describes:

  • Example of an event driven system
  • Parts of an event driven system
    • The event
    • The event router
  • Benefits of event driven systems

In this post we provided an overview of how event driven systems streamline commerce. For a more detailed view of how events and event routers allow different services to communicate better in a commerce tech stack, check out thisvideo from AWS. Nice one!

[Read More]

MQTT vs SSE

Categories

Tags microservices web-development event-driven messaging software-architecture app-development

Building a real-time web or mobile application is a bit more challenging than building a standard service. That’s because the protocol you choose to deliver data from the server to the client — and back — will have a significant impact on the overall experience. By Kieran Kilbride-Singh.

When you need data to flow from the server to the client quickly, a persistent connection is necessary. You do this by using long polling, WebSockets, Server-Sent Events (SSE) or HTTP2 Push.

MQTT Brookerm schema

Source: www.ably.io/blog/mqtt-vs-sse/

Today, we’re going to take a look at MQTT and SSE, specifically, to see how they compare:

  • A brief history of MQTT and SSE
  • How are they different?
  • An overview of MQTT in action
  • MQTT: Pros and cons
  • An overview of SSE in action
  • SSE: Pros and cons

The most important thing to consider when comparing MQTT and SSE is their connection capabilities. SSE, for example, is mono-directional and specifically designed for services or applications that need to pull information from a server. MQTT, on the other hand, is a robust, bi-directional communication option that can facilitate data transfers back and forth between the server and client(s). Excellent information here!

[Read More]

Kafka with Java: Build a secure, scalable messaging app

Categories

Tags microservices event-driven messaging java software-architecture infosec

Today’s users expect your app to be accessible from their computer, mobile phone, tablet, or any other device! This transition to Software as a Service (SaaS) as the norm requires developers to effectively integrate with robust tools that scale to handle thousands (or even millions) of requests every second. Apache Kafka is one of the most effective tools for handling those high throughput environments. By Daniel Pereira.

In this tutorial, you’ll learn the basic concepts behind Apache Kafka and build a fully-functional Java application, capable of both producing and consuming messages from Kafka.

The tutorial reads about:

  • A brief overview of Apache Kafka
  • Distributed streaming platform
  • Publish/Subscribe messaging system with durable messages
  • Kafka topics
  • Create a Java + Kafka application
  • Push messages to a Kafka topic in your Java app
  • Consume messages from a Kafka topic in a Java App
  • Secure your Java Kafka application

This is very hand on tutorial. you will get all the code, plus explanation how to set up secure authentication via Okta API using free Okta account. The Okta Identity Cloud provides secure identity management with Single Sign-On, Multi-factor Authentication, Lifecycle Management (Provisioning), and more. Great read!

[Read More]

How to integrate bitbucket CI with selenium grid cloud

Categories

Tags tdd programming devops software

Without Continuous Integration or CI, developers would need to manually coordinate, communicate, and test while contributing code to the end product each time. This, in turn, affects the production and causes a delay in release. By Salman Khan.

With Bitbucket CI coming into the picture, it will go a long way in helping developers with their daily operations. To ensure faster and smoother delivery, organizations use Selenium Grid Cloud to automate their test suite.

The article then pays attention to:

  • What is bitbucket pipelines? Why do we need it?
  • Why choose selenium cloud to run the tests?
  • How to run test scripts with bitbucket pipelines in selenium?
  • Forking or cloning the bit bucket pipeline repository
  • Setting up the environment variables
  • How to configure the pipeline in bitbucket ci?
  • How to execute the pipeline?
  • How to view the build & test logs?

… and much more. Screenshots and all the code for the pipelines provided. To perform parallel testing, author provided in the bitbucket-pipeline.yml file with instructions how to execute parallel and cross-browser testing using cloud services such as LambdaTest and its uses to integrate bitbucket pipelines. Nice one!

[Read More]

As AI chips improve, is TOPS the best way to measure their power?

Categories

Tags big-data machine-learning data-science robotics performance

About the challenge of evaluating AI chip performance using “TOPS”, a metric that means trillions of operations per second, or “tera operations per second”. By Jeremy Horwitz.

Over the past few years, mobile and laptop chips have grown to include dedicated AI processors, typically measured by TOPS as an abstract measure of capability. Apple’s A14 Bionic brings 11 TOPS of “machine learning performance” to the new iPad Air tablet, while Qualcomm’s smartphone-ready Snapdragon 865 claims a faster AI processing speed of 15 TOPS.

The article describes:

  • TOPS, explained
  • Apple on TOPS
  • Qualcomm on TOPS
  • Huawei, Mediatek, and Samsung on TOPS
  • Top of the TOPS

Apple has tried to reduce its use of abstract numeric performance metrics over the years: Try as you might, you won’t find references on Apple’s website to the gigahertz speeds of its A13 Bionic or A14 Bionic chips, nor the specific capacities of its iPhone batteries – at most, it will describe the A14’s processing performance as “mind-blowing”… Mobile processors have become popular and critically important, but they’re not the only chips with dedicated AI hardware in the marketplace, nor are they the most powerful. Great article!

[Read More]

Building modern CI/CD workflows for serverless applications with Red Hat OpenShift Pipelines and Argo

Categories

Tags devops software continuous-delivery containers

GitOps practices support continuous delivery in hybrid, multi-cluster Kubernetes environments. In this two-part article, we’ll build a CI/CD workflow that demonstrates the potential of combining Tekton and GitOps. You’ll also be introduced to Red Hat OpenShift Serverless, as we’ll use Knative service resources in our CI/CD workflow. By David Sancho.

Tekton is a powerful yet flexible Kubernetes-native open-source framework for creating continuous integration and delivery (CI/CD) systems. It lets you build, test, and deploy across multiple cloud providers or on-premises systems by abstracting away the underlying implementation details.

The content of this article:

  • The CI/CD workflow
  • Configuring the OpenShift cluster
  • Operators, namespaces, and role bindings
  • Install a Knative Serving instance
  • Configure the Tekton tasks and pipeline
  • The demo application
  • Create your own repository

… and much more. The application is based on Quarkus, which is a perfect match for serverless applications due to its fast boot time and low memory consumption. The application itself is a simple “Hello, world” REST API that greets users when the /hello URI is hit. Excellent read!

[Read More]

Helm 3 umbrella charts & standalone chart image tags — alternative approach

Categories

Tags devops cicd containers kubernetes continuous-delivery

Helm umbrella charts, for those who aren’t familiar, describe and encapsulate a deployable collection of loosely couple Kubernetes components as a higher-order Helm chart. A collection of software elements that each have their own individual charts but, for whatever reason (e.g. design choices, ease of deployability, versioning complexities), must be installed or upgraded as a since atomic unit. By Christopher Parker, MSc.

A simple use case for an Umbrella chart could be that of a web application with a separate web-scraper component that populates a database. In this trivial example, the web application and scraper would each be described in their own Helm charts which can be individually deployed.

The article then explains:

  • Separation of concerns
  • Where is this not applicable?

Even when using umbrella charts, one might still want to control the version of the image in the sub-chart if parts of a project are making use of the sub-chart as a standalone chart. When making use of umbrella charts to deploy a multi-component stack, particularly where the sub-components of the stack will rarely, if ever, be deployed standalone, it makes sense to migrate image tag versions to the umbrella chart and maintain these here. Nice one!

[Read More]

What is design thinking and why is it so popular?

Categories

Tags ux software agile management cio

Design Thinking is not an exclusive property of designers—all great innovators in literature, art, music, science, engineering, and business have practiced it. So, why call it Design Thinking? By Rikke Friis Dam and Teo Yu Siang.

Some of the world’s leading brands, such as Apple, Google, Samsung and GE, have rapidly adopted the Design Thinking approach, and Design Thinking is being taught at leading universities around the world, including d.school, Stanford, Harvard and MIT.

https://public-media.interaction-design.org/images/uploads/34a545643d169a37480de10b731fb6df.jpeg

Design Thinking is an iterative and non-linear process

Source: : Interaction Design Foundation., CC BY-NC-SA 3.0

The article is split into:

  • What is Design Thinking?
  • Design Thinking’s phases
  • The problem with ingrained patterns of thinking
  • An example of problem solving: the encumbered vs. the fresh mind
  • The power of storytelling
  • Design Thinking or ‘Outside the Box’ thinking
  • Science and rationality in Design Thinking

… and much more. Tim Brown (CEO of the celebrated innovation and design firm IDEO) also emphasizes that Design Thinking techniques and strategies of design belong at every level of a business. Design thinking is not only for designers but also for creative employees, freelancers, and leaders who seek to infuse design thinking into every level of an organization, product or service in order to drive new alternatives for business and society. Great!

[Read More]

Full-Stack Flutter: Creating a backend for your app with AWS & serverless

Categories

Tags app-development javascript android cloud google

Being such a popular language for new developers, many of those using Flutter don’t know how or where to even begin when it comes to setting up a backend for their applications. By BleylDev.

There are a few solutions available such as Firebase, which most Flutter developers use, however, authors are going to cover a more widely used backend, AWS. The hope is that by the end of this article you will be able to quickly spin up your own database, APIs for connecting to that database and the integration of those APIs into your app, so that you can quickly put together a backend for future, or current, projects in Flutter.

The article pays attention to:

  • AWS account setup
  • How to set up a NoSQL database through DynamoDB
  • Configure your dev environment
  • Serverless framework
  • The benefit of Serverless
  • How to set up a model class in our Flutter project
  • How to set up Future methods to handle each type of API call

You can use this setup and expand out from it for future projects that require the use of database structures in AWS. Code examples in the article. Nice one!

[Read More]

Game development with .NET

Categories

Tags azure software programming how-to

Microsoft launched a new Game Development with .NET section on their site. It’s designed for current .NET developers to explore all the choices available to them when developing games. By Abdullah Hamed.

They lso launched a new game development Learn portal for .NET filled with tutorials, videos, and documentation provided by Microsoft and others in the .NET game development community. Finally, Microsoft launched a step-by-step Unity get-started tutorial that will get you started with Unity and writing C# scripts for it in no time.

The article is collection of various resources:

  • .NET for game developers
  • Available game engines
  • Online services for your game
  • .NET has a rich set of tools
  • The ecosystem
  • Learn more and start developing

The .NET game development ecosystem is rich. Some of the .NET game engines depend on foundational work done by the open-source community to create managed graphics APIs like SharpDX, SharpVulkan, Vulkan.NET, and Veldrid. Xamarin also enables using platform native features on iOS and Android. Great source of learning and plenty of links to further resources!

[Read More]