News for hackers. Stuff that matters.
Re:The Unix Philosophy by sytse on Thursday June 25, 2015 @08:01AM (#9777256)
When making a microservice application you have to choose between a text (JSON) or binary (Thrift) interface. You cloud argue that the unix way is to make it JSON until it becomes a performance problem.
Re:The Unix Philosophy by ajtulloch on Thursday June 25, 2015 @08:07AM (#9777275)
This is a false choice - you can serialize/deserialize Thrift objects to/from JSON. I think the choice here is between having a clearly-defined /schema/ or not.
Re:The Unix Philosophy by sytse on Thursday June 25, 2015 @08:19AM (#9777318)
Thanks for the insight.
Re:The Unix Philosophy by coldtea on Thursday June 25, 2015 @08:16AM (#9777306)
>You could argue that the unix way is to make it JSON until it becomes a performance problem.

I'd argue that the unix way is to make it JSON until it becomes a performance problem by which time the format is so entrenched in so many programs and since there's no real central coordination, you just get to live with it.