DZone.com Feed

DZone.com Feed


Creating Grafana Dashboards to Visualize Alluxio Metrics

Posted: 18 Nov 2019 02:06 PM PST

Creating Grafana Dashboards

Overview

Monitoring metrics is highly important to operate distributed systems in production. Alluxio collects metrics using the Codahale Metrics Library on I/O throughput, RPC throughput, and resource usage. Alluxio metrics are shown in its webUI but are also available through a REST endpoint or exportable to several third-party sinks in a time-series manner (see docs).

Grafana, a comprehensive metrics visualization software, ties into this process by pulling the metrics that systems like Alluxio collect through a sink and visualizes them in a more helpful fashion. This guide will cover how to set up Grafana and Graphite, a supported sink for Alluxio, which will put metrics in a time-series database, along with exploring some of the possibilities that the combination offers.

Streamr Streaks Ahead Creating a Real IoT Data Economy

Posted: 18 Nov 2019 01:54 PM PST

Learn how Streamr is building a data economy through IoT.

It's not every day that you talk to a company that raised 30 million Swiss francs (that's over 30 million USD) in a 2017 ICO and is kicking some amazing goals not only when creating a new ecosystem for trading IoT data, but also the actual technology framework and solutions that underpin it.  

That company is Streamr who created a decentralized network for scalable, low-latency, untamperable data delivery and persistence. Anyone – or any device – can publish new data to data streams, and others can subscribe to these streams to power Ðapps (decentralized applications), smart contracts, microservices, and intelligent data pipelines. Much of the data is free, but where that's not the case, the terms of use are stored in Ethereum smart contracts. 

How to Define Constants in Java

Posted: 18 Nov 2019 11:16 AM PST

There seems to be a lot of confusion around the topic of constants in Java. Some people make use of integers or Strings to define constants, while others make use of enums.

I've also come across constants defined in their own interface — where classes that make use of the constants have to implement the interface. This strategy is often referred to as the interface constant design pattern.

Introduction to Redux

Posted: 18 Nov 2019 10:24 AM PST

Role of Redux

The whole point with Redux is to have one single source of truth for your application state. The state is stored as a plain Javascript object in one place: the Redux Store. The state object is read-only. If you want to change the state, you need to emit an Action, which is a plain JavaScript object.

Your application can subscribe to get notified when the store has changed. When Redux is used with React, it is the React components that get notified when state changes and can re-render based on new content in the store.

The Complete Docker Collection [Tutorials]

Posted: 18 Nov 2019 10:23 AM PST

Here is the collection of Docker articles and tutorials you've been waiting for.

What is Docker?

What It Is...

Compliant DevOps

Posted: 18 Nov 2019 10:05 AM PST

With new data protection laws coming into play, and consumers more aware than ever before of how their privacy is being compromised, there is now a requirement for companies to adopt a compliant DevOps approach. Download this Refcard to discover the best practices to adopt compliant DevOps.

10 HTML5 Hacks Every Web Developer Should Know

Posted: 18 Nov 2019 09:54 AM PST

HTML5 is an attractive language to pick up as a beginner or even a non-coder. Because let's face it, whenever you interact with a website, you are dealing with HTML.

Knowing how to navigate your way around the code can save you a lot of time (and even money) when it comes to doing small tweaks or optimizing basic web elements.

How to Visualize Data Composition

Posted: 18 Nov 2019 09:42 AM PST

One of the most common uses of charts is illustrating part-to-whole relationships, aka. "data composition." Pie charts may be the most popular chart type for this purpose, but other chart types may be just as good (or much better). In this article, we will look at ways to effectively communicate parts-to-whole relationships effectively using pie, donut, sunburst, stacked bar/column, stacked area, and treemap charts.

Which chart to use is primarily driven by the nature of the data. As a rule of thumb, for simple datasets (six or fewer elements), a pie or donut chart works well. For more dense datasets, other charts are better to illustrate composition, such as stacked bar, column, or area charts. For nested (hierarchical) data sets, a sunburst and treemap might be right for the job.

A Love Letter to Clojure, Part 1

Posted: 18 Nov 2019 08:57 AM PST

Spoiler: I love Clojure!
Spoiler: I LOVE Clojure.

In this blog post, I will explain how learning the Clojure programming language three years ago changed my life. It led to a series of revelations about all the invisible structures that are required to enable developers to be productive. These concepts show up all over The Unicorn Project, but most prominently in the First Ideal of Locality and Simplicity, and how it can lead to the Second Ideal of Focus, Flow, and Joy.

Without a doubt, Clojure was one of the most difficult things I've learned professionally, but it has also been one of the most rewarding. It brought the joy of programming back into my life. For the first time in my career, as I'm nearing fifty years old, I'm finally able to write programs that do what I want them to do. Also, I am able to build upon them for years without them collapsing like a house of cards, as has been my normal experience.

Containers vs. Serverless

Posted: 18 Nov 2019 07:56 AM PST

Containers and serverless computing have taken a front seat in cloud computing.

A Bit of History

Not so long ago, the development, deployment, and maintenance of applications was much more complicated and time-consuming than it is today. In the very beginning, maintenance required fixes not only to the application's code, but also to supporting physical machines. Keeping servers, hardware, and software up-to-date were also critical tasks.

In the 2000s, a new model called "Infrastructure as a Service (IaaS)" quickly became popular. IaaS created the possibility of renting remote servers and virtual machines from third-party providers. Those providers are fully responsible for managing hardware, networking, and reservation.

How Cross-Browser Testing Is Evolving

Posted: 18 Nov 2019 07:56 AM PST

Continuous improvements in cross-browser testing have made it essential in development.

Today I'm going to write about how cross-browser testing is evolving. And I'll do that with Cypress. If you know Cypress, you know it only runs on Google Chrome.

Functional testing has been around long before the introduction of Visual and UI Testing. Functional tests, also thought of as end-to-end, sit at the top of the software testing pyramid as shown in Figure 1.

Test Automation Frameworks - What to Know Before You Choose One

Posted: 18 Nov 2019 07:56 AM PST

If you're planning to use automation testing for your web app testing, then you might know that you need a reliable and robust test automation framework for producing beneficial results. However, if you are performing automation testing for the first time, then you must have a clear understanding of a test automation framework.

There are multiple definitions of test automation frameworks; some position it as a post-test planner, and some consider it a proper guideline for performing automation testing. In general, it is a complete set of both rules and guidelines like coding standards, object repository treatment, data handling, etc. that are created to make your automation testing real and efficient.

Apache Kafka: Streamline Communication Across Your Microservices

Posted: 18 Nov 2019 06:53 AM PST

Streamline communication.


Apache Kafka is a community-distributed streaming platform that has three key capabilities: publish and subscribe to streams of records, store streams of records in a fault-tolerant durable way, and process streams as they occur. Apache Kafka has several success cases in the Java world, including website activity tracking, metrics collection and monitoring, log aggregation, and real-time analytics. This post will cover how to benefit from this powerful tool in the Jakarta EE/MicroProfile universe.

Milk Bar: Building a Data-Driven Culture

Posted: 18 Nov 2019 06:49 AM PST

People — Analysts — Data

At the JOIN Data Conference in San Francisco, our community-lead, Blake Ethridge, had a chance to sit down and talk with Josh Temple, Senior Data Engineer at Milk Bar, a New York City bakery known for low-brow desserts made with expert technique, like Cereal Milk Affogato, Chocolate Caramel Pretzel Cake (a go-to for Temple), and Milk Bar Pie. (@Christina Tosi, if you like the article, maybe you could send some to DZone... if not, my coworkers will suffer through my version of it. And no one wants that.)

Temple gave us insights into the beginnings of his career at Milk Bar, the obstacles he faced in an industry that has historically been ignorant to modern data analysis, and how he helped promote data-driven decision making throughout all levels of his organization. 

Consuming Message Queues Using .NET Core Background Workers

Posted: 18 Nov 2019 06:48 AM PST

Consuming Message Queues Using .NET Core Background Workers

In this series, we'll talk a bit about message queues with RabbitMQ and how to integrate it in a C# WebAPI application using Background Workers.

It's hard sometimes to come up with a decent title. In this case, I had to sit back and take some time to decide. I had a semi-clear idea of what this article was about, but picking the title is a different beast.

Support Vector Machine in R: Using SVM to Predict Heart Diseases

Posted: 18 Nov 2019 06:48 AM PST

Predict Heart Disease with SVM

Support Vector Machine in R

With the exponential growth in AI, machine learning is becoming one of the most sought after fields. As the name suggests, machine learning is the ability to make machines learn through data by using various machine learning algorithms, and in this blog, we'll discuss how the SVM algorithm works, the various features of SVM, and how it is used in the real world.

You may also like:  Introduction to Classification Algorithms

Introduction to Machine Learning

Machine learning is a science of getting computers to act by feeding them data and letting them learn a few tricks on their own, without being explicitly programmed to do so.

Mistakes Product Managers Make When Writing User Stories

Posted: 18 Nov 2019 06:40 AM PST

Writing user stories.


You may also like: Best Practices to Succeed With User Stories

Everyone wants to go Agile today. Teams want to put the user in the center of their product development process while building products. After all, you are building the product for your users, right?

Non-Standard Ways to Upgrade Your Agile Product Management Skills

Posted: 18 Nov 2019 06:29 AM PST

We need YOU to become a better Product Manager!


Agile product management, first of all, is working with different people united by a mutual goal – meeting a product objective. A good product manager should communicate well to each person individually and the audience as a whole. Therefore, to be a successful PM, you need to learn how to get into product management and develop the personality features necessary for fruitful work and cooperation with both your team members and your customers.

''Hello, Micronaut'' Using Microstarter.io

Posted: 18 Nov 2019 06:13 AM PST

Over the past couple of months, I've worked to develop an online starter that helps developers generate Micronaut applications based on Micronaut-Profile Project templates. The Micronaut online starter was published on the Microstarter.io website. In this article, we will create a REST web service powered by the Micronaut framework using Microstarter.io. Let's get to it!

What Is Micronaut?

In a nutshell, Micronaut is a lightweight, JVM-based framework that's ahead of compilation time, with less start-up time natively.

A Redis-Based RateLimiter for Java

Posted: 18 Nov 2019 06:04 AM PST

Let's discuss how you can use RateLimiter with Redis and Java.

RateLimiter is a Java class that helps regulate a program's rate of execution. This could be highly useful for applications like Redis, an in-memory data structure store that can be used to build NoSQL databases.

However, Redis doesn't include Java support out of the box. In this article, we'll discuss how you can use RateLimiter with Redis and Java.

Tutorial: Reactive Spring Boot, Part 2: A REST Client for Reactive Streams

Posted: 18 Nov 2019 05:58 AM PST

Check out this second installment on building a reactive Spring Boot REST client.

This is the second part of our series showing how to build a Reactive application using Spring Boot, Kotlin, Java, and JavaFX. The original inspiration was a 70-minute live demo, which I have split into a series of shorter videos with an accompanying blog post, explaining each of the steps more slowly and in more detail.

This second step shows how to create a Java client that will connect to an endpoint that emits a stream of server-sent events. We'll be using a TDD-inspired process to create the client and test it.

Become a Master of Java Streams, Part 6: Creating a New Database Application Using Streams

Posted: 18 Nov 2019 05:56 AM PST

Let's look at how to create a new database application using streams.

Have you ever wanted to develop an "express" version of your database application? In this hands-on lab article, you will learn a truly easy and straightforward method. The entire Java domain model will be automatically generated for you. You just connect to your existing database and then start developing using Java streams.

You will be able to create, for example, a new web application for your existing database in minutes.

A Bootiful Podcast: Michael Simons on Spring Boot, Reactive Spring Data Neo4j, and More

Posted: 18 Nov 2019 05:56 AM PST

Hi, Spring fans! In this installment, Josh Long (@starbuxman) talks to Spring Boot Buch author, Spring community legend and an engineer working on the new, reactive Spring Data Neo4j project Michael Simons (@rotnroll666).

Further Reading

Asynchronous RDBMS Access With Spring Data R2DBC

Comments

Popular posts from this blog

Digg

DZone.com Feed

Gizmodo