1. A method comprising: computing a required time by a middleware by considering a plurality of system constraints; computing an available time for a data response by the middleware by using at least one or more of: the plurality of the system constraints; and a target time; determining an amount of the data response to be provided to a client based on the available time; and converting the data response based on the amount of data response to be provided to the client.