Yet another week passes by and time seems to be going by so quickly. It always seems like there is never enough time for all of what I want to get done. Last weekend I didn't spend enough time on anything. I spent more time settling in and getting my computer setup once again at home. It was a bumpier transition to working at home than I expected. I needed to do some cleaning that made it more manageable to work at home.

This past week I spent a good amount of time optimizing and switching deployed resources in AWS around. I started the transition from a REST API gateway to just a regular HTTP API gateway. I see no reason I can justify the additional cost of a REST API at $3.50 per million requests rather than the $1.00 per million requests for a HTTP API. It was only this past December when AWS started offering HTTP APIs as an option. I heard about it initially over here from a deployment tool I use.

I ran into some issues deploying an HTTP API to begin with, but I figured out it wasn't on my end. The issue got fixed the same day I reported it. So that was pretty awesome.

I've also spent a considerable amount of time this past week working on reducing complexity and making things more responsive by reducing the long delay in searching. It's something I've ignored for a while because the naive implementation I had was good enough until now. However, the move to a new API justified it enough in my head to start optimizing now and redoing some aspects.

I conclude that there are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies and the other way is to make it so complicated that there are no obvious deficiencies. -Tony Hoare

That quote helps summarize what I've been doing this past week in a real broad sense. I've been gutting my codebase and it seems that I regularly do this to eliminate bloat and technical debt. It's always a good thing in my opinion. Good iterations on a design of anything never seem to be a linear flow of progress, or atleast that is always how it seems.

For this upcoming week I think I need to keep the following in mind:

Perfect is the enemy of good. -Voltaire


Premature optimization is the root of all evil. -Donald Knuth