12 Commits
Author SHA1 Message Date
wxj ff77becb81 chore: english filenames for blog posts 2026-09-04 11:07:23 +08:00
wxjandClaude d669c009fc docs: publishable performance data — benchmarks, latency traces, optimization effects
Six sections with concrete numbers: end-to-end latency vs kernel (40-52%
faster), CPU microbenchmarks (26.87 Gbps, 481M hash/s), 5-round
optimization effects (P0 19x improvement), architecture advantages
(zero-copy, zero-syscall), rdtsc latency traces (all <1us cross-core),
and code scale (6000 lines pure C).

Ready for forum/ blog post publishing.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-01 13:50:24 +00:00
wxjandClaude ec4f3ee036 feat: add link status check after DPDK port initialization
Wait up to 1s for PHY auto-negotiation after rte_eth_dev_start.
Reports link speed or 'link DOWN (no carrier)' to help diagnose
physical connectivity issues.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-01 13:47:27 +00:00
wxjandClaude 9a596e65e1 fix: WS frame parser — skip oversized payload to keep sync
- ws_client.c: When payload exceeds buffer, consume remaining bytes
  before returning error to prevent parser desynchronization.
- market_feed.c: Increase receive buffer 4K→64K, support both
  standard (symbol/timestamp) and compact (s/ts) JSON field names.
- ws_client.c: Disable per-frame debug print in release mode.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-01 12:53:33 +00:00
wxjandClaude db0f2463ff feat: DPDK Market Data Feed Handler — production product app
Add complete market data gateway product:
- app/market_feed.c: Zero-copy DPDK feed handler with latency histogram
  (min/avg/P50/P95/P99/max), per-symbol msg rate, periodic stats, signal
  handling, JSON parsing without library dependency.
- demo/market_data_server.py: Zero-dependency simulated market data
  server (8 symbols, random walk pricing, subscribe/unsubscribe).
- app/README.md: Full product documentation with architecture diagram.
- Makefile: Add 'app' target for product build (build/market_feed).
- src/main.c: Add -M market data streaming mode.

Product is ready for: financial market data gateways, low-latency
quote feeds, exchange connectivity testing.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-01 12:36:47 +00:00
wxjandClaude dc3d16c4a9 docs: add product landing scenarios to README
Integrate condensed product analysis (financial, 5G, CDN), competitor
comparison vs Solarflare/kernel, and recommended go-to-market path.
Update branch table with latest commit hashes.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-30 16:43:27 +00:00
wxjandClaude ef1456bda6 docs: product landing analysis — financial, 5G, CDN use cases
Covers 6 product categories ranked by readiness: financial market data
gateway (MVP-ready), microservice RPC, 5G NRF, FIX engine, CDN edge push,
industrial IoT. Includes competitor analysis vs Solarflare and recommended
go-to-market path.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-30 16:42:19 +00:00
wxjandClaude 15d5695603 docs: add branch details with commit hashes and clone instructions
Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-30 16:41:07 +00:00
wxjandClaude 4374026686 docs: comprehensive README with optimization history, perf data, branch guide
Document all P0-P4 optimizations with code snippets, branch structure
(main vs feature/multi-core), performance comparison table, and future
optimization roadmap.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-30 16:40:07 +00:00
wxjandClaude d57a0260e8 stable: revert multi-core, restore working single-core optimizations
Keep P0-P4 optimizations:
- Fragment mempool (frag_alloc/frag_free)
- WS frame alloca() dynamic stack
- Fragment read_offset (eliminate memmove)
- nclose busy-poll (replace cond_timedwait)
- Remove dead ng_tcp_out()

Revert experimental multi-core changes (moved to feature/multi-core):
- Worker arrays, TLS context switching
- RX hash distribution, TX multi-ring collection

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-30 16:38:55 +00:00
wxj 5e57d06b1f Initial commit: dpdk-ws-client source code 2026-06-30 16:33:29 +00:00
wxj 0d57633d23 Initial commit 2026-06-30 16:31:31 +00:00