Click here to Skip to main content
15,913,944 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: A couple of video intro tests Pin
dandy7219-Apr-19 4:57
dandy7219-Apr-19 4:57 
GeneralRe: A couple of video intro tests Pin
#realJSOP19-Apr-19 7:01
professional#realJSOP19-Apr-19 7:01 
GeneralRe: A couple of video intro tests Pin
Gary R. Wheeler19-Apr-19 13:34
Gary R. Wheeler19-Apr-19 13:34 
JokeRe: A couple of video intro tests Pin
Gary R. Wheeler19-Apr-19 4:06
Gary R. Wheeler19-Apr-19 4:06 
GeneralRe: A couple of video intro tests Pin
#realJSOP19-Apr-19 4:47
professional#realJSOP19-Apr-19 4:47 
GeneralRe: A couple of video intro tests Pin
Rick York19-Apr-19 5:11
mveRick York19-Apr-19 5:11 
GeneralRe: A couple of video intro tests Pin
#realJSOP19-Apr-19 7:02
professional#realJSOP19-Apr-19 7:02 
GeneralNo REST for the weary Pin
Dean Roddey18-Apr-19 7:49
Dean Roddey18-Apr-19 7:49 
So a demi-rant... Why don't people get that REST sucks for a wide variety of applications. Being in the automation world I run into this problem a lot. People make a device, and probably make no effort to ask anyone like me what are needs are, they put a web server in it and design a simple REST API.

The problem is that automation systems are fundamentally dependent on low latency awareness of changes in the state of devices, because users set up systems like ours to react to those changes. If it doesn't happen for a second or two after the actual change, then it's often useless or at best annoying.

So now you have a a bunch of devices out that that you just have to pound relentlessly with GET commands in order to try to catch any changes in a reasonable amount of time. And then of course they get the bright idea to make it 'easy' by only allowing the transfer of the entire state of the device (like the Hue), so you have to transfer the entire state of the device multiple times a second in order to catch a change that might not happen for many hours or even days at a time, but has to be caught quickly when it does.

And, then the customer has some other thing that also needs to do the same, so it's pounding the same device relentlessly and now the device is overloaded and starts responding more slowly in general, or crapping out periodically.

It's like so many people just don't even think beyond a REST API or HTTP, and throw it into everything, whether it's remotely appropriate or not.
Explorans limites defectum


modified 18-Apr-19 14:37pm.

GeneralRe: No REST for the weary Pin
PIEBALDconsult18-Apr-19 8:15
mvePIEBALDconsult18-Apr-19 8:15 
GeneralRe: No REST for the weary Pin
Dean Roddey18-Apr-19 18:53
Dean Roddey18-Apr-19 18:53 
GeneralRe: No REST for the weary Pin
Kirk 1038982119-Apr-19 1:41
Kirk 1038982119-Apr-19 1:41 
GeneralRe: No REST for the weary Pin
Dean Roddey19-Apr-19 7:46
Dean Roddey19-Apr-19 7:46 
GeneralRe: No REST for the weary Pin
GuyThiebaut18-Apr-19 8:19
professionalGuyThiebaut18-Apr-19 8:19 
GeneralRe: No REST for the weary Pin
Dean Roddey18-Apr-19 8:46
Dean Roddey18-Apr-19 8:46 
GeneralRe: No REST for the weary Pin
Dave Kreskowiak18-Apr-19 9:32
mveDave Kreskowiak18-Apr-19 9:32 
GeneralRe: No REST for the weary Pin
GuyThiebaut18-Apr-19 19:48
professionalGuyThiebaut18-Apr-19 19:48 
GeneralRe: No REST for the weary Pin
Dean Roddey18-Apr-19 20:18
Dean Roddey18-Apr-19 20:18 
GeneralRe: No REST for the weary Pin
#realJSOP18-Apr-19 9:13
professional#realJSOP18-Apr-19 9:13 
GeneralRe: No REST for the weary Pin
raddevus18-Apr-19 9:25
mvaraddevus18-Apr-19 9:25 
GeneralRe: No REST for the weary Pin
Dean Roddey18-Apr-19 10:39
Dean Roddey18-Apr-19 10:39 
GeneralRe: No REST for the weary Pin
#realJSOP18-Apr-19 12:50
professional#realJSOP18-Apr-19 12:50 
GeneralRe: No REST for the weary Pin
Dean Roddey18-Apr-19 18:54
Dean Roddey18-Apr-19 18:54 
GeneralRe: No REST for the weary Pin
User 483504718-Apr-19 9:26
User 483504718-Apr-19 9:26 
GeneralRe: No REST for the weary Pin
RickZeeland18-Apr-19 9:45
mveRickZeeland18-Apr-19 9:45 
GeneralRe: No REST for the weary Pin
Gary R. Wheeler18-Apr-19 12:26
Gary R. Wheeler18-Apr-19 12:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.