PowerEngine 后端图模服务代码仓库
Go to file
douxu d051c161b7 perf: parallelize GetFullMeasurementSet with errgroup
- run 5 independent DB queries concurrently via errgroup.WithContext
  - add ctx parameter and bind db with WithContext for cancellation support
  - replace silent error swallowing (if err == nil) with wrapped error returns
  - promote golang.org/x/sync to direct dependency in go.mod
2026-05-18 16:49:46 +08:00
common refactor: rename TaskParams to Params and remove debug prints 2026-04-28 17:41:28 +08:00
config feat: add Loki logging, fix MQ shutdown order, improve realtime tracing 2026-05-11 17:34:27 +08:00
constants feat: add dedicated message-exchange for task lifecycle notifications 2026-05-13 16:58:36 +08:00
database perf: parallelize GetFullMeasurementSet with errgroup 2026-05-18 16:49:46 +08:00
deploy feat: add dedicated message-exchange for task lifecycle notifications 2026-05-13 16:58:36 +08:00
diagram refactor: rename TaskParams to Params and remove debug prints 2026-04-28 17:41:28 +08:00
distributedlock optimize code of redis init 2026-01-28 16:49:12 +08:00
doc refactor: rename TaskParams to Params and remove debug prints 2026-04-28 17:41:28 +08:00
docs feat: implement topology analysis async task with BFS connectivity check 2026-04-24 17:14:46 +08:00
example fix bug of test data with update handler 2025-01-13 15:54:40 +08:00
handler feat: add dedicated message-exchange for task lifecycle notifications 2026-05-13 16:58:36 +08:00
logger feat: add Loki logging, fix MQ shutdown order, improve realtime tracing 2026-05-11 17:34:27 +08:00
middleware refactor: migrate trace propagation from B3 to W3C TraceContext - switch OTel propagator from b3.New() to propagation.TraceContext{} - rename B3 header constants to generic internal context keys 2026-05-07 16:43:34 +08:00
model feat: implement topology analysis async task with BFS connectivity check 2026-04-24 17:14:46 +08:00
mq feat: add dedicated message-exchange for task lifecycle notifications 2026-05-13 16:58:36 +08:00
network feat: implement topology analysis async task with BFS connectivity check 2026-04-24 17:14:46 +08:00
orm feat: implement topology analysis async task with BFS connectivity check 2026-04-24 17:14:46 +08:00
pool optimzie code organization structure of rabbitmq event 2026-02-25 17:14:25 +08:00
real-time-data feat: add Loki logging, fix MQ shutdown order, improve realtime tracing 2026-05-11 17:34:27 +08:00
router add route of async task system 2026-03-17 16:08:46 +08:00
sql implemented task queue publishing using RabbitMQ 2026-04-01 17:15:33 +08:00
task feat: add dedicated message-exchange for task lifecycle notifications 2026-05-13 16:58:36 +08:00
test optimize database struct 2025-11-19 17:44:08 +08:00
util optimize code of redis init 2026-01-28 16:49:12 +08:00
.drone.yml modify drone pipeline code 2025-02-10 15:21:34 +08:00
.gitignore add route of async task system 2026-03-17 16:08:46 +08:00
README.md merge feature-cgo branch 2025-07-31 10:48:56 +08:00
go.mod perf: parallelize GetFullMeasurementSet with errgroup 2026-05-18 16:49:46 +08:00
go.sum refactor: migrate trace propagation from B3 to W3C TraceContext - switch OTel propagator from b3.New() to propagation.TraceContext{} - rename B3 header constants to generic internal context keys 2026-05-07 16:43:34 +08:00
main.go perf: parallelize GetFullMeasurementSet with errgroup 2026-05-18 16:49:46 +08:00

README.md

ModelRT

Build Status