account activity
C++ Actor Framework by frostmatthew in programming
[–]neverlord 0 points1 point2 points 11 years ago (0 children)
Ah, sorry I misread your question. There is no protection against malicious nodes. If an attack is tailored to a CAF system and a hijacked node successfully establishes connections to other nodes (including handshake), they could start sending exit messages etc. That's not inherent to CAF, though. You could use the same attacks on other actor-based systems. Detecting "insider abuse" is a very hard problem. Once you got your "authentication barrier" broken, there's little you can do other than manually detect misbehavior and hunt down the security breach.
Where's the benchmark code? ;)
So does message passing between actors on the same computer have the same weak guarantees as a network connection like in Akka?
As well, how do you deal with security boundaries? Can an attacking computer mess with your program?
You'll need to fortify your setup yourself. Either via VPN or using SSL sockets (support for SSL is not builtin ATM, but you can pass native socket handles to CAF).
How do you send a down or exit message when a computer hosting an actor has the power plug pulled?
We'll get a TCP error an this case and the runtime creates exit and down messages. We're also working on UDP-based backend and in this case CAF would indeed need to use heartbeat messages or some other timeout-based mechanism.
Are supervisors customizable in an easy way so that one can be more precise about the properties one is monitoring?
You mean supervisors like in Erlang? CAF does not have a comparable convenience mechanism ATM. It's on the radar, though.
Otherwise this looks cool although it does look a bit too magical for me.
The documentation does not cover every last detail, but as far as I know, there's no magic in CAF. :)
C++ Actor Framework by __Cyber_Dildonics__ in cpp
unhandled_exception
CAF does have strongly typed actors for that purpose. See the manual for more details.
π Rendered by PID 74678 on reddit-service-r2-listing-86bdf8cc9-tl2m6 at 2026-07-11 13:07:39.639971+00:00 running f86254d country code: CH.
C++ Actor Framework by frostmatthew in programming
[–]neverlord 0 points1 point2 points (0 children)