March, 2020

article thumbnail

Unit Testing Log Messages Made Easy

DZone

As a Java Developer, we need to cover a lot of scenarios to ensure the quality of our software and catch bugs as soon as possible when introducing a new code. For 99% of all my use cases AssertJ, Junit, Mockito, and Wiremock are sufficient enough do cover the test cases. But for the other use cases, like unit testing info, debug or warn log messages, these frameworks don't help you out.

Testing 360
article thumbnail

PostgreSQL Connection Pooling: Part 3 – Pgpool-II

Scalegrid

In our previous posts in this series, we discussed the case for connection pooling and introduced PgBouncer. In this post, we will discuss its most popular alternative – Pgpool-II. Pgpool-II is the swiss army knife of PostgreSQL middleware. It supports high-availability, provides automated load balancing, and has the intelligence to balance load between masters and slaves so write loads are always directed at masters, while read loads are directed to slaves.

Cache 264
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

Up your quality and agility factor – using automation to build “performance-as-a-self-service”

Dynatrace

Dynatrace news. Organizations are being challenged, but also seizing the opportunity, to digitally transform their businesses with better customer experiences and new and competitive services, to increase business value. The IDC FutureScape: Worldwide IT Industry 2020 Predictions highlights key trends for IT industry-wide technology adoption for the next five years and includes these predictions: Hasten to innovation.

article thumbnail

Stuff The Internet Says On Scalability For March 27th, 2020

High Scalability

Hey, it's HighScalability time! Awesome explanation of how to build a PID controller to fly a rocket! ( BPS.space via Orbital Index ). Do you like this sort of Stuff? Without your support on Patreon this kind of Stuff can't happen. You are that important to the fate of the intelligent world. Know someone who wants to understand the cloud? I wrote Explain the Cloud Like I'm 10 just for them.

Internet 233
article thumbnail

How to Estimate Web Performance Impact Before Making Fixes

Jos

Web Performance is important for user experience and business metrics. Estimating its impact is key to be able to prioritize it, yet it’s difficult to quantify its benefits until the work has been done. We need to break this chicken-and-egg loop. This post explains several ways of assessing the potential performance gains with little effort and, more importantly, without actually implementing fixes.

article thumbnail

Introducing Dispatch

The Netflix TechBlog

By Kevin Glisson, Marc Vilanova, Forest Monsen Netflix is pleased to announce the open-source release of our crisis management orchestration framework: Dispatch! Okay, but what is Dispatch? Put simply, Dispatch is: All of the ad-hoc things you’re doing to manage incidents today, done for you, and a bunch of other things you should’ve been doing, but have not had the time!

article thumbnail

Java vs. Go Microservices - Load testing (Rematch)

DZone

When Go first appeared in November 2009, we didn't hear much about it, and our first interaction happened in 2012 when Go version 1 was officially released by Google. Our team decided to convince our customer to use it for its project, but it was a hard sell, and the customer rejected our recommendation (mostly due to lack of the knowledge in their support team ).

Java 283

More Trending

article thumbnail

Understand customer experience with Session Replay without compromising data privacy

Dynatrace

Dynatrace news. Dynatrace introduced Session Replay some time ago to help modernize your DEM strategy. Session Replay enables you to capture and visually replay the complete digital experience of your end users. It helps you identify errors, analyze areas of struggle, and provides tons of analytical data for your testing teams. For details, see how to get the most value out of Session Replay.

Tuning 229
article thumbnail

Stuff The Internet Says On Scalability For March 13th, 2020

High Scalability

p>Hey, it's HighScalability time! The top 10,000 most spoken words in English represented by a point in hundreds of dimensions where the distance and direction between points encodes the relationship between words. ( roadmaps ). Do you like this sort of Stuff? Without your support on Patreon this kind of Stuff can't happen. You are that important to the fate of the intelligent world.

Internet 160
article thumbnail

How to Estimate Web Performance Impact Before Making Fixes

Jos

Web Performance is important for user experience and business metrics. Estimating its impact is key to be able to prioritize it, yet it’s difficult to quantify its benefits until the work has been done. We need to break this chicken-and-egg loop. This post explains several ways of assessing the potential performance gains with little effort and, more importantly, without actually implementing fixes.

article thumbnail

Open-Sourcing riskquant, a library for quantifying risk

The Netflix TechBlog

Netflix has a program in our Information Security department for quantifying the risk of deliberate (attacker-driven) and accidental… Continue reading on Netflix TechBlog ».

article thumbnail

Introduction to Benchmarking in Julia

DZone

For the number of years I’ve been programming using Julia, I’ve never really been concerned with performance. Which is to say, I’ve appreciated that other people are interested in performance and have proven that Julia can be as fast as any other performance language out there. But I’ve never been one to pour over the Performance Tips section of the Julia manual trying to squeeze every last bit of performance.

article thumbnail

LISA2019 Linux Systems Performance

Brendan Gregg

Systems performance is an effective discipline for performance analysis and tuning, and can help you find performance wins for your applications and the kernel. However, most of us are not performance or kernel engineers, and have limited time to study this topic. To serve this need I summarized Linux systems performance in 40 minutes at USENIX LISA 2019, touring six important areas: observability tools, methodologies, benchmarking, profiling, tracing, and tuning.

Systems 144
article thumbnail

Extend visibility into workload and cluster health by leveraging native Kubernetes events

Dynatrace

Dynatrace news. Kubernetes has become the industry standard platform for running and managing containerized workloads at scale. The Kubernetes platform, at its core, is designed to maintain and keep up with a defined state for running workloads. In many cases, events are generated as these workloads go through different phases of their life cycles. For instance, events appear when the scheduler performs actions to bring workloads back to a desired state.

Metrics 229
article thumbnail

Remembering Freeman Dyson

O'Reilly

Freeman Dyson died last week at the age of 96 after injuring himself in a fall in the cafeteria at the Institute of Advanced Studies in Princeton, where he had continued to work right up to the end. I can’t resist adding to the outpouring of appreciation and love that has ensued. He has an outsized place in my mind and in my heart for someone whom I met in person fewer than a half-dozen times.

Storage 143
article thumbnail

Post: Essilen Research, Fauna, Sisu, Educative, PA File Sight, Etleap, Triplebyte, Stream

High Scalability

Who's Hiring? Are you looking to improve how you hire technical talent ? Essilen Research 's free video series can help. Fix common issues in screening, interviewing, closing and on-boarding. Learn how world-class tech companies crush the hiring game! Sisu Data is looking for machine learning engineers who are eager to deliver their features end-to-end, from Jupyter notebook to production, and provide actionable insights to businesses based on their first-party, streaming, and structured relatio

Education 114
article thumbnail

How Netflix uses Druid for Real-time Insights to Ensure a High-Quality Experience

The Netflix TechBlog

By Ben Sykes Continue reading on Netflix TechBlog ».

Metrics 245
article thumbnail

Clean Unit Testing

DZone

It's easy to write "unit test" tests that use JUnit and some mocking library. They may produce code coverage that keeps some stakeholders happy, even though the tests aren't even unit tests and provide questionable value. It can also be very easy to write unit tests that are — in theory — units test but are more complex than the underlying code and hence just add to the total software entropy.

Testing 204
article thumbnail

NULL complexities – Part 4, Missing standard unique constraint

SQL Performance

This article is Part 4 in a series about NULL complexities. In the previous articles ( Part 1 , Part 2 , and Part 3 ), I covered the meaning of the NULL as a marker for a missing value, how NULLs behave in comparisons and in other query elements, and standard NULL handling features that are not yet available in T-SQL. This month I cover the difference between the way a unique constraint is defined in the ISO/IEC SQL standard and the way it works in T-SQL.

C++ 135
article thumbnail

Dynatrace Business Continuity During COVID-19 

Dynatrace

Dynatrace news. Dear Dynatrace Community, As COVID-19 (the coronavirus) continues to impact communities globally, I want to update you on the measures we have taken to ensure the continuity of our offerings and services for you , as well the safety of our customers , partners and employees around the world. . A s a cloud-based SaaS company with global operations , Dynatrace products and services will not be impacted.

article thumbnail

Building with Friction

Tim Kadlec

I recently wrote about how important it is to make the right thing easy. The opposite is also true: it’s important to make the wrong things difficult. I did allude to it in that post a little bit, but I thought it was worth calling out explicitly. It’s important to introduce some friction in our workflow to help prevent the wrong actions.

article thumbnail

Post: Scrapinghub, Fauna, Sisu, Educative, PA File Sight, Etleap, Triplebyte, Stream

High Scalability

Who's Hiring? Scrapinghub is hiring a Senior Software Engineer (Big Data/AI). You will be designing and implementing distributed systems : large-scale web crawling platform, integrating Deep Learning based web data extraction components, working on queue algorithms, large datasets, creating a development platform for other company departments, etc. - this is going to be a challenging journey for any backend engineer!

Education 105
article thumbnail

Setting Height And Width On Images Is Important Again

Smashing Magazine

Setting Height And Width On Images Is Important Again. Setting Height And Width On Images Is Important Again. Barry Pollard. 2020-03-09T11:30:00+00:00. 2020-03-09T13:41:45+00:00. Web performance advocates have often advised to add dimensions to your images for best performance to allow the page to be laid out with the appropriate space for the image, before the image itself has been downloaded.

Website 125
article thumbnail

The Pitfalls in C++ Unit Testing

DZone

Recently there has been a surge of interest in C++ unit testing. C++ unit testing has not been common in C++ development in the past. Although C++ is a kind of programming language that fits well with unit testing, several complexities require extra care. In this article, I’ll discuss the most common pitfalls.

C++ 184
article thumbnail

An approach to index tuning – part 1

SQL Performance

A performance tuning engagement can end up taking many turns as you work through it – it all depends on what is showing up as the problem and what the data tells you. Some days it lands on a specific query, or set of queries, that can be improved with indexes – either new ones or modifications to existing indexes. One of my favorite parts of tuning is working with indexes and, as I was thinking about this post, I was tempted to label index tuning as an "easier" task… but it really isn't.

Tuning 130
article thumbnail

Go web-scale by providing Dynatrace Managed as a service to your teams

Dynatrace

Dynatrace news. “I now have 20 teams using Dynatrace. Within the next 2 quarters we will move our app teams to the cloud. I will then have to onboard more than 150 teams to Dynatrace! How can I do this effectively while maintaining configuration consistency across the teams?”. – A Dynatrace customer. This is a typical question we hear from our customers.

Cloud 207
article thumbnail

COVID-19 Preparedness at ScaleGrid

Scalegrid

Customers & Friends, With the impact of COVID-19 growing around the world, we are taking proactive steps to prepare our infrastructure to continue seamlessly as we navigate this critical time. In an abundance of caution to the rapidly growing climate of the pandemic, we are taking extreme measures to ensure the safety of our employees, customers and partners.

article thumbnail

Post: Fauna, Sisu, Educative, PA File Sight, Etleap, Triplebyte, Stream

High Scalability

Who's Hiring? Sisu Data is looking for machine learning engineers who are eager to deliver their features end-to-end, from Jupyter notebook to production, and provide actionable insights to businesses based on their first-party, streaming, and structured relational data. Apply here. T riplebyte lets exceptional software engineers skip screening steps at hundreds of top tech companies like Apple, Dropbox, Mixpanel, and Instacart.

Education 105
article thumbnail

Implementing Infinite Scroll And Image Lazy Loading In React

Smashing Magazine

Implementing Infinite Scroll And Image Lazy Loading In React. Implementing Infinite Scroll And Image Lazy Loading In React. Chidi Orji. 2020-03-16T12:00:00+00:00. 2020-03-16T21:15:46+00:00. If you have been looking for an alternative to pagination, infinite scroll is a good consideration. In this article, we’re going to explore some use cases for the Intersection Observer API in the context of a React functional component.

Code 124
article thumbnail

Complete Guide To Access Forms In Selenium With Java

DZone

Have you noticed the ubiquity of web forms while surfing the internet? Almost every website or web-application you visit leverages web-forms to gain relevant information about yourself. From creating an account over a web-application to filling a brief survey, web forms are everywhere! A form comprises web elements such as checkbox, radio button, password, drop down to collect user data.

Java 179
article thumbnail

Building an elastic query engine on disaggregated storage

The Morning Paper

Building an elastic query engine on disaggregated storage , Vuppalapati, NSDI’20. This paper describes the design decisions behind the Snowflake cloud-based data warehouse. As the saying goes, ‘all snowflakes are special’ – but what is it exactly that’s special about this one? When I think about cloud-native architectures, I think about disaggregation (enabling each resource type to scale independently), fine-grained units of resource allocation (enabling rapid resp

Storage 112
article thumbnail

60 seconds to self-upgrading observability on Google Kubernetes Engine

Dynatrace

Dynatrace news. A decade ago, while working for a large hosting provider, I led a team that was thrown into turmoil over the purchasing of server and storage hardware in preparation for a multi-million dollar super-bowl ad campaign. Our procurement decisions were based on trace data that was pulled from a handful of fragmented monitoring solutions. The data had to be painstakingly stitched together over the course of a few weeks, across each layer of our stack.

Google 194
article thumbnail

Please help with STRING_SPLIT improvements

SQL Performance

We're mid-cycle between releases, where we're not yet hearing about any of the features planned for SQL Server vNext. This is probably the best time to press Microsoft for improvements, as long as we can back our requests with legitimate business cases. In SQL Server 2016, STRING_SPLIT solved a long-missing gap in a language that, admittedly, was not intended for complicated string processing.

Database 109
article thumbnail

Post: InterviewCamp.io, Scrapinghub, Fauna, Sisu, Educative, PA File Sight, Etleap, Triplebyte, Stream

High Scalability

Who's Hiring? InterviewCamp.io has hours of system design content. They also do live system design discussions every week. They break down interview prep into fundamental building blocks. Try out their platform. Scrapinghub is hiring a Senior Software Engineer (Big Data/AI). You will be designing and implementing distributed systems : large-scale web crawling platform, integrating Deep Learning based web data extraction components, working on queue algorithms, large datasets, creating a developm

Education 105
article thumbnail

Should you use Nodejs with React for Web Development?

Simform

Ever wondered if Nodejs can be used with React? Is it right to use Nodejs with React? When using Reactjs with Nodejs make sense? Does Nodejs provide powerful tools to make working with React seamless? Through this blog post, we’ll answer all your common questions about technologies: React and Nodejs. The post Should you use Nodejs with React for Web Development?

article thumbnail

Types of Automation Testing and Their Misconceptions

DZone

Automation testing has become one of the most adopted techniques in the software testing process, it helps to accelerate go-to-market launch while providing enough bandwidth for the testers to work on finding critical test cases. However, I have seen it happen in multiple organizations that the higher-ups often hesitate to implement automation testing for their projects, only due to some misconceptions.

Testing 173
article thumbnail

When correlation (or lack of it) can be causation

The Morning Paper

Rex: preventing bugs and misconfiguration in large services using correlated change analysis , Mehta et al., NSDI’20. and. Check before you change: preventing correlated failures in service updates , Zhai et al., NSDI’20. Today’s post is a double header. I’ve chosen two papers from NSDI’20 that are both about correlation.

Network 109