News for hackers. Stuff that matters.
Re:Google Cloud Is Having IO Issues in US-EAST1 by teovall on Saturday December 07, 2019 @02:43PM (#21732151)
This outage is affecting Discord.

https://status.discordapp.com/

Re:Google Cloud Is Having IO Issues in US-EAST1 by seriesf on Saturday December 07, 2019 @04:35PM (#21732724)
Being taken down by slow IO in a single cloud zone seems to implicated their overall architecture.
Re:Google Cloud Is Having IO Issues in US-EAST1 by jrockway on Saturday December 07, 2019 @05:29PM (#21732995)
Looking at their job postings, they use Cassandra and Elasticsearch, so I am somewhat surprised that they didn't survive this outage. (I have not ever run Cassandra at scale, but their website says in the first paragraph that it's designed to handle regional failures.)

If I were on GCP and had paying customers, I would use Cloud Spanner. It's expensive, but it's a good piece of technology.

Re:Google Cloud Is Having IO Issues in US-EAST1 by seriesf on Saturday December 07, 2019 @05:54PM (#21733147)
The gift of Spanner is it’s always slow, so if you start there you will naturally gain experience in either hiding latency or relaxing consistency requirements, which are both good skills.
Re:Google Cloud Is Having IO Issues in US-EAST1 by vl on Sunday December 08, 2019 @01:56PM (#21737482)
Spanner is pretty fast, but as with any database you have to use it correctly to get the speed. Since it’s a non-standard database, it requires non-standard tricks and skills.
Re:Google Cloud Is Having IO Issues in US-EAST1 by jrockway on Monday December 09, 2019 @05:05AM (#21741505)
No, that's about right. You get one write per second per entity or something like that and that's as fast as it goes.

The key is to choose your entity wiseley. I wrote an app inside Google that did on the order of 10,000 writes per second and it was no problem; each entity group only showed up once every minute or so.

Re:Google Cloud Is Having IO Issues in US-EAST1 by vl on Monday December 09, 2019 @04:38PM (#21746897)
AFAIR, entity group is a Megastore concept. Megastore is ill-conceived predecessor of Spanner, are you confusing them? Spanner is much faster than 1 transaction per tablet.
Re:Google Cloud Is Having IO Issues in US-EAST1 by psanford on Sunday December 08, 2019 @06:17PM (#21739150)
I have run Cassandra in production. A replication factor 3 cluster over 3 AZs should be able to survive loss of a single AZ.

However, it has been my personal experience that Cassandra handles instances going down much better than it handles instances getting very slow but staying online. In that case Cassandra will work extra hard to just spin its wheels. If you know that is what is happening you can be better off manually bringing those nodes offline.

Re:Google Cloud Is Having IO Issues in US-EAST1 by sieabahlpark on Saturday December 07, 2019 @05:41PM (#21733071)
Most startup companies worry about building out features than building out reliable infrastructure. Almost always an after thought
Re:Google Cloud Is Having IO Issues in US-EAST1 by bpye on Saturday December 07, 2019 @02:54PM (#21732210)
Discord seems to be preventing new connections.
Re:Google Cloud Is Having IO Issues in US-EAST1 by scottmf on Saturday December 07, 2019 @04:11PM (#21732585)
We use Discord as an interface for moderating our app and monitoring spam/reported content so this kinda sucks. Not super important though.
[dead]
Re:Google Cloud Is Having IO Issues in US-EAST1 by RugnirViking on Saturday December 07, 2019 @03:00PM (#21732246)
And why would that be? Are they a particular problem customer for google?
Re:Google Cloud Is Having IO Issues in US-EAST1 by soup10 on Saturday December 07, 2019 @03:11PM (#21732291)
...
Re:Google Cloud Is Having IO Issues in US-EAST1 by npo9 on Saturday December 07, 2019 @03:19PM (#21732339)
Discord has millions of users. Less than 1000 people are probably bothered at Google to fix the problem.

My sympathies lie with Discord users. I’m sure it’s ruining a lot more weekend plans with them.

I’ve both a discord user and someone that has spent years in an on-call rotation that included nights and weekends.

Re:Google Cloud Is Having IO Issues in US-EAST1 by kzrdude on Saturday December 07, 2019 @03:14PM (#21732304)
and discord's 3rd party client policy is not doing them any favours
Re:Google Cloud Is Having IO Issues in US-EAST1 by GhettoMaestro on Saturday December 07, 2019 @03:14PM (#21732308)
Annoyed at being on call: How dare they do their expected responsibilities in exchange for pay. The nerve of them.
Re:Google Cloud Is Having IO Issues in US-EAST1 by p1necone on Saturday December 07, 2019 @03:58PM (#21732501)
It's very possible they're not "officially" on call and don't get any extra pay for having to work in the weekend. Just because that's the current expectation of a lot of salaried workers doesn't mean it's right.
[dead]
Re:Google Cloud Is Having IO Issues in US-EAST1 by npo9 on Saturday December 07, 2019 @03:09PM (#21732278)
This type of outage happens with all of the cloud providers from time to time.
Re:Google Cloud Is Having IO Issues in US-EAST1 by scarface74 on Saturday December 07, 2019 @03:20PM (#21732340)
Yes. Technically it happens to all companies but politically it’s a lot different.

If you tell your customers that you have an outage because AWS is down, they will shrug and say, things happen. You are in the same boat with a lot of other people, you will no more get blamed for AWS being down than if the whole city lost power. No one ever got fired for choosing AWS.

If you’re on Azure, you might get a funny look from people who only know about AWS, but since it is Microsoft Azure you will get a pass.

But people will judge you for choosing GCP. Any little thing that goes wrong, they will be questioning why you didn’t choose AWS.

Re:Google Cloud Is Having IO Issues in US-EAST1 by xerox13ster on Saturday December 07, 2019 @03:36PM (#21732396)
Not gonna lie, one of the first things I said to my friends is why is discord using Google, it should be AWS.
Re:Google Cloud Is Having IO Issues in US-EAST1 by Fellshard on Saturday December 07, 2019 @03:56PM (#21732488)
The categories of errors - and Google's ability to recognize and respond to those errors in rapid form - has always seemed extraordinarily slow and reticent compared to AWS. It's one of the concerns I'd have when recommending it.
Re:Google Cloud Is Having IO Issues in US-EAST1 by VolatileVoid on Saturday December 07, 2019 @03:54PM (#21732482)
Is it just me or are Discord's status updates legendarily bad to the point of being entirely useless? As a user of the discord app, don't tell me the "API is having issues." Just tell me, "Discord is currently down. We are working on it and apologise for the disruption." Everything else is unnecessary line noise.
Re:Google Cloud Is Having IO Issues in US-EAST1 by Fabricio20 on Saturday December 07, 2019 @03:58PM (#21732495)
The Discordapp status page is written to by developers, and as a developer I really like the insights as to what is going on. As a user, I expect you to just look at it and see it's "Having Issues, We are working on it".
Re:Google Cloud Is Having IO Issues in US-EAST1 by p1necone on Saturday December 07, 2019 @03:57PM (#21732491)
Mentioning the cause of the issue seems better than just "shits broke yo" to me.
Re:Google Cloud Is Having IO Issues in US-EAST1 by VolatileVoid on Saturday December 07, 2019 @03:58PM (#21732500)
Really? What in their status update read to you as "the problem is on our side, not yours"? Understand that I'm a programmer and couldn't figure that out.
Re:Google Cloud Is Having IO Issues in US-EAST1 by Operyl on Saturday December 07, 2019 @04:01PM (#21732523)
Because if it was a problem on your end, it wouldn't be listed on their status page....?
Re:Google Cloud Is Having IO Issues in US-EAST1 by aquova on Saturday December 07, 2019 @04:04PM (#21732545)
"Google's Engineering team continues to work on mitigating the issue"

I think that's pretty clear where the issue lies

Re:Google Cloud Is Having IO Issues in US-EAST1 by hn_throwaway_99 on Saturday December 07, 2019 @04:18PM (#21732618)
I am in general a big fan of GCP, especially for startups. In many cases I find I can be productive faster in GCP compared to AWS, in the sense that it's easier to do "wrong" things in AWS if you don't have a top notch devops person.

That said, it seems like GCP has a real, significant problem with overall reliability. While I don't have numbers to compare, seems like I see frequent outage notifications on HN for GCP. They really need to focus more on reliability than new features.

Re:Google Cloud Is Having IO Issues in US-EAST1 by ljhsiung on Saturday December 07, 2019 @05:30PM (#21733008)
In case you're curious, here's some logs about their status https://status.cloud.google.com/summary

Looking at Cloud Compute, the one responsible for the outage today and I think the big one a few months ago (13 hours!!!), they still do achieve 99% uptime (having been down 81 hours total this year).

While 99% uptime "sounds" great, this is paltry in comparison to AWS, which has set the standard for 99.99% (also known as "4 9s") in reliability, translating to about an hour of downtime per year.

Just gives you some more perspective and concrete numbers. Perhaps one of the reasons you find GCP "faster" is due to more devotion of resources to "speed" over "reliability".

Re:Google Cloud Is Having IO Issues in US-EAST1 by lostmyoldone on Saturday December 07, 2019 @08:51PM (#21733908)
Where is AWS logs for all service outages, partial or not?

Can't seem to find them, only "selected" outages. The recent, several hours long, service degradation in Frankfurt EC2 isn't in the historical list, seems like it is only in the rolling status history?

AWS and GCloud seem to also be reporting disruptions completely differently, AWS reports on tons of smaller pieces which makes any "aggregate" uptime become something completely different than if you report on larger aggregates as GCloud seems to do.

Unless I'm missing something, I don't see how one could compare comparing service availability reasonably without running large numbers of "canary" instances on both providers to actually measure aggregate availability?

Re:Google Cloud Is Having IO Issues in US-EAST1 by jordanthoms on Saturday December 07, 2019 @11:35PM (#21734360)
I don't think you can judge uptime for either AWS or GCP from the status pages, both of them are slow to update their pages when issues start and plenty of less major issues (which could still bring down a individual customer) never make the status page at all.
Re:Google Cloud Is Having IO Issues in US-EAST1 by RKearney on Saturday December 07, 2019 @04:30PM (#21732684)
> I am in general a big fan of GCP, especially for startups.

The major disagreement here from me on this is that GCP does not support IPv6 (outside of IPv6 termination on load balancers) and I do not agree with startups launching without IPv6 support in 2019.

Re:Google Cloud Is Having IO Issues in US-EAST1 by eloff on Saturday December 07, 2019 @04:38PM (#21732736)
I agree it's important, but it doesn't really bother me since I'll put Cloudflare and or a network load balancer in front of anything external facing anyway. Internal things being ipv4 is fine. Other benefits aside you halve your bandwidth bill by putting Cloudflare in front.
Re:Google Cloud Is Having IO Issues in US-EAST1 by GhettoMaestro on Saturday December 07, 2019 @04:34PM (#21732715)
As a network person thank you for bootstrapping IPv6 where you can. Most folks still don’t care :-(.
Re:Google Cloud Is Having IO Issues in US-EAST1 by blaisio on Sunday December 08, 2019 @05:27AM (#21735225)
I agree that they seem to have problems more frequently than AWS. I've been told it is frequently due to their network, which is incredibly advanced and efficient but also incredibly complex and therefore more easily broken.
Re:Google Cloud Is Having IO Issues in US-EAST1 by mostlystatic on Saturday December 07, 2019 @02:46PM (#21732175)
Cloud SQL has been down for me for 45 minutes now. The status page still doesn't say, but it says this in the Known Issues for technical support:

"We are experiencing an issue with Cloud SQL instances hosted in the us-east1 region, beginning at Saturday, 2019-12-07 10:00 US/Pacific. Symptoms: Some Cloud SQL instances hosted in this region are becoming unavailable, and are refusing connections. Self-diagnosis: Connections to the Cloud SQL instance are rejected. Workaround: None at this time Our engineering team continues to investigate the issue. We will provide an update by Saturday, 2019-12-07 12:04 US/Pacific with current details."

Re:Google Cloud Is Having IO Issues in US-EAST1 by synack on Saturday December 07, 2019 @04:33PM (#21732707)
The most recent update indicates that this outage is only affecting a single availability zone. https://groups.google.com/forum/m/#!msg/gce-operations/oYoFJ...
Re:Google Cloud Is Having IO Issues in US-EAST1 by Illniyar on Saturday December 07, 2019 @03:10PM (#21732288)
Well here goes the 4 nines.
Re:Google Cloud Is Having IO Issues in US-EAST1 by microcolonel on Saturday December 07, 2019 @03:14PM (#21732307)
No worries, that's what the other datacenters are for. :- )
Re:Google Cloud Is Having IO Issues in US-EAST1 by exabrial on Saturday December 07, 2019 @03:22PM (#21732346)
Interesting, do they use a SAN or is it local storage?
Re:Google Cloud Is Having IO Issues in US-EAST1 by ithkuil on Saturday December 07, 2019 @03:33PM (#21732387)
Google Cloud Persistent Disks are implemented on a kind of Storage Area Network (AFAIK it's based on IP networking, IIRC it's iSCSI over Colossus /D, not on fiberchannel or other off the shelf SAN tech)
Re:Google Cloud Is Having IO Issues in US-EAST1 by vl on Sunday December 08, 2019 @02:13PM (#21737588)
It’s a custom log-based block device implemented on top of Colossus/D. As such it connects to storage nodes using regular data center network. This is why (in some cases) both IO and network-intensive workload may compete for the same bandwidth on the host.
Re:Google Cloud Is Having IO Issues in US-EAST1 by joatmon-snoo on Saturday December 07, 2019 @11:05PM (#21734269)
It's not iSCSI (at least I don't think so).

The closest thing to public literature about Colossus and D that we've ever published is the Procella paper, which describes the abstractions that Colossus provides for it. In some ways it's similar to GFS (RPC interface, writes are generally append/overwrite) but many things are completely different now.

Re:Google Cloud Is Having IO Issues in US-EAST1 by ithkuil on Sunday December 08, 2019 @04:20AM (#21735046)
Yeah, that's what Colossus is, but t it's not (was not?) suitable to directly implement a block store such as a (remote) disk.

You need something that provides the block store abstraction on top of the primitives exposed by Colossus/D. Think of something like what modern SSD do in order to work efficiently with the underlying flash memory.

Then you have to hook that adapter in your virtualization stack (e.g. kvm) so you can boot from the volume and mount it from inside the VM. You could implement a kernel module or do it internally in kvm/qemu somehow, but iSCSI provides a straight-forward way to implement this in user-space: you have a process on your physical machine that speaks iSCSI upstream, and speaks Colossus/D RPC downstream.

(I don't know if they still do this but I have a vague memory of somebody describing the stack of an early version of GCP while I was working there long time ago)

Re:Google Cloud Is Having IO Issues in US-EAST1 by vl on Sunday December 08, 2019 @02:45PM (#21737799)
It’s a custom log-based block device implemented on top of Colossus/D in the user-mode lib in the virtualizer (Vanadium). Guest OS communicates using NVMe or VirtIO, Vanadium intercepts, calls PD lib.

This design has only one hop to the storage node. Low-latency workloads benefit from this design, high-bandwidth workloads sometimes actually benefit from off-loading PD to another host. To do iSCSI with one hop, you need to implement iSCSI interceptor, and basically you would have same design with less flexibility for guest OSes.

The irony, of course, that all this is a lot of legacy technologies needlessly wasting computer power: guest file-system trying to communicate with 4K blocks with “block device”, which goes through multiple layers of queues, then is re-maps to another abstraction, which goes over network to multiple hosts, etc. Not a single cloud customer ever said “we are so excited to manage volume sizes and bandwidth quotas for PD”. Better design would be to implement true data center-level filesystem to better support container workloads and leave PD for legacy cases, but Google’s storage management is so detached from reality, that it’s impossible to do cross-organizational project like this.

Re:Google Cloud Is Having IO Issues in US-EAST1 by ithkuil on Sunday December 08, 2019 @02:56PM (#21737877)
What do you mean by "true data center level"? A FS with posix semantics suitable for normal apps doing file IO or something else?
Re:Google Cloud Is Having IO Issues in US-EAST1 by vl on Sunday December 08, 2019 @04:02PM (#21738290)
I would break it down like this: 1) FS-core: provide FS-like semantics on top of D (or Colossus/D). Apart from data format and GC challenges, the piece that is missing is fast DC-level locking service.

2) Then, for VMs you can do FS driver, jump to VMM and booms, you are done, multiple legacy levels of re-packing and redirection are gone. For shared access cases you do NFS/Samba interceptor and then same code path as above.

This system would be highly beneficial not only for Cloud, but for other Google properties as well: it would provide normal posix FS to Borg jobs. Amounts of equilibristics required to use any open-source package is enormous and by this time exceeded costs of developing FS multiple times, ask YouTube, MySQL, package management, etc groups.

Another example of Google’s storage craziness is cross-dc storage. This should be low-level Colossus responsibility. Instead godzillion of teams implement their own, GCS, PD, Spanner, Placer, etc. Crazy.

Re:Google Cloud Is Having IO Issues in US-EAST1 by joatmon-snoo on Monday December 09, 2019 @08:34AM (#21742453)
Haha, yeah, I do wonder about the insanity on a pretty regular basis :)

I will say though, that most of the time I don't want to use open source stuff. Observability is pretty crap, I don't want nor need software that uses write() without fsync(), and the assumptions that most OSS makes about FSs gives me nightmares on Borg.

Re:Google Cloud Is Having IO Issues in US-EAST1 by vl on Sunday December 08, 2019 @02:19PM (#21737637)
PD is in the patent, so it should be publicly available.
Re:Google Cloud Is Having IO Issues in US-EAST1 by ikiris on Saturday December 07, 2019 @04:40PM (#21732749)
Honestly, I'd describe it closer to BFM: black fucking magic.

Some stacks are mostly normal, some are really odd... and then there's storage.

Re:Google Cloud Is Having IO Issues in US-EAST1 by tyingq on Saturday December 07, 2019 @03:32PM (#21732383)
They offer both: https://cloud.google.com/compute/docs/disks/

Discord's description of the issue sounds like issues with either zonal or regional SAN storage.

Re:Google Cloud Is Having IO Issues in US-EAST1 by Jasper_ on Saturday December 07, 2019 @03:15PM (#21732321)
The beauty of distributed systems is that you spread your services across lots of different computers, so that when one of them goes down, they all go down.
Re:Google Cloud Is Having IO Issues in US-EAST1 by erik_seaberg on Saturday December 07, 2019 @03:37PM (#21732399)
“A distributed system is the one that prevents you from working because of the failure of a machine that you had never heard of.”
Re:Google Cloud Is Having IO Issues in US-EAST1 by itronitron on Saturday December 07, 2019 @04:06PM (#21732557)
and typically that machine is the authentication server
Re:Google Cloud Is Having IO Issues in US-EAST1 by Terretta on Saturday December 07, 2019 @04:42PM (#21732758)
Joking aside, more typically the server you never heard of will be something in the CSP’s control plane.

But that’s just a distraction. We hear about those outages once in a blue moon, because many rely on them. What we don’t hear about is that any given colo, managed service, or CSP customer’s apps go down on their own, all the time, not because of the colo or CSP.

Such outages are banal, so we forget how much more likely they are, and fail to risk-weight our engineering efforts accordingly.

Re:Google Cloud Is Having IO Issues in US-EAST1 by BlueTemplar on Saturday December 07, 2019 @06:02PM (#21733196)
It's not really distributed if there's a single point of failure?
Re:Google Cloud Is Having IO Issues in US-EAST1 by erik_seaberg on Sunday December 08, 2019 @03:30PM (#21738090)
Redundancy isn't the only reason to make a system distributed. There's also latency, cost to scale, and federated management. DNS is very distributed but redundancy is opt-in.

Many distributed systems try to be reliable by retrying failed nodes' work, but designs aren't always sound.

Re:Google Cloud Is Having IO Issues in US-EAST1 by eyjafjallajokul on Saturday December 07, 2019 @03:46PM (#21732444)
Not sure what you mean here. Would a similarly architected non-distributed system have higher levels of availability?
Re:Google Cloud Is Having IO Issues in US-EAST1 by xvector on Saturday December 07, 2019 @04:02PM (#21732534)
He was joking :) a buggy or poorly designed distributed system might behave more like a house of cards than independent silos
Re:Google Cloud Is Having IO Issues in US-EAST1 by WilliamEdward on Saturday December 07, 2019 @03:48PM (#21732457)
I think they're being sarcastic? The idea with a distributed system is if one part goes down it can still mostly function, which google have managed to fail at somehow.
Re:Google Cloud Is Having IO Issues in US-EAST1 by Animats on Saturday December 07, 2019 @03:44PM (#21732437)
Is this the beginning of Google's wind-down of "cloud services", as part of the de-emphasis of Alphabet and the refocus on the core ad business?
Re:Google Cloud Is Having IO Issues in US-EAST1 by ilogik on Saturday December 07, 2019 @03:57PM (#21732492)
yes, they're moving out of a profitable business where they have a lot of knowledge about.

and they start this move with an outage during the busiest time of the year

why not?

Re:Google Cloud Is Having IO Issues in US-EAST1 by leesalminen on Saturday December 07, 2019 @04:30PM (#21732687)
> yes, they're moving out of a profitable business where they have a lot of knowledge about.

Rackspace is trying to get out of the public cloud game. We had $20k/mo account with them and the rep called me every month asking if we wanted their help (professional services) migrating to AWS. I was baffled but they admitted they don’t want to be in the Cloud game anymore and wanted to get customers off their platform.

Re:Google Cloud Is Having IO Issues in US-EAST1 by kick on Saturday December 07, 2019 @05:31PM (#21733011)
The notification on their website is interesting:

Rackspace announced that it has completed the acquisition of Onica, an Amazon Web Services (AWS) Partner Network (APN) Premier Consulting Partner and AWS Managed Service Provider.

Re:Google Cloud Is Having IO Issues in US-EAST1 by pm90 on Saturday December 07, 2019 @04:59PM (#21732842)
The reason they’re moving out is because the cloud business is not profitable for Rackspace.
Re:Google Cloud Is Having IO Issues in US-EAST1 by Animats on Saturday December 07, 2019 @04:20PM (#21732630)
My point here is that, while this is a big issue for Google Cloud customers, it's not a big deal for Google. Worst case for Google is they issue a credit for more Google Cloud services, not to exceed half the monthly payment.[1] Google Cloud is, what, 3% of volume? AWS is Amazon's big profit center, but for Google, it's not as important. Nothing to bring in top management for on a weekend.

Now if ad revenue collection went down...

[1] https://cloud.google.com/compute/sla

Re:Google Cloud Is Having IO Issues in US-EAST1 by heybrendan on Saturday December 07, 2019 @04:07PM (#21732560)
Respectfully Mr. Nagle, I expect more intelligent {commentary,questioning} from you, especially given your breadth of experience and background.

A mere infrastructure issue, that occurs with all providers from time to time, would hardly constitute a service "wind-down". Based on a very cursory review, GCP's official deprecation policy [1] doesn't seem all that dissimilar from everyone else.

In short, to answer your question: No.

[1] https://cloud.google.com/terms/deprecation