wip: Raw structure of improvements to gun that run in production#690
Open
speeddragon wants to merge 49 commits intoneo/edgefrom
Open
wip: Raw structure of improvements to gun that run in production#690speeddragon wants to merge 49 commits intoneo/edgefrom
speeddragon wants to merge 49 commits intoneo/edgefrom
Conversation
acd6a2f to
bed3351
Compare
speeddragon
commented
Feb 27, 2026
Comment on lines
+22
to
+25
| setup_conn(Opts) -> | ||
| ConnPoolReadSize = hb_maps:get(conn_pool_read_size,Opts, ?DEFAULT_CONN_POOL_READ_SIZE), | ||
| ConnPoolWriteSize = hb_maps:get(conn_pool_write_size,Opts, ?DEFAULT_CONN_POOL_WRITE_SIZE), | ||
| persistent_term:put(?CONN_TERM, {ConnPoolReadSize, ConnPoolWriteSize}). |
Collaborator
Author
There was a problem hiding this comment.
I was trying to find a better way to define this, but I couldn't.
c7d1484 to
418d802
Compare
…x to access top via shell as well via release
feat: Add rate limiter device
…05' into impr/manifest-routing
Now the dev_bundler server manages the dispatch workers directly
Continues the refactoring of the dev_bundler modules and implements functionality to allow unbundled items and unfinished bundles to be recovered incrementally rather than requiring that all data be loaded first before any of it is processed
also force an lmdb flush to disk to ensure recovered items are correctly persisted
…ed regression within this PR) Now we do 2 converts before posting a TX: - one to build a Header-only TX that we use for posting. This makes the posting process much quicker - one to biuld a full-data TX tha we use for caching and recovery We shouldn't need to cache the full-data TX, so a future optmization can address that. We'll just have to be careful about rebuilding the data payload from the cache data items to ensure the reult is the same as when the original TX was posted
This breaks the HB loose coupling but for large bundles the TX posts in seconds instead of minutes
…260306' into impr/gun
impr: manifest resolution and compatibility fixes
impr: both from and to can be negative offsest from tip (copycat)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In this PR, there are a few improvements to how
gunhandles the connection.gen_server.conn_pool_read_sizeandconn_pool_write_size.gunandhttpcclients./tx,/chunk, etc).TODO
TODO: