У нас вы можете посмотреть бесплатно Exploring TCP/TLS Connections in Helidon: Why Netty is the Better Choice или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
Discover why Helidon isn't ideal for TCP/TLS connections and how Netty provides the perfect solution for raw TCP socket applications. --- This video is based on the question https://stackoverflow.com/q/76280195/ asked by the user 'rajat srivastava' ( https://stackoverflow.com/u/21912761/ ) and on the answer https://stackoverflow.com/a/76282475/ provided by the user 'Ashwin Prabhu' ( https://stackoverflow.com/u/177784/ ) at 'Stack Overflow' website. Thanks to these great users and Stackexchange community for their contributions. Visit these links for original content and any more details, such as alternate solutions, latest updates/developments on topic, comments, revision history etc. For example, the original title of the Question was: TCP/TLS sockets in helidon Also, Content (except music) licensed under CC BY-SA https://meta.stackexchange.com/help/l... The original Question post is licensed under the 'CC BY-SA 4.0' ( https://creativecommons.org/licenses/... ) license, and the original Answer post is licensed under the 'CC BY-SA 4.0' ( https://creativecommons.org/licenses/... ) license. If anything seems off to you, please feel free to write me at vlogize [AT] gmail [DOT] com. --- Exploring TCP/TLS Connections in Helidon: Why Netty is the Better Choice In the ever-evolving landscape of microservices, developing a service capable of accepting TCP/TLS connections can pose a challenge, particularly when using specific frameworks. If you're exploring the Helidon framework for this purpose, you may have some questions about its capabilities and best practices. The Problem: Can Helidon Be Used for TCP/TLS Connections? The main inquiry is whether the Helidon framework can be leveraged to build a microservice that accepts TCP/TLS connections from a remote server. Some developers are looking to expose raw TCP sockets in their newly built microservices to receive proprietary messages over TCP packets. The question arises: does Helidon offer this functionality, and if not, what are the alternative solutions? The Solution: Shift Toward Netty Here’s the good news: while Helidon is a powerful framework for building microservices, especially those focusing on HTTP, it is not the ideal choice for raw TCP-based applications. Instead, the recommendation is to utilize Netty, the underlying framework upon which Helidon is built. Here's why: Why Choose Netty? Event-Driven Framework: Netty is an asynchronous event-driven framework that provides a robust infrastructure for developing TCP/IP protocols. Inbound and Outbound Pipelines: It exposes a powerful pipeline model that allows the chaining of custom protocol and message handlers, making it possible to define the flow of raw data effectively. Comprehensive Functionality: While Helidon excels at building HTTP-based services, including features like WebSocket support (via Tyrus) and gRPC integration, Netty gives more control over raw TCP socket handling. A Brief Overview of Netty's Key Features NIO Framework: Netty is based on non-blocking I/O, which makes it suitable for high-performance applications where scalability is crucial. Custom Protocols: You can easily define your own message protocols, which is essential for proprietary communication. Steep Learning Curve but Worth It: While there may be an initial barrier to learning Netty's architecture, the benefits it provides for TCP applications can make the effort worthwhile. Conclusion: The Takeaway For any developer considering which framework to use for TCP/TLS connections, it is clear that while Helidon brings many great features to the table, Netty is the better solution for handling raw TCP socket applications. Network programming can be complex, but choosing the right tools can significantly ease the burden and enhance your system's performance. If your goal is to receive proprietary messages over TCP packets, invest your time in mastering Netty. It will serve you better in the long run by providing the flexibility needed for your microservices architecture. By shifting your focus to Netty, you are setting the stage for robust and scalable network communication in your applications. Happy coding!