April, 2019

article thumbnail

How to Test Software, Part I: Mocking, Stubbing, and Contract Testing

DZone

In my last post , I talked about building a structured path to production, which tests to include, when to do them, and why. In this post, we’ll get into exactly how to do each kind of test. We’ll cover the techniques of mocking and stubbing and test-driven development to help each testing layer. First, let’s review a concept from the previous post: the test pyramid.

Testing 149
article thumbnail

Who has the fastest website in F1?

CSS - Tricks

Jake Archibald looks at the websites of Formula One race teams and rates their performance, carefully examining their images and digging into the waterfall of assets for each site: Trying to use a site while on poor connectivity is massively frustrating, so anything sites can do to make it less of a problem is a huge win. In terms of the device, if you look outside the tech bubble, a lot of users can't or don't want to pay for a high-end phone.

Website 74
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

7 ways to tidy up your test code

TechBeacon Testing

Your test code is a mess. You're not quite sure where anything is anymore. The fragility of it is causing your builds to fail. You're hesitant to make any changes for fear of breaking something else. The bottom line is that your tests do not spark joy, as organizing guru Marie Kondo would say.

Code 88
article thumbnail

Why Page Speed Scores can be Dangerous

MachMetrics

All of the popular speed testing tools typically provide a page speed score along with their objective results. Google PageSpeed Insights has a their “Speed Score.” Pingdom has a “Performance Grade.” WebPageTest has their five A-F grades. While these do have a purpose, most people use them incorrectly, in a way that can be dangerous to your real site speed.

Speed 111
article thumbnail

From bare-metal to Kubernetes

High Scalability

This is a guest post by Hugues Alary , Lead Engineer at Betabrand , a retail clothing company and crowdfunding platform, based in San Francisco. This article was originally published here. Early infrastructure. VPS. Rackspace. OVH. Hardware infrastructure. The scalability and maintainability issue. Scaling development processes. The advent of Docker.

Retail 233
article thumbnail

Tips for Technical Interviews

CSS Wizardry

Yesterday, I spoke at ITKonket in Kragujevac, Serbia. During the Q&A after my talk, one great and non-technical question I got was for general advice on interviewing at tech companies. I decided to write down (and expand on) my answer in the hope that it might help someone else, too. Disclaimer. I don’t claim to be an authority on interviewing. I don’t think this article is definitive or gospel.

Code 197
article thumbnail

How to Tune Garbage Collection in Java

DZone

Garbage collection is the mechanism by which the JVM reclaims memory on behalf of the application when it's no longer needed. At a high level, it consists of finding objects that are no longer in use, freeing the memory associated with those objects, and occasionally compacting the heap to prevent memory fragmentation. The garbage collector performs it's work using one or more threads.

Tuning 277

More Trending

article thumbnail

Introducing SVT-AV1: a scalable open-source AV1 framework

The Netflix TechBlog

by Andrey Norkin, Joel Sole, Kyle Swanson, Mariana Afonso, Anush Moorthy, Anne Aaron Netflix Headquarters, Winchester Circle. Netflix headquarters circa 2014. It’s a nice building with good architecture! This was the primary home of Netflix for a number of years during the company’s growth, but at some point Netflix had outgrown its home and needed more space.

article thumbnail

Expanding the AWS Cloud – Introducing the AWS Asia Pacific (Hong Kong) Region

All Things Distributed

Today, I am happy to introduce the new AWS Asia Pacific ( Hong Kong ) Region. AWS customers can now use this Region to serve their end users in Hong Kong SAR at a lower latency, and to comply with any data locality requirements. The AWS Asia Pacific (Hong Kong) Region is the eighth active AWS Region in Asia Pacific and mainland China along with Beijing, Mumbai, Ningxia, Seoul, Singapore, Sydney, and Tokyo.

AWS 167
article thumbnail

2019 PostgreSQL Trends Report: Private vs. Public Cloud, Migrations, Database Combinations & Top Reasons Used

High Scalability

PostgreSQL is an open source object-relational database system that has soared in popularity over the past 30 years from its active, loyal, and growing community. For the 2nd year in a row, PostgreSQL has kept the title of #1 fastest growing database in the world according to the DBMS of the Year report by the experts at DB-Engines. So what makes PostgreSQL so special, and how is it being used today?

Database 177
article thumbnail

Vision and Execution Leader – 2019 Gartner Magic Quadrant for APM

Dynatrace

Dynatrace news. If you hadn’t already heard the news, the entire Dynatrace team is immensely proud to once again been positioned as a Leader in the Gartner 2019 Magic Quadrant for Application Performance Monitoring (APM). But this year is a little different, and very special, because we made history. Not only were we named a Leader, but Dynatrace has been recognized for highest for ability to execute and furthest for completeness of vision in APM Magic Quadrant.

article thumbnail

How to Monitor 1,000 Network Devices Using Sensu Go and Ansible (in Under 10 Minutes)

DZone

Network monitoring, at scale, is an age-old problem in IT. In this post, I’ll discuss a brief history of network monitoring tools — including the pain points of legacy technology when it came to monitoring thousands of devices — and share my modern-day solution using Sensu Go and Ansible. Then: Nagios and Multiple Network Monitoring Tools. I’ve spent the last ten years as a consultant for open-source monitoring architectures.

Network 236
article thumbnail

React Performance – A Definitive Guide to React js Performance Optimization

Simform

Performance-related problems in the web app are not new. Developers have been encountering these issues since a longer period of time. When any new language originates, developers are bound to face performance issues with it. React is one such example of language. The post React Performance – A Definitive Guide to React js Performance Optimization appeared first on Insights on Latest Software Technologies - Simform Blog.

article thumbnail

Optimizing Performance With Resource Hints

Smashing Magazine

Optimizing Performance With Resource Hints. Optimizing Performance With Resource Hints. Drew McLellan. 2019-04-17T12:30:16+02:00. 2019-04-29T18:34:58+00:00. Modern web browsers use all sorts of techniques to help improve page load performance by guessing what the user may be likely to do next. The browser doesn’t know much about our site or application as a whole, though, and often the best insights about what a user may be likely to do come from us, the developer.

article thumbnail

Halo Jakarta! An AWS Region is coming to Indonesia!

All Things Distributed

Today, I am excited to announce our plans to open a new AWS Region in Indonesia! The new AWS Asia Pacific (Jakarta) Region will be composed of three Availability Zones, and will give AWS customers and partners the ability to run workloads and store data in Indonesia. The AWS Asia Pacific (Jakarta) Region will be our ninth Region in Asia Pacific. It joins existing Regions in Beijing, Mumbai, Ningxia, Seoul, Singapore, Sydney, and Tokyo, as well as an upcoming Region in Hong Kong SAR.

AWS 150
article thumbnail

MySQL High Availability Framework Explained – Part III: Failover Scenarios

High Scalability

In this three-part blog series, we introduced a High Availability (HA) Framework for MySQL hosting in Part I, and discussed the details of MySQL semisynchronous replication in Part II. Now in Part III, we review how the framework handles some of the important MySQL failure scenarios and recovers to ensure high availability. MySQL Failover Scenarios.

article thumbnail

Automated Deployment and Architectural Validation with Pitometer and keptn!

Dynatrace

Dynatrace news. Validating Deployments still seems to be a semi-automated task for most software delivery teams. Why do I say that? Because we analyzed the results of our Autonomous Cloud Survey and sat down with a handful of these companies that provided answers to questions such as: What’s your Commit Cycle Time? or What’s your Maturity of Delivery Automation?

article thumbnail

Multi-Threaded Geo Web Crawler In Java

DZone

This article provides the implementation of a web crawling system called Mowglee that uses geography as the main classifying criteria for crawling. Also, it runs in a multi-threaded mode that provides a default implementation of the robots exclusion protocol, sitemap generation, data classifiers, data analyzers, and a general framework for application to be built of a web crawler.

Java 196
article thumbnail

Building a Simple Web Application in Dart

The Polyglot Developer

Dart is a programming language developed by Google and made popular by Flutter , their mobile development framework for cross-platform application development. The Dart language is a general-purpose language , built to be used for far more than just mobile development, and, in this short tutorial, I will show you how to build a basic web application, using Dart.

Mobile 80
article thumbnail

Native image lazy-loading for the web!

Addy Osmani

In this post, we'll look at the new loading attribute which brings native and lazy-loading to the web!

112
112
article thumbnail

O(n^2) in CreateProcess

Randon ASCII

So many possible introductions to this one: Windows 7: Sheesh, I sure am slow at creating processes. Windows 10: Hold my beer…. Or how about: A) How long does CreateProcess take on Windows? B) How long would you like it to take? A) You mean you can make it as fast as I want? B) No, I can make it as *slow* as you want. O(n^2) algorithms that should be linear are the best.

article thumbnail

How bad can it git? Characterizing secret leakage in public GitHub repositories

The Morning Paper

How bad can it git? Characterizing secret leakage in public GitHub repositories Meli et al., NDSS’19. On the one hand you might say there’s no new news here. We know that developers shouldn’t commit secrets, and we know that secrets leaked to GitHub can be discovered and exploited very quickly. On the other hand, this study goes much deeper, and also provides us with some very actionable information. …we go far beyond noting that leakage occurs, providing a conservative longitudinal

Google 76
article thumbnail

Optimizing Microsoft Workload on AWS with Dynatrace Davis

Dynatrace

Dynatrace news. Many organizations are moving their Microsoft workloads to the public cloud or have already done so. Based on what Andy Jassy, CEO of Amazon Web Services, presented at re:Invent 2018, it seems that the majority is moving their workloads to AWS: These stats tell us that there are a lot of Microsoft related workloads in the public cloud that can be optimized!

AWS 125
article thumbnail

7 Reasons Why Unit Tests Are Valuable

DZone

With the latest cross-cutting concerns podcast , Matt and I discuss the StackOverflow Developer Survey 2019 results. In the podcast, I mentioned how developers said companies don't implement unit testing but that developers see the value of it. This is good news for the industry: developers see value in unit tests. This survey is proof of that, but there are some developers who still may not see it.

Testing 189
article thumbnail

How to Perform First Web App Penetration Testing?

QAMentor

In today’s broad digital landscape, web app penetration testing is considered as one of the most important parts of a company’s vulnerability management program. Conducting a web app penetration test not only requires expertise, but it also needs a significant amount of time. In this age of steadily increasing cyber attacks, it has become essential … The post How to Perform First Web App Penetration Testing?

Testing 75
article thumbnail

Using Socket.io to Create a Multiplayer Game with Angular and Node.js

The Polyglot Developer

When it comes to client and server communication, there are quite a few approaches towards solving the problem. You could create a RESTful API or GraphQL API on your server and consume it on-demand with your client, or you can go the socket approach and interact in real-time through events. There isn’t a wrong way to do things, but some ways are better than others given the task at hand.

Games 69
article thumbnail

The Benefits of Usability Testing Explained

KeyCDN

Creating an intuitive application or website takes time. What may seem intuitive to one person may not be to the next. Developers often improve the usability of their application or website through trial and error as well as user feedback. What your users are saying about your product is very important because without them the business can’t survive.

Testing 74
article thumbnail

Tackling the Pipeline Problem in the Architecture Research Community

ACM Sigarch

Computer architecture is an important and exciting field of computer science, which enables many other fields (eg. big-data processing, machine learning, quantum computing, and so on). For those of us who pursued computer architecture as a career, this is well understood. However, we often hear anecdotes that the number of prospective graduate students applying to computer architecture/systems is small and shrinking.

article thumbnail

Deployment challenges with large enterprise systems

Dynatrace

Dynatrace news. Dynatrace provides automated end to end monitoring of applications under a single platform. Even if this is true, in practise there is only so much the one Agent can Autodiscover and fine tuning might be required. For instance, not all deployments follow best practise. I have worked with many customers and I found that in most cases, 90% of what was mapped automatically was fine however the remaining 10% needed fine tuning due to bad deployment practises.

Systems 124
article thumbnail

Top 15 Utility Tools for Testers

DZone

Recently, we started digging into Reddit, and there we found many very useful threads for testers. While I was going through some of the links, I found this Reddit thread which was talking about tools for testers and I found it pretty interesting, so we decided to make a list for you by compiling all the utility tools for the testers. Let’s have a quick look at this.

Website 188
article thumbnail

Row Pattern Recognition in SQL

SQL Performance

The ISO/IEC 9075:2016 standard, or SQL:2016 in short, introduces support for a profound concept called Row Pattern Recognition (RPR) in SQL. I posted a suggestion to improve SQL Server by adding support for RPR in T-SQL , but I was quite limited in the space that I had to provide the feedback. The purpose of this article is to provide more details about the proposal, and hopefully you will be convinced of its importance and add your vote.

C++ 73
article thumbnail

What is TDD? [Roadmap to Implement TDD in Your Organization]

Simform

It’s natural to make mistakes during design and coding in software development. These mistakes are addressed via the feedback. TDD provides that feedback immediately to resolve the bug. If a bug lives for less than a few minutes, is it really a bug? No, it’s a prevented bug. The post What is TDD? [Roadmap to Implement TDD in Your Organization] appeared first on Insights on Latest Software Technologies - Simform Blog.

Design 72
article thumbnail

Jira Cloud, Jira Server, and Jira Data Center Integrations

Tasktop

On a daily basis, we help our customers with connecting various SDLC tools, so that they can use best of breed tools and still communicate clearly with each other. After attending the Atlassian Summit, I noticed an interesting pattern that was common among some of the people who walked by our booth. What I learned is that sometimes we don’t even have to look past Jira to find a need for integration.

Cloud 71
article thumbnail

The Push and Pull of Paradox

Edge Perspectives

Paradox is everywhere We just have to see it But first we must look And want to see But we don’t. We crave understanding And simplicity. Paradox makes us uncomfortable. We want order And harmony. And paradox challenges that. We push paradox Out of sight. But if we’re driven to learn, Paradox has powerful pull. Paradox can propel us To new levels. It invites us to explore And challenges our beliefs.

70
article thumbnail

Quickly understand how to improve the above-the-fold user experience of your applications

Dynatrace

Dynatrace news. Dynatrace has made it easier for you and your web performance-optimization engineers to access Visually complete metric findings for each page-load that is captured with Dynatrace Real User Monitoring. Visually complete measurements are easy to understand—they measure the amount of time it takes for the visible portion of a web application to fully render on your end-users’ device screens.

Speed 116
article thumbnail

SQL Clone for Unit Testing Databases

DZone

Sometimes, when you are performing unit or integration tests whilst developing code, you need to be able to do something extreme, such as mangling a test database or two, repeatedly, each time subsequently restoring it to its original state before running the next test. Often, especially in integration tests when you are testing processes, you will need run a ‘setup’ process to establish a known database data state, then run the process, test that the final data state matches that which your bus

Database 184
article thumbnail

Grouped Aggregate Pushdown

SQL Performance

Introduction. In SQL Server 2012, grouped (vector) aggregation was able to use parallel batch-mode execution, but only for the partial (per-thread) aggregate. The associated global aggregate always ran in row mode, after a Repartition Streams exchange. SQL Server 2014 added the ability to perform parallel batch-mode grouped aggregation within a single Hash Match Aggregate operator.

Servers 67