Click here to Skip to main content
15,891,828 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: JSON is better than XML Pin
Christian Graus9-Jan-20 13:06
protectorChristian Graus9-Jan-20 13:06 
GeneralRe: JSON is better than XML Pin
PIEBALDconsult9-Jan-20 13:14
mvePIEBALDconsult9-Jan-20 13:14 
GeneralRe: JSON is better than XML Pin
Christian Graus9-Jan-20 13:24
protectorChristian Graus9-Jan-20 13:24 
GeneralRe: JSON is better than XML Pin
honey the codewitch9-Jan-20 13:57
mvahoney the codewitch9-Jan-20 13:57 
GeneralRe: JSON is better than XML Pin
honey the codewitch9-Jan-20 13:21
mvahoney the codewitch9-Jan-20 13:21 
RantRe: JSON is better than XML Pin
Greg Utas9-Jan-20 13:50
professionalGreg Utas9-Jan-20 13:50 
GeneralRe: JSON is better than XML Pin
honey the codewitch9-Jan-20 13:55
mvahoney the codewitch9-Jan-20 13:55 
GeneralRe: JSON is better than XML Pin
Greg Utas10-Jan-20 0:19
professionalGreg Utas10-Jan-20 0:19 
Maybe I'm missing something, but I don't see why this kind of thing can't be done asynchronously.

I see RPCs as anathema because they lead to gross inefficiencies and undesirable attributes:
  • in a server, large thread pools (e.g. Thread Per User or Thread Per Request)
  • the inability to handle other inputs (e.g. client cancellations--the "spinning wheel on the screen" problem)
  • the inability to send parallel requests because RPCs block
  • responses and timeouts arriving inside application functions instead of being routed top-down like other inputs
  • in some implementations, undesirable coupling caused by explicitly naming the destination function
I've seen systems where mutexes were held during RPCs. This really does wonders for latency.

RPCs are good for prototyping but shouldn't appear in production code.
GeneralRe: JSON is better than XML Pin
honey the codewitch10-Jan-20 3:00
mvahoney the codewitch10-Jan-20 3:00 
GeneralRe: JSON is better than XML Pin
Greg Utas10-Jan-20 3:14
professionalGreg Utas10-Jan-20 3:14 
GeneralRe: JSON is better than XML Pin
honey the codewitch10-Jan-20 3:34
mvahoney the codewitch10-Jan-20 3:34 
GeneralRe: JSON is better than XML Pin
Greg Utas10-Jan-20 5:48
professionalGreg Utas10-Jan-20 5:48 
GeneralRe: JSON is better than XML Pin
honey the codewitch10-Jan-20 9:29
mvahoney the codewitch10-Jan-20 9:29 
GeneralRe: JSON is better than XML Pin
Greg Utas10-Jan-20 10:40
professionalGreg Utas10-Jan-20 10:40 
GeneralRe: JSON is better than XML Pin
honey the codewitch10-Jan-20 12:05
mvahoney the codewitch10-Jan-20 12:05 
GeneralRe: JSON is better than XML Pin
Greg Utas10-Jan-20 12:39
professionalGreg Utas10-Jan-20 12:39 
GeneralRe: JSON is better than XML Pin
honey the codewitch10-Jan-20 12:49
mvahoney the codewitch10-Jan-20 12:49 
GeneralRe: JSON is better than XML Pin
Greg Utas10-Jan-20 14:02
professionalGreg Utas10-Jan-20 14:02 
GeneralRe: JSON is better than XML Pin
honey the codewitch10-Jan-20 14:16
mvahoney the codewitch10-Jan-20 14:16 
GeneralRe: JSON is better than XML Pin
PIEBALDconsult9-Jan-20 12:45
mvePIEBALDconsult9-Jan-20 12:45 
GeneralRe: JSON is better than XML Pin
honey the codewitch9-Jan-20 13:22
mvahoney the codewitch9-Jan-20 13:22 
GeneralRe: JSON is better than XML Pin
PIEBALDconsult9-Jan-20 13:40
mvePIEBALDconsult9-Jan-20 13:40 
GeneralRe: JSON is better than XML Pin
honey the codewitch9-Jan-20 13:58
mvahoney the codewitch9-Jan-20 13:58 
GeneralRe: JSON is better than XML Pin
PIEBALDconsult9-Jan-20 14:31
mvePIEBALDconsult9-Jan-20 14:31 
JokeRe: JSON is better than XML Pin
Dar Brett9-Jan-20 16:27
Dar Brett9-Jan-20 16:27 

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.