Re:Insanely simple Cloud-based replacement for statsd + grap...
by spolu on Wednesday July 18, 2012 @07:54PM
(#4263631)
Since we are cloud-based, our servers are remote to our customers'... and since there's no UDP availability over WAN... Then we had to find a solution to make it work nicely with HTTP. Does it make sense?
[ Parent
| on HN ]
Re:Insanely simple Cloud-based replacement for statsd + grap...
by theatrus2 on Wednesday July 18, 2012 @07:59PM
(#4263652)
Since when does UDP not work over a WAN/the internet?
Re:Insanely simple Cloud-based replacement for statsd + grap...
by spolu on Wednesday July 18, 2012 @08:07PM
(#4263680)
Definitely talked too fast! You're right, it definitely works. It's a little bit shadier on WAN but the main reason for the pre-aggregation is that the fire+forget behavior is much harder to scale as a service and would wastefully cost a lot of WAN bandwidth.
Once you have a pre-aggregation and only periodic updates... UDP does not make sense anymore.
HTTP also good for browser clients which could make sense.