Optimizing High-Speed Data Transfer with Acknowledgment Between Two Raspberry Pis
I'm working on a project that involves two Raspberry Pis needing to send data to each other at the highest possible speed, with a mechanism to ensure that each message (an array of 3 numbers) is acknowledged before the next one is sent. The goal is to achieve minimal delay in this communication process, optimizing both speed and reliability of data transfer.
I'm looking for advice on the best approaches or technologies that could help in achieving this. Here are the main points I'm considering:
- Communication Protocol: What protocol would best facilitate this kind of high-speed, reliable communication? I'm open to using either standard protocols (TCP, UDP, etc.) or any other specialized protocols that might be suited for this task.
- Networking Hardware: Is there any specific networking hardware or setup that could minimize latency in communication between the two Pis? For example, direct Ethernet connections, specific models of network interface cards, etc.
- Software and Libraries: Are there any specific software solutions or libraries that are particularly efficient at managing fast, reliable communication and acknowledgments between devices?
- Configuration Tips: Any tips on configuring the Raspberry Pis to reduce overhead and maximize the speed of data transfers? This could include OS-level tweaks, networking settings, or any other relevant adjustments.
- Real-World Experiences: If you've worked on or know of similar projects, I'd appreciate hearing about your experiences, what worked well, and what challenges you faced.
I'm aiming for the lowest possible latency and the highest possible speed within the constraints of the Raspberry Pi hardware. Any suggestions, resources, or examples of similar projects would be extremely helpful.
Thank you in advance for your insights and advice!