Skip to content

Commit d2a01d3

Browse files
authored
Updated ReadMe with performance comparison graph
Updated the ReadMe with a performance comparison graph
1 parent 059e295 commit d2a01d3

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
### SimpleServerClient ###
2-
Offers very simple and easy-to-use Java classes for Client-Server-Client or just Server-Client applications doing all the work for connection setup, reconnection, timeout, keep-alive, etc. in the background.
2+
A very lightweight and easy-to-use library for client-server-client or simply server-client applications in Java doing all the work for you: connection setup, reconnection, timeout, keep-alive etc. in the background. Simply tell the application what to send and receive, and the rest will happen by itself. That's almost magic!
33

44
**Code Quality**
55

66
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/3d5b115186f44ecab613ac3f2ca0015b)](https://www.codacy.com/app/DeBukkIt/SimpleServerClient?utm_source=github.com&utm_medium=referral&utm_content=DeBukkIt/SimpleServerClient&utm_campaign=Badge_Grade)
77

8+
# Performance Comparison
9+
10+
The graph shows a comparison of the latencies achieved with different versions of the SimpleServerClient. Recently, buffers were introduced for both branches (master and experimental), each generating a significant increase in performance. In addition, the version in the experimental branch does not reestablish a new connection to the server for each message from the client, but always uses the same connection where messages are exchanged in both directions. The elimination of this overhead offers another significant increase in performance. This implementation will be merged into the master branch as soon as it is ready to use and stable.
11+
12+
![Performance Comparison of Versions and Branches](https://debukkit.github.io/images/SimpleServerClient_Performance_Comparison.jpg)
13+
14+
The latency in the graph shows the travel time of an about 25-byte small Datapackage sent by the client through the Internet to the server and back (sum of ping and pong).
15+
816
# How to use THE SERVER
917
```java
1018
import java.net.Socket;

0 commit comments

Comments
 (0)