I have a photon that is setup to collect and store sensor data. It reads from say 10 sensors every so often, and the resulting 10 data points is referred to as a packet. It will continue to collect and store packets until its memory is full. Once its memory is full I want to be able to post these packets (potentially thousands of packets) online to an API. Right now I am using webhooks to do that, but with webhooks I am stuck at a rate of 1 packet/second which is no where near fast enough.
What are my other options for posting this data? What might be some other avenues/libraries I should look into?
Any insight would be appreciated.