HNHacker News
TopNewBestAskShowJobs

thesandlord

1,079 karma · joined October 14, 2014

Cur: Building Mercoa (YC W23)

If you are looking to add Accounts Payable to your B2B product, drop me a line at sandeep at merc○a d○t c○m

Prev: Eng @ Stripe

Founder @ Kbee.app / Simplemnt.com

Developer Advocate @ Google Cloud

https://twitter.com/SandeepDinesh https://medium.com/@SandeepDinesh

[ my public key: https://keybase.io/thesandlord; my proof: https://keybase.io/thesandlord/sigs/f2WVOvjTgL_9f-Z701fGoqiRtlfAavM5RzczPZjZem8 ]

submissionscomments
thesandlord··on Beta release of PHP 7.2 in the Google App Engine standard environment
Gen1 Standard used proprietary GAE APIs that locked you in.

Gen2 Standard (PHP7, Node8, Java8, Python3, etc) uses the standard GCP APIs that you can call from anywhere, including other clouds. It should be relatively straightforward to move from Gen2 Standard to Flex and vice versa.

(I work for GCP)

thesandlord··on Python 3 is now available on App Engine standard environment
Scale to 0, faster scaling up/down (no need for full VM spin up), faster deployments, less surface area for attack (maybe?).
thesandlord··on Python 3 is now available on App Engine standard environment
This should be a little better now: https://cloudplatform.googleblog.com/2018/05/Increase-perfor...

But yeah, you should definitely do your own load testing. GKE or Flex are probably better choices if you need more control.

(I work for GCP)

thesandlord··on Python 3 is now available on App Engine standard environment
AFAIK you can't run a gRPC server on App Engine, but you can access other gRPC services (like all the GCP APIs) as a client. I might be wrong about the server part.

All those things you mentioned in the edit should be supported in the new runtime.

Edit: I see what you mean. The deeply integrated services are removed in favor of more portable solutions, like Logging moving to Stackdriver Logging (though stdout is still logged automatically), Users moving to Firebase Auth, etc. Cron should still work fine though.

(I work for GCP)

thesandlord··on Python 3 is now available on App Engine standard environment
Yup, both should work fine. Let us know if you run into issues.

(I work for GCP)

thesandlord··on As Google Maps Renames Neighborhoods, Residents Fume
Google didn't come up with the name.

https://sf.curbed.com/2017/6/5/15730564/rincon-hill-east-cut...

Rincon Hill is the only name on that list that makes sense. Chinatown is no where near this neighborhood.

thesandlord··on The App Store turns 10
Google Play Music has podcasts, that might be the closest thing.
thesandlord··on Cloud Filestore, high-performance file storage for GCP users
That makes a lot of sense, thanks!
thesandlord··on Cloud Filestore, high-performance file storage for GCP users
Whats the advantage of using NFS instead of just attaching a Persistent Disk to a StatefulSet? Wouldn't that be a lot cheaper?
thesandlord··on GPUs as a service with Kubernetes Engine are now generally available
1) Node.js was just released. Python 3 is in alpha. Definitely check it out! There is a brand new sandbox that allows us to ship new runtimes much faster now.

2) True, but you would need this no matter where you are running right? Also, I think the new sandbox runtimes (Java8, Node.js, Python3) should support Postgres.

3) Leaking data in the logs can happen with any app though? What in particular are you seeing? WRT sandbox, the new sandbox should be a lot more robust as well.

I'd definitely give App Engine another shot, maybe in the near future. We are definitely investing a lot on it, I'm sorry it hasn't felt that way for a while.

(I work for GCP)

thesandlord··on Behind the Scenes with the Dragon Ball Legends GCP Back End
We are launching a Hong Kong region soon: https://cloudplatform.googleblog.com/2017/11/coming-in-2018-...

(I work for GCP)

The GCP network is one of the crown jewels of the platform that a lot of people take for granted. I'd definitely test it out!

thesandlord··on Node.js is now available on App Engine standard environment
The execution and billing model is a bit different.

App Engine is great for full HTTPS servers, and is billed on an instance basis (it does scale to zero when unused)

GCF is great for responding to events in the cloud (Pub/Sub, Storage, webhook, Firebase database) and is billed on a per function execution basis.

The actual runtimes are quite similar, though GCF is still Node 6 based for now.

(I work for GCP)

thesandlord··on Titus, the Netflix container management platform, is now open source
Titus is tightly coupled to AWS, which would make it a non-starter on GCP and Azure
thesandlord··on Kubernetes best practices: upgrading your clusters with zero downtime
Author here. Using Node Pools to upgrade your cluster isn't something that some people are aware is possible. Same with using Regional Clusters to ensure HA (as it just came out of beta). Sure, the rolling update is one-click (or even zero-clicks with automated upgrades) on GKE, but I wanted to let people know there is another method as well.

Check out the other posts in the series[1] if you feel this one is too much like an ad and let me know what you think. Trying to keep the series a good mix of OSS and GKE specific things with the majority being OSS.

[1] https://www.youtube.com/playlist?list=PLIivdWyY5sqL3xfXz5xJv...

thesandlord··on Deploying geographically distributed services on Kubernetes Engine
This is unexpected, I'm assuming both instances are on the same VPC and you are using the internal IP addresses right?

(I work for GCP, would love to know more. My contact details are in my profile if you want to go into details)

thesandlord··on Amazon EKS – Now Generally Available
Agree, really confused why AWS didn't follow Azure and GCP here.

(Disclaimer: I work for GCP, sorry for not making that clear in the parent comment)

thesandlord··on Amazon EKS – Now Generally Available
AFAIK, none of the big three cloud providers (GKE,AKS,EKS) lets you do this.
thesandlord··on Amazon EKS – Now Generally Available
GKE is free for HA as well: https://cloudplatform.googleblog.com/2018/06/Regional-cluste...
thesandlord··on Kubernetes best practices: upgrading your clusters with zero downtime
Blog post author here. This is the only post in the series that is GKE specific, really strange it's the only one that ended up on Hacker News. I actually thought it would be the least popular.

You can see the other six episodes here: https://www.youtube.com/playlist?list=PLIivdWyY5sqL3xfXz5xJv...

thesandlord··on Kubernetes Containerd Integration Goes GA
> Containerd 1.1 works with Kubernetes 1.10 and above

Kubernetes 1.10 just came out on GKE, so I assume it should work today!

https://cloudplatform.googleblog.com/2018/05/Google-Kubernet...

(Note: I haven't personally tried this out. I also work for GCP)

thesandlord··on Regional Persistent Disks on Google Kubernetes Engine
> Latency is probably the real issue though

Reads should be just as fast as zonal disks.

From the docs:

A write is acknowledged back to a VM only when it is durably persisted in both replicas. If one of the replicas is unavailable, Compute Engine only writes to the healthy replica. When the unhealthy replica is back up (as detected by Compute Engine), then it is transparently brought in sync with the healthy replica and the fully synchronous mode of operation resumes. This operation is transparent to a VM.

Regional persistent disks are designed for workloads that require a lower Recovery Point Objective (RPO) and Recovery Time Objective (RTO) compared to using persistent disk snapshots.

Regional persistent disks are an option when write performance is less critical than data redundancy across multiple zones.

(I work for GCP)

thesandlord··on $36k Google App Engine RCE
GCP Developer Advocate here:

The Java 8, Node.js (just announced at I/O) and GCF environments use a new sandbox that should allow you to run any binary. Of course there are limits, and you have to pay to run things on App Engine past the free tier, but most things should run just fine.

The older GAE sandboxes didn't let you do this (and had a ton of other limitations as well)

thesandlord··on You can now run Linux apps on Chrome OS
Yes, you can run Docker.

Source: I've been testing Crostini for a while now, and Docker works great!

thesandlord··on Why undertakers are worried
Never used? Like if you somehow gain immortality or something (which is totally plausible)? I feel in that case money is the least of your problems.

(apologies if I misunderstood the question)

thesandlord··on Google Cloud Text-To-Speech Powered by DeepMind WaveNet Technology
Update: Should be fixed now!
thesandlord··on Google Cloud Text-To-Speech Powered by DeepMind WaveNet Technology
GCP person here. We are aware and are working on a fix!

(Should be as "simple" as a polyfill for webcomponents, but I don't want to put words in the team's mouth)

thesandlord··on Google Cloud Text-To-Speech Powered by DeepMind WaveNet Technology
The demo might only work in Chrome, but the API is just a standard REST API. Most people will be using this API on the server side to generate an MP3 which is streamed to the user.

Chrome actually has its own TTS engine (as does FF, Safari, etc), though the quality obviously isn't as good.

https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynth...

(I work for GCP)

thesandlord··on CockroachDB Interactive, D3-Powered Simulations
Strong Consistency: https://www.cockroachlabs.com/docs/stable/strong-consistency...
thesandlord··on Google Cloud: GPUs in Kubernetes Engine Now Available in Beta
For the same reason you would use a container orchestration system for running anything: easier deployments, scaling, reliability, etc.
thesandlord··on What I learned from watching my iPad's slow death
Look for bottom of the barrel and off brand TVs.

https://www.walmart.com/ip/Sceptre-55-Class-4K-2160P-LED-TV-...

They still exist, but are getting harder to find.

← PreviousPage 5 of 9Next →