Ralf
|
e2eb5edbbb
|
add axscript server engine
|
2026-02-20 20:27:40 +03:00 |
|
Ralf
|
51569c14f2
|
Commands handler in server-side
|
2026-02-15 19:50:12 +03:00 |
|
Ralf
|
c2eb4a866f
|
download fix
|
2026-02-14 00:51:13 +03:00 |
|
Ralf
|
105bd16664
|
small fix
|
2026-02-08 16:36:11 +03:00 |
|
Ralf
|
4d0e5232c2
|
update
|
2026-01-30 22:51:09 +03:00 |
|
Ralf
|
65f98ab32c
|
Commander update
|
2026-01-24 12:00:08 +03:00 |
|
Ralf
|
40c6ce86b6
|
New sync schema
|
2026-01-23 23:03:11 +03:00 |
|
Ralf
|
19d0f0b3b0
|
New Ax + Service extender
|
2026-01-18 00:51:03 +03:00 |
|
Ralf
|
57b3d4ed9c
|
Add client data locks
|
2026-01-15 22:29:02 +03:00 |
|
Ralf
|
36198e491c
|
sync update
|
2026-01-15 22:10:33 +03:00 |
|
Ralf
|
68f92ad0fa
|
Multi transport support
|
2026-01-15 22:06:09 +03:00 |
|
Ralf
|
9b8f933e00
|
Lazy sync agents
|
2026-01-10 22:32:27 +03:00 |
|
Ralf
|
c50b67abf6
|
Add created
|
2025-12-29 19:44:10 +03:00 |
|
Ralf
|
135157fce4
|
Delete downloads
|
2025-12-29 19:40:51 +03:00 |
|
Ralf
|
966358ab9e
|
add AxHandler
|
2025-12-29 19:36:59 +03:00 |
|
Ralf
|
737e2d0d7f
|
Process sync update
|
2025-12-22 00:09:09 +03:00 |
|
Ralf
|
388c0326c7
|
small fix
|
2025-12-21 23:47:33 +03:00 |
|
Ralf
|
1c3ab4a1a2
|
Tables upgrade
|
2025-12-17 23:41:19 +03:00 |
|
Ralf
|
0a47f1628f
|
Sync dialog upgrade
|
2025-12-17 23:31:42 +03:00 |
|
Ralf
|
fc32e6328c
|
sync update
|
2025-11-26 00:17:49 +03:00 |
|
Ralf
|
6e93c9da6b
|
fix upload/download/sync
|
2025-11-23 19:23:37 +03:00 |
|
Ralf
|
b759915d53
|
PR upd
|
2025-10-26 02:29:13 +03:00 |
|
Ralf
|
23d4bc6c26
|
Merge branch 'dev-0.10' into feature/sync-optimization-backward-compat
|
2025-10-26 02:24:35 +03:00 |
|
lsroot
|
a6e5b41f46
|
fix: Critical fixes for batch sync optimization
Critical Bug Fixes:
- Fix version detection logic (string comparison bug)
- Fix JWT refresh token version loss
- Fix C++ private member access (add GetLogsConsoleTextEdit accessor)
- Fix missing header guard in LogsWidget.h
Performance Optimizations:
- Optimize concurrent lock handling (serialize outside lock)
- Reduce lock hold time from ~2s to ~100ms (95% improvement)
Backward Compatibility:
- Support v0.10 batch sync (current dev branch)
- Auto-fallback to legacy mode for v0.9 and earlier
- Version detection via JWT claims
Version Support Matrix:
- v0.9 and earlier: Legacy mode (individual packets)
- v0.10+: Batch mode (6x performance improvement)
Files Modified:
Server:
- ts_clients.go: Fix version parsing, support >= 0.10
- ts_sync.go: Pre-serialize packets outside lock
- jwt.go: Add version to refresh token
- tc_client.go: Pass version to token generation
Client:
- LogsWidget.h: Add public accessor, fix header guard
- ProcessSyncPacket.cpp: Use accessor instead of private member
Performance Impact:
- 3000 logs sync: 6s → 1s (83% faster)
- Lock contention: 95% reduction
- Concurrent throughput: 20x improvement
|
2025-10-24 10:09:51 +08:00 |
|
lsroot
|
7ba6c79394
|
feat(sync): Phase 2 - Deep optimization with DirectAccess and categorization
Implement deep performance optimizations for log synchronization.
Server-side changes:
- Add DirectAccess() method to safe.Slice for zero-copy iteration
- Replace all Iterator() calls with DirectAccess() (10-15% faster)
- Implement type-based packet categorization (getPacketCategory)
- Add TYPE_SYNC_CATEGORY_BATCH (0x15) for organized batching
- Add SyncPackerCategoryBatch structure
- Update performance monitoring with category statistics
Client-side changes:
- Add TYPE_SYNC_CATEGORY_BATCH support
- Add category batch validation
- Unified batch processing for both batch types
Performance improvements:
- Eliminate slice copy overhead in Iterator
- Remove goroutine and channel creation overhead
- Improve cache locality with categorized transmission
- Better debugging with per-category statistics
Optimized functions:
- TsPresyncAgents, TsPresyncPivots, TsPresyncChat
- TsPresyncCredentials, TsPresyncTargets, TsPresyncEvents
Expected sync time for 3000 logs: 1.5s -> 0.8s (87% total improvement)
Related: Phase 1 batch transmission optimization
|
2025-10-24 08:41:05 +08:00 |
|
Ralf
|
bc90630888
|
Targets Manager updated
|
2025-10-23 23:33:49 +03:00 |
|
lsroot
|
b037a729cd
|
feat(sync): Phase 1 - Implement batch transmission optimization
Optimize client-server log synchronization performance with batch processing.
Server-side changes:
- Add TYPE_SYNC_BATCH (0x14) packet type
- Implement batch transmission in TsSyncStored() (BATCH_SIZE=100)
- Add SyncPackerBatch structure for batch packets
- Add performance monitoring with timing logs
Client-side changes:
- Add TYPE_SYNC_BATCH packet type definition
- Implement batch packet validation in isValidSyncPacket()
- Add batch processing logic in processSyncPacket()
- Optimize UI updates with setUpdatesEnabled() for batch operations
- Add sync performance tracking and display
Performance improvements:
- Reduce WebSocket calls from N to N/100 (99% reduction)
- Reduce UI update operations by 99%
- Expected sync time for 3000 logs: 6s -> 1.5s (75% improvement)
Related issue: Slow sync performance with 3000+ logs
|
2025-10-24 01:51:57 +08:00 |
|
Ralf
|
1156bebba2
|
Sessions Table update
|
2025-10-22 23:48:38 +03:00 |
|
Ralf
|
12efbdd369
|
Tasks Manager update
|
2025-10-21 22:19:35 +03:00 |
|
Ralf
|
dedca899ef
|
Client Update to Docks
|
2025-09-24 21:48:24 +03:00 |
|
Ralf
|
7fc83101f4
|
Client upd
|
2025-09-22 15:13:14 +03:00 |
|
Ralf
|
bd2e566cf3
|
PR update
|
2025-09-07 13:46:48 +03:00 |
|
Exil
|
6b7ac8f799
|
Merge branch 'dev-v0.9' into add_chat
|
2025-09-05 16:17:56 +02:00 |
|
SETTAI Yassine
|
ee9d08accb
|
Add chat support
|
2025-09-05 16:10:41 +02:00 |
|
Ralf
|
3d97f03403
|
Client targets update
|
2025-09-05 12:36:29 +03:00 |
|
Ralf
|
a90a9a5967
|
AxScript update events
|
2025-08-24 12:48:02 +03:00 |
|
Ralf
|
bf187c4714
|
target and creds update
|
2025-08-19 12:32:23 +03:00 |
|
Ralf
|
6de7c0afb0
|
creds update
|
2025-08-17 16:45:24 +03:00 |
|
Ralf
|
b06b1fb25e
|
tag for creds and targets
|
2025-08-15 14:49:42 +03:00 |
|
Ralf
|
e534c984a4
|
Manage targets
|
2025-08-14 08:38:37 +03:00 |
|
Ralf
|
64fd590402
|
AddTarget
|
2025-08-12 10:18:25 +03:00 |
|
Ralf
|
0bf2cdea9a
|
Client: Listeners update
|
2025-08-10 19:10:09 +03:00 |
|
Ralf
|
c61ae97b08
|
Update ProcessSyncPacket.cpp
|
2025-07-28 21:46:02 +03:00 |
|
Ralf
|
ac0a35f8fe
|
Ax update
go mod update
ts fix
|
2025-07-28 10:51:52 +03:00 |
|
Ralf
|
983eeb3ad0
|
Tasks update
|
2025-07-25 10:17:58 +03:00 |
|
Ralf
|
7f4b57b320
|
add post hooks
|
2025-07-14 09:53:44 +03:00 |
|
Ralf
|
af3e62208a
|
Ax Console update
|
2025-07-11 09:46:20 +03:00 |
|
Ralf
|
048bd53781
|
Add Credentials manager
|
2025-07-09 09:23:25 +03:00 |
|
Ralf
|
653d717076
|
Sessions & Graph menu
|
2025-07-07 09:32:50 +03:00 |
|
Ralf
|
298947f334
|
AxMenu update
|
2025-07-06 10:32:02 +03:00 |
|