-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Asynchronous backend tracking #5
Comments
Hi @karellm |
When you talk about "grouping" do you mean batching multiple events into one API call? If so, is it even possible? (I ask, as can't see anything relating to this in Heap's API docs https://heapanalytics.com/docs/server-side) |
I think the intention would be to be able to queue the server-side call (e.g. DelayedJob) and have a worker take care of it. Currently, if you implement a server side activity as a result of a http request, it will first finish the whole http request with heap, before returning a response to the final user. Even though in most cases you would either go through the user, and have the server-side requests done by a worker. I'd like to add this to the gem, for those situations where someone feels the need to schedule a server-side request as a direct result of a user interaction. |
Both would be nice. Both sending multiple events in a bulk and sending those bulks asynchronously. I would definitely say that asynchronous is the most important but is rather easy to overcome on a per app basis (we use sidekiq). |
It looks like the backend event tracking is done synchronously and does not support grouping. Do you plan on supporting a queue?
The text was updated successfully, but these errors were encountered: