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
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
935eb1fb0b
added profiler tooling to enable automated generation of profile reports
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
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
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
135508c390
Ensure proper memory management by adding `Free` calls to release pooled buffers across `export`, `import`, and event handling workflows.
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
5a640e7502
Introduce `ProcessDelete` method in `database` package; update `go.mod` with `database.orly` module replacements across packages
4 months ago
mleku
b08e94807b
Refactor database methods: simplify `SaveEvent` signature, enhance logging, and introduce deletion check logic with `CheckForDeleted`.
4 months ago
mleku
5cadf9c933
add acl interface
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