Eric J. Bruno
I design and build real-time, distributed and low-latency systems, from edge devices and robotics to the cloud, and I write about how they work.
- Edge, cloud, AI/ML and Kubernetes
- Distributed computing
- Real-time transactional systems
- Robotics with AI
- Low-latency computing
- Large-scale data collection and processing with automation
Latest articles
Page 1 of 16-
Building a Zero-GC Database in Java: Adventures in Off-Heap Storage
NoHeapDB keeps data in process, in the same JVM, but stores it completely outside the Java heap and without relying on JNI. The first version did this with ByteBuffer.allocateDirect(). It uses MemorySegment and Arena from Java's Foreign Function and Memory (FFM) API. A store can live in memory or survive a restart as memory-mapped files. Either way, the GC never sees the stored data.
-
Curly Braces Column: Writing SOLID Java Code
Following the Robert C. Martin's five principles of SOLID object-oriented design (OOD)can make you a better Java developer.
-
Curly Braces Column: The best way to measure Java developer productivity
How do you measure programmer productivity? Hint: It’s not found by counting the number of lines of code written each day. "Hits of code" may be the answer.
-
Curly Braces Column: Was Fred Brooks wrong about late software projects?
Brooks’ Law states: “Adding manpower to a late software project makes it later.” Things are rarely this straightforward. In my opinion, it may have been inaccurate for Brooks to talk about this human-resource paradox as a generalization. If your project is running late, maybe you actually do want to add more developers.
-
Curly Braces Column: REST peacefully with GraphQL and Java
many have come to consider REST the de facto standard for API usage, even for noninternet applications. It’s easy to embed a web server to serve up a REST API, and there are plenty of frameworks available to enable it. Although REST solves many API-related problems, it’s not perfect.
-
Curly Braces Column: Complex math, BigDecimal, and infinity
I dislike comparing languages, but for complex math operations it’s fair to compare Java to Fortran, because Fortran is often the choice for math- and science-based applications. Fortran—short for Formula Translating System—is considered a general-purpose programming language, as it was in the 1950s when it was developed. This is a characteristic Fortran shares with Java.
-
Curly Braces Column: Recursion and tail-call optimization
Over the years, I’ve come to appreciate the power of recursion, yet I have two minor gripes with it. First, there is one part of every recursive call that jumps out at me as inelegant: the base case, also known as the escape clause. My second gripe is a more serious one...
-
Advanced Constrained Application Protocol (CoAP) Programming
Explore the CoAP Observer design pattern and other advanced CoAP topics to work with IoT and edge devices.