[HN Gopher] Show HN: A UDP to TCP proxy server for sending HTTP ...
       ___________________________________________________________________
        
       Show HN: A UDP to TCP proxy server for sending HTTP requests with
       zero latency
        
       Author : timetoogo
       Score  : 27 points
       Date   : 2020-04-02 13:23 UTC (9 hours ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | thecodrr wrote:
       | WOW. This is such a fascinating project. (near) zero latencies
       | are relatively hard to achieve especially over network
       | connections. Will definitely try this out once I get the time. Oh
       | and thanks for the various pre-built client libraries, will
       | definitely come in useful.
        
         | vvanders wrote:
         | Using the term "zero" is not the best choice. UDP packets have
         | the same latency as TCP packets, you're just saving the
         | handshake.
         | 
         | Games and VoIP still have latency, they're usually structured
         | such the data loss and duplicate responses are normal and
         | handled appropriately.
        
       | huhtenberg wrote:
       | Good stuff. Could use some asserts and checks for NULL here and
       | there, but overall it's a nicely organized C code (and with
       | proper bracing and indentation style :)). Always a pleasure to
       | read through something like this.
        
         | edoo wrote:
         | Actually it has the wrong indentation style. Should be tabs
         | left spaces right. I run tab width of 3 in my editors. To each
         | their own, if you use tabs left of course.
        
           | saagarjha wrote:
           | > I run tab width of 3 in my editors.
           | 
           | That's certainly a strange choice, but you do you I guess...
        
       | fitzn wrote:
       | I read the README. It certainly makes some trade-offs! :) Sounds
       | like it was a fun exercise.
        
       | nickphx wrote:
       | Impressive work, thanks for sharing.
        
       | jaimex2 wrote:
       | Finding a use case for this would be tricky...
       | 
       | Quic already does this end to end.
       | 
       | The only use case I can think of might be gaming. If you had a
       | HTTP/Websockets based game you wanted to cut latency down on you
       | could have the FF proxy hosted near the game server.
        
       | sneak wrote:
       | I am reminded of statsd. I like this, though, as it generalizes
       | more. Cool hack!
       | 
       | I wonder if it would be worth making this embeddable into an
       | existing web framework for Python or Go, so that the existing
       | service could receive UDP requests. Then again, that's what 0RTT
       | is for so it might be a little wheel-reinventy.
        
       ___________________________________________________________________
       (page generated 2020-04-02 23:00 UTC)