Open in app

Sign In

Write

Sign In

Gaetano Piazzolla
Gaetano Piazzolla

311 Followers

Home

About

Published in

Dev Genius

·Pinned

Spring Boot 3 with Java 19 Virtual Threads

Configuration and Load Testing of a Database Intensive App — Table of Content: · Introduction · How to Build a Spring-Boot App using Virtual Threads · How to RUN a Spring-Boot Java-19 Gradle-Based App · Description and Set up of the Load Test · Performance Evaluation · Conclusion Introduction In this article, we will learn how to configure a SpringBoot Gradle-based application to use…

Spring Boot

8 min read

Spring Boot 3 with Java 19 Virtual Threads
Spring Boot 3 with Java 19 Virtual Threads
Spring Boot

8 min read


Published in

Dev Genius

·Pinned

An epic tale: comparing JDBC and R2DBC in a real-world scenario (Part 1/2)

The whole quest revolves around a simple but hard-to-answer question: “does it makes any sense to use R2DBC?” — Googling around it’s possible to find several benchmarks which precisely state that R2DBC is awesome with high concurrency. Those benchmarks however are built on a scenario that is far far away from a real database-intensive application. …

Java

4 min read

An epic tale: comparing JDBC and R2DBC in a real-world scenario
An epic tale: comparing JDBC and R2DBC in a real-world scenario
Java

4 min read


Pinned

Adios to JAVA Finalizers

JEP 421 announces the end of Java Finalizers. Adios to an ancient Java feature, born together with Java 1.0 and its Garbage Collector. — “Finally” and “Finalize” We need those keywords only for specific cases, namely, releasing the operating system’s resources. In those cases, the Garbage Collector is insufficient; the program must release OS resources programmatically. Let’s provide a classic example of a “finally” block used to close an InputStream:

Java

2 min read

Adios to JAVA Finalizers
Adios to JAVA Finalizers
Java

2 min read


Published in

Dev Genius

·Pinned

Java Virtual Threads

We will not write ugly asynchronous code anymore. Maybe. — JDK 19 has been forked in the previous week, and the Virtual Thread API (originally introduced by Project Loom) is a partially implemented feature that will be part of the next release. In all ways that matter, virtual threads perform like platform threads but are cheap enough that you can…

Java

4 min read

Java Virtual Threads
Java Virtual Threads
Java

4 min read


Published in

JavaScript in Plain English

·Mar 15

Efficient Error Handling Tips for Javascript Web Clients

Error handling is a fundamental constituting part of a web application. Poor management can sink your app before it even learns to float. — On the other hand, good error-handling practices make things go swimmingly. This article discusses the best practices for a standard web application that communicates with a web server through standard HTTP calls. Try Catch Blocks Javascript on this subject is really similar to Java. It has the same syntactic statement used to catch…

JavaScript

6 min read

Efficient Error Handling Tips for Javascript Web Clients
Efficient Error Handling Tips for Javascript Web Clients
JavaScript

6 min read


Published in

GoPenAI

·Mar 14

Chat GPT-4 is (Almost) Ready to ROCK

A few moments ago, Greg Brockman, President, and Co-Founder of OpenAI presented a developer demo showcasing GPT-4 and some of its capabilities/limitations. OpenAI has been building this technology for over two years, tuning and rebuilding the entire framework several times. We have all already understood that GPT4 will work better…

ChatGPT

2 min read

Chat GPT-4 is (Almost) Ready to ROCK
Chat GPT-4 is (Almost) Ready to ROCK
ChatGPT

2 min read


Published in

Dev Genius

·Mar 5

Java Efficient Patterns for Exception Handling

Error handling is one of the most crucial parts of any application. In this article, we will see 4 peculiar patterns/best practices for handling errors or exceptions in Java. — 1- Exception Wrapper Pattern How: All exceptions thrown by methods in a peculiar package should be wrapped into peculiar exceptions. When: This pattern is very useful if the code is to be shipped in the form of Java libraries, or if it includes several packages, all of which don’t have the same business logic…

Programming

6 min read

Java Efficient Patterns for Exception Handling
Java Efficient Patterns for Exception Handling
Programming

6 min read


Published in

CodeX

·Jan 30

GraphQL Support for NodeJS: A Game-Changer for API Development

GraphQL is a query language for APIs and a runtime environment for executing queries against data. It was developed and open-sourced by Facebook and is now maintained by a large community of organizations and individuals. In this article, we will talk about GraphQL support for NodeJS applications, and how this…

Nodejs

8 min read

GraphQL Support for NodeJS: A Game-Changer for API Development
GraphQL Support for NodeJS: A Game-Changer for API Development
Nodejs

8 min read


Published in

GoPenAI

·Jan 19

I Used ChatGPT to generate a SpringBoot App

AI tells me that I’m always correct, even when I’m not. Unlike my girlfriend. — I too got hyped up and scared about ChatGPT 3 so I gave it a try. These were the questions I needed to be answered: Can it generate a complete spring boot application with just some text input? What are the pitfalls? Does the code generated contain any errors? …

ChatGPT

4 min read

I Used ChatGPT to generate a SpringBoot App
I Used ChatGPT to generate a SpringBoot App
ChatGPT

4 min read


Published in

Geek Culture

·Oct 2, 2022

Sustainability with the Right Programming Language

Considering the hallucinatory waste that exists for various reasons (e.g. Qatar Climatized Stadium), does it make any sense to focus on these little things? — Does it make sense to separate the paper and plastic from a pack of cigarettes while an oil tanker breaks down in the Indian Ocean? The answer is: it always makes sense. The sense is embedded in the action, not in the single achievable result.

Programming

3 min read

Sustainability with the Right Programming Language
Sustainability with the Right Programming Language
Programming

3 min read

Gaetano Piazzolla

Gaetano Piazzolla

311 Followers

Tech. Writer and Passionate Developer.

Following
  • Mickey Mellen

    Mickey Mellen

  • Javier Lopez

    Javier Lopez

  • Netflix Technology Blog

    Netflix Technology Blog

  • Sean Kernan

    Sean Kernan

  • Pedro Henrique

    Pedro Henrique

See all (156)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams