Operations | Monitoring | ITSM | DevOps | Cloud

How to Calculate TPS in Performance Testing: A Kubernetes Guide

Transactions-per-Second (TPS) is a valuable metric for evaluating system performance and is particularly relevant for engineers overseeing Kubernetes environments.TPS, alongside average response time, provides critical insights into system performance during load testing. This post covers two approaches to calculating TPS; a manual approach applicable in all environments, and an automatic Kubernetes-specific solution using production traffic replication.

Kubernetes Load Testing: How JMeter and Speedscale Compare

At some point, your development team may be considering implementing load testing (also known as stress testing) as part of your software testing process. Load testing validates that your web app is able to withstand a large number of simultaneous users, decreasing the chance that any traffic spikes will bring down your services once deployed. These stress tests can be highly granular, giving you the opportunity to test run virtually unlimited strategies before they are set into the wild.

How to Mock HTTP APIs With MockServer| Speedscale

As the name suggests, MockServer is a powerful tool that allows developers to mock HTTP APIs, making it much easier and more efficient to run an integration test in initial development phases. It aims to solve the problem of testing APIs that are still in development or not yet available, allowing developers to make http calls on an http client without a real server.

6 Golang Testing Frameworks for Every Type of Test

What do good tests look like, and do you even need a Golang testing framework? It’s a loaded question with an open answer. Not only do tests help ensure that your code will work as intended, but good tests can also serve as documentation for your codebase, making it easier to update and maintain in the future, while accelerating and streamlining your software development process. In this article, we outline 6 Golang testing frameworks for every type of test.

Golang Wrapper: Dependency Wrapping, in Go

All but the simplest applications borrow code. You could write everything yourself from just core language features but who has time for that? Instead you take on dependencies, pieces of code written by others that usually give us 80% or more of what we need with 20% of the effort. Sometimes these dependencies are made to interact with a specific technology like a database, or perhaps it’s just a library providing some feature that would be onerous to write yourself.

Testing Golang with httptest

Go, often referred to as Golang, is a popular programming language built by Google. Its design and structure help you write efficient, reliable, and high-performing programs. Often used for web servers and rest APIs, Go offers the same performance as other low-level languages like C++ while also making sure the language itself is easy to understand with a good development experience.

How to Get Started with GoMock

GoMock is a powerful tool for generating mock objects in Go, making it an essential asset for developers aiming to write advanced unit tests. By simulating the behavior of real objects, GoMock allows you to test your code in isolation, ensuring that each component functions correctly on its own. This capability is particularly useful in a language like Go, where interfaces play a crucial role in defining the behavior of different components.

Simplifying AWS Testing: A Guide to AWS SDK Mock

Testing AWS services is an essential step in creating robust cloud applications. However, directly interacting with AWS during testing can be complicated, time-consuming, and expensive. The AWS SDK Mock is a JavaScript library designed to simplify this process by allowing developers to mock AWS SDK methods, making it easier to simulate AWS service interactions in a controlled environment. Primarily used with AWS SDK v2, AWS SDK Mock integrates with Sinon.js to mock AWS services like S3, SNS, and DynamoDB.

Setting Up Efficient Kubernetes Environments for Developers

Kubernetes has transformed how developers build, test, and deploy applications, providing a consistent platform for managing containerized workloads. Setting up efficient Kubernetes clusters is crucial for streamlining the development process, reducing time-to-market, and ensuring that applications run reliably from development to production.
Sponsored Post

Seasonal Holiday Readiness Testing with Production Traffic

Many businesses depend on seasonal products, offerings, and campaigns. Seasonal traffic usually refers to high traffic levels because of festival seasons like Thanksgiving and Christmas and sales events like Black Friday, Cyber Monday, and Boxing Day. These impact a wide range of industries, such as travel, hospitality, social activities, and, most prominently, e-commerce. If your business is primarily run online, you'll need your applications to be elastic and flexible enough to handle this significant increase in traffic to cater to demand and also maintain a good user experience for your customers.