91 karma · joined Dec 16, 2014 (11y ago) · 23 submissions
comment 7y ago · link · parent
In general, a distributed database can be really fast. DynamoDB claim to be 3ms (AWS reinvent 2014). The current technology can probably achieve close to 1ms, which is equivalent to memcache. With such performance, you don't really need local storage.
You can get much faster IO if you use many local SSDs. The downside is utilization. It is very rare a single machine has a workload that fully utilize local disk. You end up over provision greatly fleet-wise to get high performance. A managed database over a network is more likely to utilize disk/SSD throughput.
comment 7y ago · link · parent
On the other hand, a single machine has limited reliability. If one wants to have high availability, they needs to dual write to another machine, which also has network latency.
comment 7y ago · link · parent
Within a zone or a cluster, the latency is about 1ms, which is faster than most hard disks. The network bandwidth is on par with disk throughput. What we really need is a faster database and a faster object storage that can match the network performance (1ms and 10Gbps), then all workloads can be stateless.
If one uses a VM on GCP, the VM has no local storage besides the small local SSDs. Practically even the VM is stateless besides some cache.
comment 7y ago · link · parent
comment 8y ago · link · parent
Disclosure: I worked on this feature at Google.
9.
1 points · by wora · 9y ago · discuss
comment 11y ago · link · parent
comment 11y ago · link · parent
PS: I was the co-author of it.
12.
Google Cloud Platform Auth Guide(cloud.google.com ↗)
1 points · by wora · 11y ago · discuss
comment 11y ago · link · parent
comment 11y ago · link · parent
comment 11y ago · link · parent
[1] https://github.com/berkus/Juice/blob/master/intro.htm [2] ftp://ftp.cis.upenn.edu/pub/cis700/public_html/papers/Franz97b.pdf
comment 11y ago · link · parent
comment 11y ago · link · parent
comment 11y ago · link · parent
Another critical mistake python 3 made was unicode support. For people who work deeply in i18n support, UTF-8 encoding is the only practical solution. Python 3 string should use UTF-8 much like Go. Just for reference, Google stores almost all data as protobuf, which only support UTF-8. That proves the story.
23.
Google APIs Repository on GitHub(github.com ↗)
64 points · by wora · 11y ago · 13 comments