Commit Graph

245 Commits

Author SHA1 Message Date
Robinson
411a4c54b8
Better error checking. added kryo-exception checking/failures for unittests 2023-07-15 13:12:25 +02:00
Robinson
d3c3bf50d6
Changed applicationId -> appId 2023-07-12 14:04:32 +02:00
Robinson
990652288e
Code cleanup 2023-07-11 00:12:09 +02:00
Robinson
4797b7e816
Added port1/2 settings to server + client.
Fixed relevant unit tests
2023-07-11 00:11:58 +02:00
Robinson
d43be07874
More careful checks when shutting down (and ensuring stopped drivers during unit tests) 2023-07-03 21:42:16 +02:00
Robinson
2b4ba1347e
Connection handshake timeouts are more standardized to nanoseconds 2023-07-03 19:18:34 +02:00
Robinson
ee296394de
Fixed issues when deserializing messages during the HANDSHAKE, where we would run out of memory (instantly delete the image file representing the bad connection). 2023-07-03 10:46:18 +02:00
Robinson
e85025c199
Better log messages 2023-07-03 00:54:57 +02:00
Robinson
b69c199bf4
updated test for kotlin val get/set 2023-07-02 22:03:23 +02:00
Robinson
0848badc69
IP address/bind check ignored for IPC connections 2023-07-01 22:51:20 +02:00
Robinson
c35b2c3115
Fixed merge conflicts 2023-07-01 13:26:06 +02:00
Robinson
7d331f8a1d
Fixed unit test 2023-07-01 13:18:39 +02:00
Robinson
d1184be6ab
More structured log messages and shutdown is more orderly 2023-07-01 11:42:29 +02:00
Robinson
d4c70c4c1f
Updated unit tests to more aggressively check if aeron is running on startup 2023-06-29 19:26:27 +02:00
Robinson
15f93cf1b0
AeronOutput is not-final 2023-06-29 12:12:14 +02:00
Robinson
5ec2abfc9b
Added better support for streaming large amounts of data (uses temp files if it's too much data) 2023-06-29 12:11:17 +02:00
Robinson
ecbbd55ff6
Fixed unit tests 2023-06-28 15:12:55 +02:00
Robinson
bd289c7ce6
Converted to use exclusive publications, cleaned up wait-to-connect logic, removed deletePub/Sub (that's not recommended for production) 2023-06-28 15:11:11 +02:00
Robinson
55604c679c
Moved port from configuration file to API call for connect() and bind() 2023-06-26 19:28:55 +02:00
Robinson
a81e5316c7
updated unit tests 2023-06-25 17:25:29 +02:00
Robinson
78208fcecb
waitForThreads will wait the default timeout 2023-06-18 19:41:57 +02:00
Robinson
26e2d4a52c
atomic value lazy setting 2023-06-18 19:41:22 +02:00
Robinson
bc0a0e2dcc
Updated unit tests APIs 2023-06-16 14:15:27 +02:00
Robinson
173ad3a691
Updated copyright 2023-06-16 11:18:03 +02:00
Robinson
4a800349b6
MultiClient tests now test 80 concurrent client connections 2023-06-14 23:35:44 +02:00
Robinson
5c4b8bc202
Added more unit tests 2023-06-14 23:35:22 +02:00
Robinson
cda6b53110
Added Aeron pub/sub unit test 2023-06-14 09:31:50 +02:00
Robinson
65d5676c7b
Changed defaut connect method 2023-06-06 00:10:20 +02:00
Robinson
65071f08da
Added more edge-cases for unit tests. Removed shutdown timeout 2023-06-06 00:10:05 +02:00
Robinson
2418290fcd
removed shutdown timeout 2023-06-06 00:09:44 +02:00
Robinson
b2d5de306f
Proper use of countdown latch instead of object.wait 2023-06-06 00:09:22 +02:00
Robinson
b64aae00a5
Fixed closing the endpoint for unit test 2023-06-01 14:49:22 +02:00
Robinson
9a13598d63
Updated for ping tests to always stop endpoints 2023-05-28 22:47:17 +02:00
Robinson
e35cf8afe4
Updated unit tests 2023-05-28 18:41:46 +02:00
Robinson
d3b0964b61
Cleaned up unit tests 2023-03-17 15:05:59 +01:00
Robinson
5533d6f794
updated copyright in unit tests 2023-03-17 15:00:00 +01:00
Robinson
517f14f816
logger is now private 2023-03-17 14:59:04 +01:00
Robinson
4a26b613ff
Changed class name test to serr 2023-03-01 12:50:06 +01:00
Robinson
b5593f52c8
Added RMI remote client/server test 2023-03-01 00:22:36 +01:00
Robinson
d6ff32a05d
Updated copyright + log level 2023-03-01 00:22:11 +01:00
Robinson
7ee5dde112
Added RMI Response manager to unit tests 2023-03-01 00:20:39 +01:00
Robinson
a7a606f1be
API/Code cleanup 2023-02-27 11:31:34 +01:00
Robinson
1ab11f7c78
cleaned up log 2023-02-24 16:35:51 +01:00
Robinson
0a11917b17
updated mooTwo 2023-02-24 16:35:00 +01:00
Robinson
1fd9cdd405
Fixed casting issues 2023-02-20 22:59:52 +01:00
Robinson
a25e17cc1a
added mooTwo 2023-02-16 23:23:47 +01:00
Robinson
951dba3af6
Cleanup 2023-02-16 00:51:23 +01:00
Robinson
b1c5b39de7
Fixed logger override initialization order 2023-02-08 22:27:53 +01:00
Robinson
a311a47eaf
Added sync/async unit block for thread/concurrent safe sync/async calls 2022-12-16 00:01:11 +01:00
Robinson
77701e12c4
More specific variable name for ipv4 check 2022-08-20 11:10:19 +02:00
Robinson
5472a07079
Sending chunked data now creates fewer objects while sending. Updated unit test to use proper API 2022-08-19 23:39:54 +02:00
Robinson
6eb6e677f1
Added comments when sending data + size 2022-08-19 23:31:07 +02:00
Robinson
62ec43002b
Added test jar and classes for aeron server/client 2022-08-19 00:50:00 +02:00
Robinson
dad5cd90b0
Network now uses MDC + unique session id's to initiate/create connections. Prevents issues surrounding handshake conflicts. Now uses exclusive publications, also synchronizes on connection when sending data. Fixed issues when binding to IPv6 Wildcard IPs. RMI events will (attempt) to suppress errors when the connection is closed when the RMI waiter times out. 2022-08-04 03:39:14 +02:00
Robinson
6d519227df
Fixed issues getting the subscription bind address. 2022-08-03 01:52:30 +02:00
Robinson
9b9ed4d569
Updated the number of clients for the multi-client test to 20 2022-08-02 22:49:28 +02:00
Robinson
65c7119d55
Increased unit test timeout 2022-08-02 21:15:02 +02:00
Robinson
305d410071
Added support for restarting the network driver for the endpoints 2022-08-02 13:10:06 +02:00
Robinson
20226468c4
Changed Aeron connections from MDC -> "normal" (so the network connections are initialized more like a standard UDP connection would be, instead of the more complicated MDC method 2022-08-02 12:11:36 +02:00
Robinson
c42c160652
Reverted change to handshake kryo (fix for dynamic class registration) 2022-07-29 05:00:41 +02:00
Robinson
b942c691fc
Changed aeron connections from MDC (similar to udp multicast), to single and unique connections. Fixed issues with duplicate handshake messages. Fixed issues when trying to connect too quickly. Sped up handshake a LOT when multiple clients are connecting. Dynamic class registrations (server-side only) broken 2022-07-29 04:52:11 +02:00
Robinson
3ef3d28d24
Removed coroutines from parts of the networking message processing. 2022-07-27 00:20:34 +02:00
Robinson
bfb0eff14b
Added support for shutdown actions in unit tests if the test takes too long 2022-07-17 23:01:46 -04:00
Robinson
6b5d9ff698
Working on tests for small changes in ipv4/6 2022-07-16 10:26:47 -04:00
Robinson
85efa25f0a
Fixed unit tests for suspending functions 2022-07-16 10:26:12 -04:00
Robinson
0e652c2331
Added backlock info to aeron 2022-07-15 01:04:35 -04:00
Robinson
0b09073a4c
Tweak unit tests 2022-07-13 22:54:50 -04:00
Robinson
55e777860b
Fixed streamed data chunk mis-alignment. 2022-06-29 21:56:12 +02:00
Robinson
7370ae15e9
Separated ping and roundtrip message unit tests 2022-06-29 16:39:27 +02:00
Robinson
61aa509a17
Stream and Session ID allocation cannot be re-used so quickly, as ALL other IDs must first be used, before a previously used ID is reused. 2022-06-29 16:37:47 +02:00
Robinson
e2ce6a9f38
Added aeron driver info 2022-06-24 13:12:36 +02:00
Robinson
20fcabaf8a
Fixed issue with RMI from a server -> client, where the RMI proxy objects were getting overridden by different connections because the RMI object cache was shared between all connections in the server. 2022-06-16 18:04:52 +02:00
Robinson
ef810dcff7
cleaned up comments 2022-06-14 11:24:19 +02:00
Robinson
69be9c83ae
Streaming data test uses random data and a larger size 2022-06-11 23:54:40 +02:00
Robinson
06694cc0fb
More complete ping test 2022-06-11 23:54:23 +02:00
Robinson
c7467780e7
more exact unit tests for listeners 2022-06-06 11:41:46 +02:00
Robinson
e8f7c8d8d3
Cleaned up log messages, cleaned up handshakes, cleaned up polling code. Added unit test for concurrent client connections 2022-05-30 02:55:07 +02:00
Robinson
b0a1780d3f
code polish 2022-05-25 00:47:36 +02:00
Robinson
25b72001ef
Added MultiConnectTest.kt 2022-04-04 23:25:07 +02:00
Robinson
753d23d2ca
Set RMI tests to be trace log 2022-04-04 23:22:59 +02:00
Robinson
32c1de6269
WaitForThreads will ALSO always stop the endpoints 2022-04-04 23:22:39 +02:00
Robinson
655cd02a30
added status output during connect 2022-04-04 23:22:18 +02:00
Robinson
e61f3e4711
Moved multiconnect to it's own test file 2022-04-04 23:22:04 +02:00
Robinson
1747701037
Added comments 2022-04-04 23:21:44 +02:00
Robinson
22e7acab46
Added a streaming protocol (currently in-memory only) for sending data that large, or generally exceeds aeron's max transmit payload size 2022-04-04 14:48:38 +02:00
Robinson
6355dfced7
Fixed RMI async unit test 2022-03-15 14:44:50 +01:00
Robinson
04fa453ff3
Merge remote-tracking branch 'origin/master' 2022-03-15 12:53:53 +01:00
Robinson
c5cecac7b5
Reverted IPC filter unit test 2022-03-15 12:47:19 +01:00
Robinson
29f71f425f
Changed loopback -> localhost (loopback is invalid on macos) 2022-03-15 12:44:52 +01:00
Robinson
3563888c91
Fixed connection filter test for server 2022-03-15 10:31:36 +01:00
Robinson
9e52c398d6
Updated unit tests 2022-03-15 09:46:13 +01:00
Robinson
c8f4ba2b01 Now using the storage project 2021-08-23 00:52:16 -06:00
Robinson
a75ece2a39 Now use the storage project 2021-08-23 00:42:02 -06:00
Robinson
d4efe418e6 added more unit tests 2021-08-20 08:51:19 -06:00
Robinson
7f16ebcac0 WIP storage sub-system 2021-08-19 00:13:47 -06:00
Robinson
6a7fe7b1dc Added support for filtering aeron driver exceptions, onError listeners are now notified if there is an aeron driver error. 2021-07-26 20:40:43 +02:00
Robinson
7d2263b47b Fixed shutdown performance/bug 2021-07-26 20:16:10 +02:00
Robinson
d482d3e43d connections are now created via a unit function instead of overriding the method. 2021-07-09 15:17:00 +02:00
Robinson
c725806727 Cleaned up heap vs stack access, fixed ping support, fixed coroutine errors during serialization 2021-07-08 14:33:24 +02:00
Robinson
632603c8c7 WIP RMI and message performance/ping testing 2021-07-07 21:32:36 +02:00