customerio / customerio-ruby

A ruby client for the Customer.io event API.
https://customer.io/docs/api/
MIT License
65 stars 75 forks source link

asynchronous support? #83

Open ranhorev1 opened 2 years ago

ranhorev1 commented 2 years ago

From what I understood in the code, all the requests are done in a synchronous way. Is there some wrapper or suggestion how to wrap these requests to perform async? So I don't need to hurt my throughput when adding dozens of requests... Thanks!

henrik commented 1 year ago

FWIW we use general-purpose background workers. This has the nice property of automatically handling failures and retries.

EDIT: Got two libs confused, removed info about support forms 😁