4D Blog

Home Product QUIC layer: the future of network communications

QUIC layer: the future of network communications

April 25, 2023

Product

The most considerable production servers running with 4D accept more than a thousand simultaneous connections, and this number keeps growing. As a consequence, performance becomes an increasingly important focus of our teams. The QUIC protocol, used by the new version of the HTTP standard, has been specifically built to increase speed and reliability. As we are always looking for exciting technologies, we are working on replacing our low-level network protocol with the QUIC protocol.

For v20, you can switch to this network layer and check if it improves your performance. This is still in beta test, as we need your feedback before using it as our default network layer. As such, you will only be able to use it on beta versions of 4D.

QUIC, standing for Quick UDP Internet Connections, was initiated by Google a decade ago. It was officially standardized by the IETF in May 2021 and adopted as the protocol for HTTP/3 connections.

 

Over the ages, 4D has used a couple of different network layers. The first one, which we generally call “Legacy,” was using too much CPU when idle. The ServerNet layer solved this minor issue and brought features like the support for computer sleep mode, but it is still asking for a constant connection, which is not ideal on unstable networks. With both of these layers, we have hit the ceiling; there’s not much space for improvement.

Unlike previous layers working over TCP, QUIC uses the UDP protocol to carry its packets. It allows for faster recovery in case of packet loss, congestion, and various network issues. And our preliminary tests show that QUIC is keeping its promises: when the ping gets high, QUIC manages to be faster than our other network layers, and in case of packet loss, the speed gain is incredible. We have been positively surprised by the protocol’s overall stability and aim to make this network layer the most stable you’ve ever known.

During the beta test of v20, you can activate this layer via the Compatibility Page of the Structure Settings. Don’t forget that, as QUIC works on UDP, you need your routers and firewalls to accept UDP connections. A second important point is that both the application server and the database server will now listen on the same port (19813 by default), thanks to the way QUIC bundles all network communications on one socket instead of opening one socket per process like before. Also, QUIC communications are necessarily encrypted with TLS. Don’t hesitate to test it on your infrastructure. We will use your feedback to improve it.

In the meantime, if you have questions or comments, don’t hesitate to bring them to the 4D forums.

Discuss

Tags Network, QUIC, v20

Latest related posts

  • December 3, 2025

    Give AI to a 30 years old 4D application

  • November 28, 2025

    ORDA – Handle an event-driven logic during database operations

  • November 27, 2025

    ORDA – Permissions – Restrict / allow web access to the resources in one click

Nicolas Brachfogel
Nicolas Brachfogel
Product Owner & Senior Developer - Nicolas Brachfogel joined 4D in 2017 as senior developer (4D Server and networking) and as Product Owner to manage the 4D version on Apple Silicon. He is tasked with the redaction of user stories and functional specifications, as well as the verification that the new features are in line with customers' needs. With a degree from Institut Supérieur d'Informatique Appliquée Paris (INSIA), Nicolas started his career as a software developer in 2001. After many years of development in Java and C++, he specialized himself in client-server development in the video game industry. As a developer/software architect, he worked on the server architectures of many games (Dofus Arena, Drakerz, Trivial Pursuit Go !).
  • Deutsch
  • Français
  • English
  • Português
  • Čeština
  • Español
  • Italiano
  • 日本語

Categories

Browse categories

  • AI
  • 4D View Pro
  • 4D Write Pro
  • 4D for Mobile
  • Email
  • Development Mode
  • 4D Language
  • ORDA
  • User Interface / GUI
  • Qodly Studio
  • Server
  • Maintenance
  • Deployment
  • 4D Tutorials
  • Generic
  • 4D Summit sessions and other online videos

Tags

4D AIKit 4D for Android 4D for iOS 4D NetKit 4D Qodly Pro 4D View Pro 4D Write Pro 20 R10 21 Administration AI Artificial Intelligence Build application Class Client/Server Code editor Collections Compatibility settings Formula Google Listbox Logs Mail Network Objects OpenAI ORDA PDF Pictures Preemptive Programming REST Scalability Security Session Source control Speed Spreadsheet Tutorial UI User Experience v20 vscode Web Word processor

Tags

4D AIKit 4D for Android 4D for iOS 4D NetKit 4D Qodly Pro 4D View Pro 4D Write Pro 20 R10 21 Administration AI Artificial Intelligence Build application Class Client/Server Code editor Collections Compatibility settings Formula Google Listbox Logs Mail Network Objects OpenAI ORDA PDF Pictures Preemptive Programming REST Scalability Security Session Source control Speed Spreadsheet Tutorial UI User Experience v20 vscode Web Word processor
Subscribe to 4D Newsletter

© 2025 4D SAS - All rights reserved
Terms & Conditions | Legal Notices | Data Policy | Cookie Policy | Contact us | Write for us


Subscribe to 4D Newsletter

* Your privacy is very important to us. Please click here to view our Policy

Contact us

Got a question, suggestion or just want to get in touch with the 4D bloggers? Drop us a line!

* Your privacy is very important to us. Please click here to view our Policy