mleku
22cde96f3f
Remove `bufpool` references and unused imports, optimize memory operations.
...
- Removed `bufpool` usage throughout `tag`, `tags`, and `event` packages for memory efficiency.
- Replaced in-place buffer modifications with independent, deep-copied allocations to prevent unintended mutations.
- Added new `Clone` method for deep copying `event.E`.
- Ensured valid JSON emission for nil `Tags` in `event` marshaling.
- Introduced `cmd/stresstest` for relay stress-testing with detailed workload generation and query simulation.
4 months ago
mleku
e521b788fb
Delete outdated benchmark reports and results.
...
Removed old benchmark reports and detailed logs from the repository to clean up unnecessary files. These reports appear to be auto-generated and no longer relevant for ongoing development.
4 months ago
mleku
173a34784f
Remove redundant logging in `acl/follows.go` and `get-indexes-from-filter.go`, handle nil `Tags` in `event.go`.
4 months ago
mleku
246591b60b
fix issue with memory allocation when marshaling events
4 months ago
mleku
098595717f
Integrate ACL with publishers for background event dispatch, ensure proper buffer adjustments in event encoding, and enhance follows sync with event delivery logic.
4 months ago
mleku
45c31795e7
Simplify buffer allocation logic in event encoding by adjusting size calculations for improved performance and reduced complexity.
4 months ago
mleku
3ec2f60e0b
Optimize buffer allocation logic in event encoding to reduce GC pressure and improve performance.
4 months ago
mleku
110223fc4e
Migrate internal module imports to unified package path.
...
Replaced legacy `*.orly` module imports with `next.orly.dev/pkg` paths across the codebase for consistency. Removed legacy `go.mod` files from sub-packages, consolidating dependency management. Added Dockerfiles and configurations for benchmarking environments.
4 months ago
mleku
2dd119401b
Improve memory safety with `defer` for event cleanup across handlers, optimize conditional logging, and bump version to `v0.4.3`.
4 months ago
mleku
bf7ca1da43
Improve logging consistency across the application, handle context cancellation during WebSocket writes, and introduce async ACL reconfiguration for admin events.
4 months ago
mleku
51f04f5f60
implemented event and req
4 months ago
mleku
91d95c6f1a
Migrate package imports from `next.orly.dev` to new `orly` domain structure; add new `varint` and `binary` encoders with comprehensive tests; enhance existing tag and envelope implementations with additional methods, validations, and test coverage; introduce shared `test.sh` script for streamlined testing across modules.
4 months ago
mleku
576475e3dc
Add `countenvelope` encoder with marshal/unmarshal support, buffer pool integration, and tests; improve error messages for subscription validation
5 months ago
mleku
faa527756b
Add `eventenvelope` codec with support for `Submission` and `Result` envelopes, implement `EstimateSize`, and increase buffer capacity
5 months ago
mleku
acee5e3a90
implement auth, closed and close envelopes
5 months ago
mleku
1ba2bb0a9b
implement filter codec
5 months ago
mleku
c958a7d9ed
add forked version of encoding/json with html escape disabled
...
- modified all local packages to use this fork
5 months ago
mleku
f15db4313b
Add warning about improper JSON encoding with `json.Marshal` in `event.E` documentation and emphasize buffer pool usage.
5 months ago
mleku
0f7f3017ea
Implement `MarshalJSON` and `UnmarshalJSON` for `tag.T`, update relayinfo marshaling comments, and adjust tests for consistent JSON handling.
5 months ago
mleku
ddb4c486cb
Document JSON marshaling issue with escaped characters in `MarshalJSON` and update tests to prevent improper marshaling.
5 months ago
mleku
7d20a51508
Refactor tag encoder to optimize buffer reuse, simplify tag marshaling, and improve event handling; enhance tests with additional coverage and example validation.
5 months ago
mleku
225f949540
Refactor event encoder to handle nil tags gracefully and optimize buffer allocation; update tests for improved coverage and data consistency.
5 months ago
mleku
bf178eae4e
complete the marshal/unmarshal of events using the new pool enabled tag codecs
5 months ago
mleku
ecaf52b98f
Add core packages, configuration system, and initial application structure
5 months ago