Content
@
0 reply
0 recast
2 reactions
Kinode OS
@kinode
Today we want to spotlight Dartfrog, which began as a simple peer-to-peer messaging app built on Kinode, but is evolving into so much more. We want to discuss 1) how Dartfrog addresses challenges that are common to peer-to-peer app development – especially in regards to network efficiency and session management – and 2) what's in store for the app. Many p2p apps “take the easy way out” and use gossip protocols, everyone-to-everyone connections, or persistent client-server subscriptions, which can lead to network congestion and excessive resource consumption. Dartfrog, on the other hand, implements high-level, activity oriented, explicit point-to-point sessions that automatically manage connections. Here’s how the Dartfrog implementation improves “network hygiene”:
1 reply
0 recast
0 reaction
Kinode OS
@kinode
Activity based connections: - Dartfrog only maintains active connections for users currently interacting with the system. It closes inactive sessions. Explicit point-to-point: - Dartfrog does not broadcast to all nodes, instead creating connections between relevant parties. Automatic session management: - The system handles the connection lifecycle, including timeouts and heartbeats, to ensure resources are used efficiently. This design supports high-bandwidth apps, like those that offer real-time collaboration, while keeping the network running smoothly. It’s particularly beneficial in environments with many users who have varying levels of activity, since it prevents inactive users from consuming network resources unnecessarily. ⬇️
1 reply
0 recast
0 reaction
Kinode OS
@kinode
What can we expect from Dartfrog going forward? While still in active development, there are plans to roll out Dartfrog's own framework and tooling for devs to easily create multiplayer games and social apps. This toolkit will solve issues relating to presence detection, connections, app data persistence and instancing. Exciting! Interested in trying out Dartfrog? Check out our developer docs at https://t.co/noa4ZhEkNl And join us on our Discord: https://discord.gg/guqKRnPup7 Or Telegram: https://t.me/KinodeOS
0 reply
0 recast
0 reaction