All posts by Madhur Garg

Transferring Binary data through HTTP

Problem Statement: We have a http service (written in PHP) which is used for storing and fetching attachment/media files with more then 15 millions of request daily. As it is used to handle files instead of raw data, so the data transfer is always expected to be high and will always be a concern/challenge.Client needs both the meta-data plus the content from the service. Means an array of data has to be returned from the server end with below format:    Array ( "name" => "name", "filename" => "filename",  "extension" => "doc",  "content" => "BINARY... Read More