DEV Community

Cover image for Things in software that you have taken granted only to find out later?
Srikanth
Srikanth

Posted on

1

Things in software that you have taken granted only to find out later?

What are some things you've taken granted for only to find out later?

A couple of things I’d put in this category, from my experience —

  1. I have never considered the possibility of server time going off from actual time, until the day my code kept failing in production because of a time signature being in the future. It took me a while to figure out that time was off, and when I googled it … turns out Time Synchronisation is a thing you set up in your servers. Luckily there were immediate and simple solutions, and I included it in my deployment scripts from then on.

  2. This is probably a good example of bad api design. I was integrating a third party api for hotel search. This api was designed such that pricing info can be fetched but making a GET request with hotel ID. ‘Search is always a GET’ I had this almost set in my mind, so it didn’t feel wrong. But only when I built a search query for all the hotels in London (they were about 650 hotels), did I see what was wrong. HTTP 414 — Request URL too long. Turns out servers have limits on lengths of URLs. See this.

What about you? Start a conversation here, or on twitter @srik_anth

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

Top comments (0)

Cloudinary image

Optimize, customize, deliver, manage and analyze your images.

Remove background in all your web images at the same time, use outpainting to expand images with matching content, remove objects via open-set object detection and fill, recolor, crop, resize... Discover these and hundreds more ways to manage your web images and videos on a scale.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay