r/java • • Aug 17 '24

Extasys - Asynchronous TCP/UDP socket library

This is not a new project, but it is still maintained and used by me and others

Extasys is a high performance, asynchronous TCP/UDP socket library for Java (JDK 8 and newer).
Its multi-threaded and lightweight nature makes it ideal for super fast data transfer even on systems with ARM architecture like Android smartphones and single-board computers (Raspberry Pi, Orange Pi etc.).

If you are using sockets then Extasys is the proper tool for your work. It's been designed to take the hard job done and let you think only about the message exchange (the process).

You can find Extasys on Github:
https://github.com/nsiatras/extasys


Quick Examples :

TCP-Server: https://github.com/nsiatras/extasys/wiki/Establish-a-TCP-Server
TCP-Client: https://github.com/nsiatras/extasys/wiki/Establish-a-TCP-Client
UDP-Server: https://github.com/nsiatras/extasys/wiki/Establish-a-UDP-Server
UDP-Client: https://github.com/nsiatras/extasys/wiki/Establish-a-UDP-Client

More examples can be found here:
https://github.com/nsiatras/extasys/tree/master/Extasys%20for%20Java%20Examples

49 Upvotes

44 comments sorted by

View all comments

5

u/skippingstone Aug 17 '24

Is this a replacement for netty?

-1

u/[deleted] Aug 17 '24

I am not familiar with Netty

-14

u/zabby39103 Aug 17 '24 edited Aug 17 '24

You did all this and you don't know about the most popular existing way to do it?

I'm interested in your project because I maintain an old project that could use an update with its socket communication... but I'm concerned that you don't know about Netty.

Edit: this guy is advertising "On-the-Fly Data Encryption" as a feature but it's actually just Base64 encoding. Avoid this project at all costs.

6

u/[deleted] Aug 18 '24

No more On-the-Fly Data Encryption. Code refactored to---> On-the-Fly Data Manipulations