Skip to content

test: add Concore class API tests for concore.hpp #485

Open
avinxshKD wants to merge 1 commit intoControlCore-Project:devfrom
avinxshKD:fix/cpp-api-test-coverage
Open

test: add Concore class API tests for concore.hpp #485
avinxshKD wants to merge 1 commit intoControlCore-Project:devfrom
avinxshKD:fix/cpp-api-test-coverage

Conversation

@avinxshKD
Copy link

@avinxshKD avinxshKD commented Mar 3, 2026

Added TestConcoreHpp.cpp following the same custom pass/fail pattern. Sets up temp port dirs, does real file read/write round-trips, tests unchanged() state transitions, retry exhaustion on empty files, and param loading. No gtest.

closes #484

@avinxshKD
Copy link
Author

Hey @pradeeban @Rahuljagwani @mayureshkothare

While building out the transport layer in the julia prototype, I ran into a performance question worth flagging

With file I/O, even delay=0 still hits disk on every poll (open + read + close per call). For co-located nodes, Mmap.jl would keep reads in memory -- same polling loop, no syscall overhead, so the delay can be pushed much lower without thrashing I/O.

Planning to measure this properly: file vs mmap vs ZMQ, same study, same workload. The benchmark results and methodology could double as a short research note if that's useful for the project. Any suggestions :p

Also should the mmap backend be opt-in at init, or would automatic detection of co-located nodes be worth the complexity?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant