
Senior Software Engineer | Dad Building apps with AI after work • iOS • Android • Backend • AWS Sharing everything I learn
Los Angeles, CA
Joined January 2014
- Tweets1.1K
- Following827
- Followers628
- Likes612
Pinned Tweet
Claude Opus 5.5 has genuinely changed my day-to-day coding workflow. With Opus 5.6 on the horizon, I’m both excited and concerned about what comes next.
Are we entering an era where software engineers must redefine their roles to stay relevant?
1
3
247
Not every API request needs to be processed synchronously.
Imagine a user uploading a large PDF that needs to be processed using OCR. Instead of keeping the HTTP connection open until processing finishes, you could:
Upload the file to S3.
Send a processing job to SQS.
Return a job ID with a 202 Accepted response.
Let a background worker process the file.
Allow the client to check the job status.
This improves responsiveness and allows workers to scale independently of the API.
The trade-off? You now need to manage job states, retries, duplicate messages, and failed jobs.
Asynchronous processing is a powerful design pattern, but it shifts complexity rather than eliminating it.
How do you decide between synchronous and asynchronous processing in your applications?
13
Anthropic just found that simple agentic code review in Claude Code rediscovered 11 of 21 historical logic bugs. Fuzzing and symbolic execution found none.
The lesson isn't that AI replaces testing. It's that reading code carefully, even by an agent, still beats brute force.
Reviewing is a skill, not a chore.
3
2
71
Wow github actions is down again. Is it time to find an alternative?
We identified a cascading failure that caused delays across GitHub Actions, Notifications, webhooks, Issues, Projects, pull requests and Slack integration, and we have applied a mitigation. We are gradually allowing traffic back and are seeing recovery.... githubstatus.com/incidents/1…
1
104
Not every slow API needs more servers. Sometimes, the problem is simply an inefficient database query.
Before scaling your infrastructure, consider checking your query execution plans, missing indexes, unnecessary joins, and N+1 query problems.
However, adding too many indexes can also increase storage costs and slow down writes.
That’s what makes database optimization interesting. Improving read performance often comes with trade-offs elsewhere.
Good system design starts with identifying the actual bottleneck rather than throwing more resources at the problem.
What’s the most effective database optimization you’ve implemented?
1
1
20
If you can't explain your code to a junior in plain words, you don't understand it yet.
The explanation is the test.
1
22
Retries are meant to make distributed systems more reliable, but they can sometimes make an outage worse.
Imagine a service becoming temporarily unavailable while thousands of clients continuously retry their requests. Instead of giving the service time to recover, they’re overwhelming it further.
That’s where exponential backoff and jitter come in. Gradually increasing retry intervals and introducing randomness helps prevent clients from retrying simultaneously.
A small implementation detail that can make a huge difference in system reliability.
How do you handle retries in your backend services?
1
2
39
Every dependency is a promise to maintain someone else's code.
Choose them like you choose teammates.
1
36
Adding a message queue doesn’t automatically make your system scalable.
Imagine thousands of events coming in every second, with a worker performing a separate database write for each event.
Instead, the worker could collect multiple events and write them in batches, reducing database overhead and improving throughput.
The trade-off? Larger batches can introduce additional latency.
This is why choosing the right batch size and flush interval matters.
Sometimes improving how you process data is more effective than simply adding more servers.
How do you balance throughput and latency in your systems?
1
35
Feeling inspired n better as a software engineer after reading this. Great read @katelyn_lesse
software engineers are going to have to tackle a new set of problems to unlock powerful multiagent systems to solve the world's hardest problems - right now is one of the most interesting moments in history to be an engineer.
1
23
A common system design mistake is treating all data equally.
Imagine an IoT platform collecting sensor readings every second. Do you really need years of raw data sitting in PostgreSQL?
You could instead:
Keep recent data in PostgreSQL for fast queries.
Store historical data in S3 for cheaper storage.
Use Athena to query historical data when needed.
This is the idea behind hot and cold storage.
Good architecture isn’t just about performance and scalability. It’s also about cost efficiency.
How do you handle historical data in your applications?
Legacy code isn't bad code. It's code that survived.
Before you rewrite it, understand why it looks that way.
The weird parts usually have a story.
1
16
One thing I’ve been thinking about lately is when to use event-driven architecture vs traditional polling.
Polling is straightforward, but repeatedly checking a database for updates can create unnecessary load.
Event-driven systems let services react when something actually happens, often reducing latency and wasted work.
But they also introduce complexity around retries, duplicate events, and ordering.
Sometimes a simple polling job is all you need.
Do you prefer event-driven systems or polling for background processing?
1
27
Caching is just a bet that the future looks like the past.
Every cache trades speed for staleness, and the bug is always in the invalidation.
1
32
One system design concept I’ve been exploring lately is database partitioning.
Imagine storing millions of sensor readings every day. Querying years of data from one massive table can become increasingly expensive.
Partitioning by time (daily or monthly) allows the database to scan only relevant partitions when queries include the partition key.
It can also make archiving and deleting old data much easier.
But partitioning isn’t a magic fix. Poor indexing and query patterns can still hurt performance.
Have you worked with partitioned tables in production?
3
3
53
The code you write at 2am will be read at 10am by someone who thinks you were sober.
Keep it simple.
2
30
One system design pattern I’ve been learning more about lately is the Transactional Outbox Pattern.
Imagine saving an order to your database and then publishing an event to a message broker.
What happens if the database write succeeds but publishing fails?
The outbox pattern solves this by saving the business data and event in the same database transaction. A separate worker publishes the event reliably.
A clever way to avoid losing events in distributed systems.
Have you used this pattern before?
2
2
46
Refactoring isn't a separate task.
It's what you do every time you touch a file.
Leave it a little better than you found it, and the codebase compounds in the right direction.
1
20




