1,420 karma · joined February 5, 2012
Even if practically that number is much lower (around 100 per batch), the cost ends up becoming around $3,000 for the messages and $9,000 for the network, so roughly $12,000 per month.
"Pub/Sub passed the test with flying colours. We published 2M messages without any service degradation and received almost no server errors from the Pub/Sub backend. Enabling batching and compression on the Event Service machines resulted in ~1Gbps of network traffic towards Pub/Sub."
The blog post says "We also added queuing and batching in the client. (This wasn’t first time that we needed to roll our sleeves up and reimplement a Google Cloud API client: in another project we implemented a high performance client for the Datastore API.)"
Edit : https://www.youtube.com/playlist?list=PL700757A5D4B3F368
Edit : https://www.hackerrank.com/tests/gfmhcts2 seems to be the actual link, but when I try logging in, the error message says that my credentials are invalid.
Any citations for this?
The really high valuation of Facebook is partly because investors expect it to grow substantially, at least in the short term. The fact that it's growth is lower than that of it's direct competitors (who have a much lower P/E) is not a good sign for the stock in days to come.
(Edit : Google's Y/Y revenue growth was 35% and Facebook's 32%. In contrast, Google's market cap is about two times that of $FB)