Representative functionality
-
So, yeah, I finally decided to write a post of my own. A post about one of our products that is just what you'd call a delight.
Now the history of the application is maybe quite typical:
Our business is in the market of critical communications and we've used 3rd party location mapping applications to track where users of mobile communications devices are located based on GPS data. Now this 3rd party application no longer fulfilled our needs so we decided to make our own. So far so good.Due to certain circumstances, management decides to out-source development of the application. My CTO takes it upon himself to draft up an API for our other products to make use (and limitedly manipulate) the data that is to be stored in the new application.
The only documented location for this API (at the time)? An Excel sheet that had numerous revisions (hmmmm)...
The application itself is a Java beast running on a Tomcat server.Anyway, development of the new product is well on it's way by now, and the request came for a feature that the product should be able to detect when it is not running, and in case this is true, restart it self.
From what I know, the external developers created a very creative way to detect that the application process isn't responsive (hence not active). They attempt to retrieve a specific logo image from the webserver itself, and if that fails, they restart tomcat as a whole (because when the logo image can't be retrieved surely the whole server needs to restart, right?).Now here's the catch: when we deploy the application we actually remove said logo image from the webserver because it is quite obnoxious and takes up quite a bit of space on the webclient (wait, I forgot to mention this thing has a webclient that runs on nodeJS and stuffz, because it's hip/cool/new/whatever, oh well).
So yeah, what happened the first time when we deployed the new feature was that the Tomcat server kept restarting because it couldn't retrieve the logo image
-
@ThaMe90 Your mistake was not serving the logo image from a CDN in the first place, duuuuh!
Noobs
-
@Onyx Lol, yeah, as if...
-
@ThaMe90 Welcome to the forums!
-
@Tsaukpaetra said in Representative functionality:
@ThaMe90 Welcome to the forums!
INB4 "I've actually lurked here for several decades and am only just now
coming out of the closetmade an account to post.
-
@Tsaukpaetra Though that is the truth, I just don't want to admit it... I think this forum needs a TDWTF anonymous group
-
Should have replaced the logo with a very small one instead of outright deleting it. That is of course, if only you were made aware of the dependency on it.
-
@Medinoc said in Representative functionality:
Should have replaced the logo with a very small one instead of outright deleting it. That is of course, if only you were made aware of the dependency on it.
We did, we replaced it with a 1x1 transparent pixel. The obvious "solution". That does not take away that the chosen solution was less than ideal to begin with.
-
@ThaMe90 said in Representative functionality:
we replaced it with a 1x1 transparent pixel
-
@ThaMe90 That reminds me of the time, after acquisition, when our UI lead had to prove that he didn't steal his 1x1 transparent pixel.
-
@PleegWat oooh, business opportunity! A transparent pixel CDN!
Filed under: running the joke into the ground
-
@Onyx said in Representative functionality:
@PleegWat oooh, business opportunity! A transparent pixel CDN!
You could totally offer different formats. The transparent pixel gif. The transparent pixel PNG. The SVG. The Adobe-Flash one. The on-client WebGL-rendered transparent pixel (fetches shaders for tracking).
Filed under: Not done yet.
-
@cvi Any why stop there? You could have various transparency levels as well!
-
@Onyx said in Representative functionality:
@PleegWat oooh, business opportunity! A transparent pixel CDN!
Filed under: running the joke into the ground
That could really help reduce load on the Letter Avatar CDN if it gets its pixels from a Pixel CDN instead of generating them locally!
Filed Under: It's CDNs all the way down
-
@mott555 said in Representative functionality:
Filed Under: It's CDNs all the way down
Announcing:
https://bits.discourse.org/v1/bit/0
https://bits.discourse.org/v1/bit/1
-
@boomzilla said in Representative functionality:
@mott555 said in Representative functionality:
Filed Under: It's CDNs all the way down
Announcing:
https://bits.discourse.org/v1/bit/0
https://bits.discourse.org/v1/bit/1It's discourse (and wtf), you forgot:
https://bits.discourse.org/v1/bit/2
-
@dcon said in Representative functionality:
It's discourse (and wtf), you forgot:
https://bits.discourse.org/v1/bit/2bit/FILE_NOT_FOUND ?
-
@masonwheeler
bit/NOT_WELCOME_HERE!
-
@dcon It's future-proof, in case binary ever moves beyond two fundamental values! This isn't a forum for the next ten years, it's a forum for the next hundred!
-
@mott555 said in Representative functionality:
@dcon It's future-proof, in case binary ever moves beyond two fundamental values! This isn't a forum for the next ten years, it's a forum for the next hundred!
It's a forum for Busco Quadrant!
-
@masonwheeler v1 has been deprecated. please use https://bits.discourse.org/v2/bit/FILE_NOT_FOUND.
-
@masonwheeler after some investigation it appears that v2 has some issues WRT values other than FILE_NOT_FOUND. we have our hands full right now so you might have to wait a few months, but if it really is important please contact us and we can work out a contracting arrangement.
-