mleku
4532def9f5
Remove large outdated `stacktrace.txt` log file.
...
- Deleted auto-generated `stacktrace.txt` file to reduce repository clutter and maintain relevance of retained files.
4 months ago
mleku
90f21fbcd1
Add detailed benchmark results for multiple relays.
...
- Included results for `relayer-basic`, `strfry`, and `nostr-rs-relay` relay benchmarks.
- Comprehensive performance metrics added for throughput, latency, query, and concurrent operations.
- Reports saved as plain text and AsciiDoc formats.
4 months ago
mleku
81a40c04e5
Refactor `publishCacheEvents` for concurrent publishing and optimize database access.
...
- Updated `publishCacheEvents` to utilize multiple concurrent connections for event publishing.
- Introduced worker-based architecture leveraging `runtime.NumCPU` for parallel uploads.
- Optimized database fetch logic in `FetchEventsBySerials` for improved maintainability and performance.
- Bumped version to `v0.4.8`.
4 months ago
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
f5cce92bf8
Handle nil receiver `S` in `ContainsAny` method within `tags.go`.
4 months ago
mleku
2ccdc5e756
Bump version to `v0.4.7`.
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
a75e0994f9
Add debug logging for admins in ACL follows evaluation logic
4 months ago
mleku
60e925d748
added profiler tooling to enable automated generation of profile reports
4 months ago
mleku
935eb1fb0b
added profiler tooling to enable automated generation of profile reports
4 months ago
mleku
509aac3819
Remove unused ACL integration and related configuration logic, bump version to `v0.4.6`.
4 months ago
mleku
a9893a0918
Bump version to `v0.4.5`.
4 months ago
mleku
8290e1ae0e
Refactor error handling in `publisher.go`, comment redundant logging in `acl/follows.go`, and improve error handling for connection rejections (403).
4 months ago
mleku
fc546ddc0b
Replace `errorf` with `errors` and `fmt.Errorf`, remove redundant logging across database operations, minimize unused imports, and improve concurrent event delivery logic. Added CPU utilization optimization in the main runtime configuration.
4 months ago
mleku
c45276ef08
Optimize deletion timestamp lookup by replacing sorting logic with linear scan to improve performance. Add profiling support with `cmd/benchmark/profile.sh`, introduce network load testing in benchmarks, and update benchmark reports with additional latency metrics (P90, bottom 10%).
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
bc1527e6cf
Bump version to `v0.4.4`.
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
6e06905773
Replace `WriteTimeout` with `DefaultWriteTimeout` in publisher for consistency and bump version to `v0.4.2`.
4 months ago
mleku
d1316a5b7a
Introduce `DefaultWriteTimeout` for WebSocket operations, replace hardcoded timeouts, and upgrade version to `v0.4.1`.
4 months ago
mleku
b45f0a2c51
Bump version to `v0.4.0`.
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
57ac3667e6
Bump version to `v0.3.2`.
4 months ago
mleku
cb54891473
Remove verbose and debug logging across `HandleDelete`, `HandleEvent`, and `acl/follows` for consistency.
4 months ago
mleku
fdcfd863e0
Update `SaveEvent` to improve logging consistency, block duplicate event creations more explicitly, and handle multi-line log formatting updates. Bump version to `v0.3.1`.
4 months ago
mleku
4e96c9e2f7
Remove debug logging across the codebase and update version to `v0.3.0`.
4 months ago
mleku
fb956ff09c
Block resubmission of deleted events by ID in `SaveEvent` and simplify deletion timestamp checks in `QueryForDeleted`.
4 months ago
mleku
c2c6720e01
Enhance `SaveEvent` logic to handle older event rejection with error reporting, validate timestamps in parameterized replaceable events, and improve `HandleEvent` error handling for blocked events.
4 months ago
mleku
dddcc682b9
Improve `HandleDelete` error handling, add validation for deletion ownership, and enhance logging for unauthorized deletion attempts.
4 months ago
mleku
61cec63ca9
Add detailed tag filter debugging logs in `QueryEvents` and update `rules.md` with context and debugging guidance.
4 months ago
mleku
b063dab2a3
Improve logging, error handling for ID queries, and ensure inclusive range boundaries in event management.
4 months ago
mleku
9e59d5f72b
Set default value for `LogToStdout`, enhance logging for request handling, query events, and filters, and fix ID handling in `relaytester-test.sh`.
4 months ago
mleku
2385d1f752
Update `relaytester-test.sh` log level to `off` and improve `follows` key decoding logic in ACL implementation for clarity and error handling.
4 months ago
mleku
c9314bdbd0
Refactor `GetAccessLevel` to include address parameter, update all ACL implementations and handlers for enhanced contextual access control.
4 months ago
mleku
85d806b157
Bump version to v0.2.1
4 months ago
mleku
3d3a0fa520
Refactor `Signer` to use `secp256k1` directly and enhance ACL reconfiguration for admin-triggered events
4 months ago
mleku
8ddc34d202
Bump version to v0.2.0
4 months ago
mleku
eaa4006a75
Add admin relay handling and real-time subscription syncing in `follows` implementation
4 months ago
mleku
f102c205f8
Filter out privileged events for non-admin users, refactor `IsPrivileged` logic, and improve event handling with additional checks and utilities.
4 months ago
mleku
135508c390
Ensure proper memory management by adding `Free` calls to release pooled buffers across `export`, `import`, and event handling workflows.
4 months ago
mleku
2491fd2738
wire up trigger to restart sync for ACL spider
4 months ago
mleku
5edb7a3b09
implement auth and a simple admin-follows whitelist
4 months ago
mleku
f5a8c094e4
Introduce ACL registry with `follows` implementation, enhance `SaveEvent` for replaceable kinds, and refactor filter-based serial fetching. Update configs and dependencies.
4 months ago
mleku
b6ea3d5181
Add `HandleDelete` and `GetSerialsFromFilter` methods, integrate admin keys handling, and enhance constraints API. Include a new CLI `convert` tool for key translation.
4 months ago
mleku
fb8593044d
improve fast equal API, add bech32 encoding handling
4 months ago