Extract http and redis functions