Giter Site home page Giter Site logo

Asynchronous backend tracking about heap HOT 4 OPEN

hectormalot avatar hectormalot commented on September 25, 2024
Asynchronous backend tracking

from heap.

Comments (4)

HectorMalot avatar HectorMalot commented on September 25, 2024

Hi @karellm
Thats a great suggestion. I currently don't have the time, but I'm happy to accept (and support) a pull request if you want to code this up.

from heap.

ktopping avatar ktopping commented on September 25, 2024

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)

from heap.

HectorMalot avatar HectorMalot commented on September 25, 2024

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.

from heap.

karellm avatar karellm commented on September 25, 2024

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).

from heap.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.