How Memory Leaks Happen in a Java Application
By Eugen Paraschiv
Introduction to Memory Leaks In Java Apps
One of the core benefits of Java is the JVM, which is an out-of-the-box
memory management. Essentially, we can create objects and the Java Garbage
Collector will take care of allocating and freeing up memory for us.
Nevertheless, memory leaks can still occur in Java applications.
In this article, we're going to describe the most common memory leaks,
understand their causes, and look at a few techniques to detect/avoid them.
We're also going to use the Java YourKit profiler throughout the article, to
analyze the state of our memory at runtime.
1. What is a Memory Leak in Java?
The standard definition of a memory leak is a scenario that occurs when
objects are no longer being used by the application, but the Garbage
Collector is unable to remove them from working mem... (more)
Top Docker Tools: 51 Useful Docker Tools for Every Stage of the Development
Pipeline
By Angela Stringfellow
Docker is sweeping across startups and enterprises alike, changing the way we
build and ship applications. It's the most prominent and widely known
software container platform, and it's particularly useful for eliminating
common challenges when collaborating on code (like the "it works on my
machine" phenomenon that most devs know all too well). With Docker, you can
run and manage apps side-by-side - in isolated containers - resulting in
better compute density. It's someth... (more)
Java Web Services Tutorial: Improve App Communication and Flexibility
By Eugen Paraschiv
Web services have taken the development world by storm, especially in recent
years as they've become more and more widely adopted. There are naturally
many reasons for this, but first, let's understand what exactly a web service
is.
The World Wide Web Consortium (W3C) defines "web of services" as
"message-based design frequently found on the Web and in enterprise
software". Basically, a web service is a method of sending a message between
two devices through a network.
In practical terms, th... (more)
What Is Function-as-a-Service? Serverless Architectures Are Here
By Matt Watson
It has never been a better time to be a developer. Thanks to cloud computing,
deploying our applications is much easier than it used to be. How we deploy
our apps continues to evolve thanks to cloud hosting, Platform-as-a-Service
(PaaS), and now Function-as-a-Service.
What Is Function-as-a-Service (FaaS)?
FaaS is the concept of serverless computing via serverless architectures.
Software developers can leverage this to deploy an individual "function",
action, or piece of business logic. They are expected... (more)
Integrating APM into Your Testing Strategy
By Erik Dietrich
Does your team have a testing strategy? In 2017, I have a hard time
imagining that wouldn't at least have some strategy, however rudimentary.
Unlike a couple of decades ago, you hear less and less about people just
changing code on the production server and hoping for the best.
At the very least, you probably have a QA group or at least someone who
serves in that role before shipping your software. You write the code, do
something to test it, and then ship it once the testers bless it (or at least
notate "known issues... (more)