Lead: Hey, so I came up with a scheme to add packets to the queue every frame but the queue is getting full!
Me: So... what's the issue here exactly?
Lead: Why is the queue getting full if I'm adding only one packet a frame? It sends a packet every frame!
Me: Packet loss?
Lead: [Doesn't get it]
Me: So if there's packet loss, it won't get an ack and it'll try to resend the packet. If there is a lot of packet loss, the queue will be full.
Lead: So I should put a cooldown on adding packets to the queue?
Me: No, that would only defer the problem.
Lead: Why?
Me: ... Why don't you just add the additional packets after the messages are acknowledged and you know the queue is no longer full?
Lead: Won't a cooldown be better?
Wednesday, March 25, 2009
Queues II: Electric Boogaloo
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment