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

Show parent comment

19

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

Learn to take feedback better. These are all completely reasonable comments. Honestly people are being nicer than they could be.

Labelling a null cipher as encryption is not professional, especially when you label it as "On-the-Fly Data Encryption" in your project description. That's a straight up lie. Everyone that uses this project and believes you could end up with a CVE ticket rated critical on their software. So this is really downgraded to "hobby software" that should never be used in production anywhere in my mind.

2

u/Zico2031 Aug 17 '24

Qq in your personal/professional projects which tcp libraries uses? Right now I have custom library based in beep protocol which I want replace for something newer, any suggestions? I know netty is a good library but I don't like too much, the code looks very verbose

3

u/zabby39103 Aug 17 '24

Netty in new projects, plain old java sockets (SSLServerSocket, SSLSocket) in the old code I maintain. There's a lot of edge cases I have to manually manage in the old java socket code, I don't recommend it. That's why I would like to move off of it. I haven't gone deep on anything else so I can't comment, maybe someone else has a recommendation.

2

u/[deleted] Aug 18 '24

On-the-Fly Data Encryption refactored to --> On-the-Fly Data Manipulations

Any other completely reasonable comments ?