Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tx frame fragments (#189) #194

Merged
merged 16 commits into from
Jun 27, 2024
Merged

Tx frame fragments (#189) #194

merged 16 commits into from
Jun 27, 2024

Conversation

StrongestNumber9
Copy link
Contributor

More comments in prior PR #189

* partially done migration to tx-frame

* wip

* it does not work

* some fixes

* fix log level

* refactor write responsibility into the objects that are Writeable

* fix javadoc

* make classes final

* refactor Writeable interface, refactor RelpWriteImpl

* exit RelpWriteImpl on error

* make ManualPerformanceTest work again

* remove unnecessary copying of txn

* Revert "remove unnecessary copying of txn"

This reverts commit 19b312f.

* contains broken code, but improves performance, fixes later

* sync on 2024-06-03

* sync 2024-06-11

* more sync

* more buffer arrays

* remove obsolete TODO messages, increment PoolingDelegateTest delay

* move Writable and it's Decrations to package com.teragrep.rlp_03.channel.buffer.writable;

* add reporting capability for outstanding writes

* add todo for read not to throw on error but just to close the connection

* add outstanding() to RelpWriteFake

* reading refactor

* rename BufferLease isRefCountZero -> isTerminated

* remove unused BufferPool argument from Leaseful implementations

* fix BufferLease

* refactor Supplier<FrameDelegate> into ClockFactory

* Fixes javadoc issues

---------

Co-authored-by: StrongestNumber9 <16169054+StrongestNumber9@users.noreply.github.com>
@StrongestNumber9
Copy link
Contributor Author

It is currently the same as #189 so no re-reviews required yet, I'll create issues from the existing comments

@StrongestNumber9 StrongestNumber9 linked an issue Jun 17, 2024 that may be closed by this pull request
14 tasks
kortemik and others added 12 commits June 24, 2024 10:45
…pEventServerClose, which did not appear in tests because payload is zero length (#200)
* implement a fix for 198

* clarify errors when NeedsReadException or NeedsWriteException interest op changes throw unexpectedly
…ement to avoid exception from logger causing lock to be left behind (#202)
* rename RelpRead to Ingress and RelpWrite to Egress

* rename method relpWrite() to egress() in EstablishedContext
* re-structure networking code from rlp_03 package to net_01 package

* apply spotless
* extract common client code to EstablishedContextFactory

* avoid returning null on error in RelpClientFactory in case establishedContextFactory throws one

* fix exception type in RelpClientFactory from RuntimeException to CompletionException
* Adds dynamic properties based RelpEventOpen version string

* make version an object

* rename tag -> version, as it is in the properties

---------

Co-authored-by: Motoko Kusanagi <kordex@gmail.com>
* ingress interested

* fix typo

* move register(clock) out from EstablishedContextImpl constructor

* allow Clock to re-register into a connection

* add note about Clock's responsibility to read all data

* add note about Clock's responsibility to read all data

* fix thread safety of IngressImpl register(clock) and unregister(clock)

* clarify exception messages, remove obsolete TODO

* apply spotless
#213)

* move com.teragrep.net_01.channel.context.frame; to com.teragrep.rlp_03.frame;

* apply spotless
@StrongestNumber9 StrongestNumber9 merged commit cd0cd20 into main Jun 27, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issues for PR194
2 participants