David Bell (@dastbe) profile picture

a mere operator

Seattle
Joined March 2009
Photo by David Bell (@dastbe)Photo by David Bell (@dastbe)Photo by David Bell (@dastbe)Photo by David Bell (@dastbe)Photo by David Bell (@dastbe)Photo by David Bell (@dastbe)Photo by David Bell (@dastbe)Photo by David Bell (@dastbe)Photo by David Bell (@dastbe)Photo by David Bell (@dastbe)
second: prefer a "topic-comment" style API with repetition than flat API where it's up to the service what fields can be configured together. A good example is an API for defining http, tcp, or grpc ports
What are some random API design choices that you like? What are some things people don't often think about when making APIs? Yes, I am building an API. No, I can't be more specific at this time.
1
2
318
One option might be defining a single port struct with a protocol and a bunch of fields that you can configure depending on the protocol. Nice, minimal, avoids repetition. It's also awful on just about every dimension
1
23
first: There's only one good way to do CRUDL APIs. for each resource you define top-level structs for id (key for resource), spec (goal state of resource), meta (timestamps, status, etc.), and version (revision of resource in the system). If you're daring List takes a filter.
What are some random API design choices that you like? What are some things people don't often think about when making APIs? Yes, I am building an API. No, I can't be more specific at this time.
1
141
* Create/Read/Update/Delete return id/spec/meta/version. * List returns list of id/meta/version. * Update takes current version as a conditional upsert (only take update if current version struct equals this one) So many good patterns come out of this
1
15
Replying to @rchrdbyd
@rchrdbyd are you the person I sass about codecatalyst
1
1
404
I've somehow managed to get a cloudformation stack into an undeletable state and it won't even tell me why. thought things were better now :(. @AWSSupport ?
Replying to @yigalatz
@yigalatz what's the recommendation for using corretto crypto providers? is the answer "whenever possible"? Or does using a corretto distro already get me the best implementation?
1
service mesh in the style of istio/linkerd/appmesh/&c is taking a bunch of networking features (routing, security, observability) that other stuff was missing or sucked at and providing it as a product. and so you sprinkle a few sidecars around and boom! features.
A service mesh is a feature, not a product.
1
1
3
but! to get all of that value you had to add "yet another thing" that drives up the complexity for your team. suddenly you have to consider how it interacts with your orchestrator, your underlying network, your storage platform, your service discovery, etc. and stuff breaks.
1
1
Replying to @rchrdbyd
@rchrdbyd i think i broke it
reading the activitystreams rfc and i'm stunlocked on links being either objects or strings. why complicate parsing like that?
1
1
me sowing: oh ok here's the bottleneck me reaping: that fixed nothing
1
3
sometimes i want to go back to aws just so the recruiter spam stops.
1
2
i get its a numbers game, but this time they mentioned how i interviewed "awhile ago" and now that i have "more experience under my belt" that i would be a great fit to reinterview. I last interviewed 9 years ago, and then I worked there for 8 years. i think i interviewed fine.
1
if an aws account has more than 20 resources in it, that's an infra smell
1
1
it’s a take to think that being a customer means aws will tell you all the ways you’re being an asshat on your blog.
And what about the months prior that I spent dragging Azure for the exact same style of breach, during which nobody from AWS felt "speaking up" was the right thing to do? Hard to remember feeling more disappointed as a customer.
2
1
13
fargate eni's have always been a little funky, but today I noticed that they'll get assigned the resource-based DNS name of the underlying instance. just weird, and I'm wondering if anyone is thinking about task DNS entries as a feature?
4
Replying to @mtdowling
@mtdowling have y’all thought about pushing smithy models for service events? i’m listening to yet another person vent about writing their own deserialization logic/tests for these and seems like something y’all are set up to solve.
1
when is the avalanche of ipv6-enabled aws services coming? i want to set up an ipv6 only vpc but can’t even call ddb
2
7
one of my most contentful moments before i left amazon was clearing out all of my aws accounts and suspending them. pack in, pack out, leave no trace.
This post is from an account that no longer exists. Learn more
3
I've decided my new years resolution is to remove "I think I would say..." or "I guess my question is..." and other do-nothing sentence starters from my speech. It's an implicit attempt to mitigate direct feedback and I feel obnoxious every time I do it.
3
so i'm optimizing my aws usage for cost rather than sanity because I have to pay now, and there's little consistency on what they charge you for. you're telling me I can manage 50,000 services on ECS for free, but its a dollar a month per code pipeline?
1
5
and ecs isn't underselling! its hard to charge customers for control loops, especially ones they can't optimize. charging by transition or going free and focusing on influenced revenue to ec2/codebuild/etc. makes a lot more sense.
2
did everyone forget that expertise at one thing doesn’t imply expertise in another
1
4
great writeup, but the “related work” section is curiously selective usenix.org/publications/logi…
1
not to say aws hasn’t done the “previously on aws there was THAT, now there is THIS, and nothing else mattered”