Better HN
topnewbestaskshowjobs
Log inSign up

welkie

16 karma · joined Sep 3, 2019 (7y ago) · 19 submissions

Submissions

comment 4y ago · link · parent

That's cool. When I envision banks, I see stuffy suits and offices, getting stuck waiting months to work on something because of beaurocracy, etc. Maybe I'm listening too much to stereotypes.

Can you give any examples of tech stack decisions? Like rejected x in favor of y? (Within reason, I get that you can't divulge company info)

comment 4y ago · link · parent

How about B2 combined with Cloudflare? Egress from B2 to Cloudflare is free and egress from Cloudflare to the internet is free for their free plan, and perhaps competitive on their not free plan?

comment 5y ago · link · parent

Yeah... I'm not really sure where this idea of not being able to use the tools available out of the box to deploy apps and do networking comes from. I deploy YAML. If I feel like my YAML is too big, I DRY it using kustomize. I can use --prune if I'm worried about stuff sticking around in the cluster. For networking, I... don't do anything? We get DNS built in. Just use the service name. What else is there to do?

4.

Enabling Seamless Kafka Async Queuing with Consumer Proxy(ubr.to ↗)

1 points · by welkie · 5y ago · discuss

comment 5y ago · link · parent

That sounds neat. I feel like I'd take that offer. 4x8hr for 80% of my current salary. I guess we'd just have to make sure the rest of the company can be productive during the 5th work day if their teams aren't doing it. Can't be blocking their work etc.

comment 5y ago · link · parent

Somehow, it's gotten me promotions and raises. I feel like I'm lucky and should stick around.

comment 5y ago · link · parent

Apparently they used to be quite different problems, but with today's focus on "performance per watt-hr" as the most important metric, they've merged together. GCP's new AMD CPUs are popular because they're x86 but do more per watt. And all the big cloud platforms are looking into ARM64 chips for the same reason. Arm architecture is crucial in phones. Voila.

comment 5y ago · link · parent

sighs Time to buckle down and learn how to make non-trivial things with Python. I was putting this off as long as I could.

comment 5y ago · link · parent

If I recall correctly, GAE is an example of something they made specifically to be a cloud product. Products like Compute Engine, GCS, Bigtable, and Pub/Sub are things developed internally and then sold publicly once they realized others might find them useful. Perhaps the products developed first for internal use weren't developed with features like measuring billing usage in real time in mind.

comment 5y ago · link · parent

> Based on this experience, we decided to lower the default value of "max instances" to 100 for future deployments. We believe 100 is a better trade off between allowing customers to scale out and preventing big billing surprises.

This is good to hear. I use Cloud Run a lot for personal projects and I always set concurrency to 80, max instances to 1, memory to 128Mi (unless it's something beefy that needs the memory), and CPU to 1. If I need to scale it up, or I decide to open it up to actual usage, I'll do it when I recognize the need.

comment 5y ago · link · parent

> It would mean a catastrophic interruption to the customers application exactly when its the most popular/active. And theres no practical way to determine whether the customer is “trying it out” or running a key part of their business on any particular resource.

This could be ameliorated by using namespacing techniques to separate prod from dev resources. For example, GCP uses projects to namespace your resources. And you can delete everything in a project in one operation that is impossible to fail by just shutting down the project (no "you can't delete x, because y references it" messages).

Aggressive billing alerts and events, that delete services when thresholds are met, could be used only in the development namespace. That way, fun little projects can be shut down and prod traffic can be free to use a bit more billing when it needs to.

comment 5y ago · link · parent

That's not a bad idea. You could set it up to delete all Lambdas (assuming you've got a CI/CD system capable of redeploying them quickly later) if the billing goes over. Of course, this may hurt you more because of the outage it would cause. Up to you really.

comment 5y ago · link · parent

This is a reasonable way of achieving the balance needed. My company would freak out if we had even a short outage that affected all our customers because we set a billing quota too low. And I'd feel a lot more comfortable experimenting with serverless on my own projects if I knew Google would have my back if I made one of those once-in-a-year mistakes.

comment 6y ago · link · parent

Appreciate the offer, but I wouldn't know what to ask yet. I'm still pretty junior in the grand scheme of things. I plan to just keep an eye on how it develops.

comment 6y ago · link · parent

It seems like Uncle Bob is becoming more out of touch each passing month these days.

comment 6y ago · link · parent

> distance learning greatly reduces the instructor's workload

Disagree based on my experience tutoring online. I had to prep and then spend my time with them on webcam.

The story is different for asynchronous online learning, for example with students watching prerecorded videos and completing assignments. However, not everyone learns well that way. We'll probably need a blend of synchronous and asynchronous learning going forward.

comment 6y ago · link · parent

Seems more like Cloud Run to me. A modest amount of vendor lock-in if you're only interested in running compute workloads, and the usual ton of vendor lock-in that is inherent to any effective cloud usage if you want to go all in with IBM Cloud.

It actually impresses me so far. I've got a soft spot for IBM Cloud given that its origin is creating a public cloud out of open source projects and giving back to them. Their serverless offerings so far have been lackluster though. IBM Cloud Functions, based on Apache OpenWhisk, which they created and open-sourced, has a weird programming model.

But this seems like Cloud Run except it also has support for Docker images on any registry (not just GCR) and can run batch jobs up to 2 hours long. I'm going to keep an eye on it.

comment 7y ago · link · parent

By AWS Firecracker microVMs, do you mean AWS Lambda? Cloud Run is a managed service. It wouldn't be a good comparison to compare it to the Firecracker open source project. It would make more sense to compare Cloud Run to AWS Lambda.

comment 7y ago · link · parent

Sign up wall.