two api, socket for big datastream, min data loader