Code Monkey home page Code Monkey logo

Comments (9)

seuros avatar seuros commented on July 28, 2024

I will try to do it, since i already started in similar gem yesterday.

from activejob.

seuros avatar seuros commented on July 28, 2024

@dhh, i nearly finished this task, need to rewrite tests from rspec to minitest and the configuration module.

from activejob.

dhh avatar dhh commented on July 28, 2024

Sweet! 👍

On May 25, 2014, at 1:22 PM, Abdelkader Boudih [email protected] wrote:

@dhh, i nearly finished this task, need to rewrite tests from rspec to minitest and the configuration module.


Reply to this email directly or view it on GitHub.

from activejob.

seuros avatar seuros commented on July 28, 2024

WIP : https://github.com/seuros/activejob-stats
It is working.

from activejob.

dhh avatar dhh commented on July 28, 2024

Great stuff! Even better as a generic plugin. I’ll add specific notes tomorrow.

On May 25, 2014, at 6:30 PM, Abdelkader Boudih [email protected] wrote:

WIP : https://github.com/seuros/activejob-stats
It is working.


Reply to this email directly or view it on GitHub.

from activejob.

mperham avatar mperham commented on July 28, 2024

I'd love to see activejobs support statsd out of the box. I don't have a problem with an alternative gem providing plugins for other APIs or data stores but statsd is so widely accepted that Rails making an opinionated choice here seems ok.

from activejob.

seuros avatar seuros commented on July 28, 2024

Not everybody want/need stats for their jobs and statsd require special installation of nodejs/python and configuring apache/nginx . I think it better to keep AJ as described in it's description.
Also for example when I'm going to use Sidekiq, i won't need any statsd server since Sidekiq provide this feature already.

from activejob.

mperham avatar mperham commented on July 28, 2024
  1. Statsd is a simple protocol. statsite is a C impl and statsdaemon is a Go impl. Both Librato and Datadog, commercial stats SaaSs, support the statsd protocol out of the box. No Node.js, python, nginx or apache config required.
  2. I'm not suggesting it be mandatory - just pass something that quacks the statsd-ruby API and it'll activate, e.g.:
config.active_jobs.stats_reporter = MySQLStatsd.new

from activejob.

dhh avatar dhh commented on July 28, 2024

I agree with @seuros that this is better served in a separate gem. We don't ship any request statistics in ActionPack either. Not every app is going to run at such a level of operational efficiency that these stats are going to be meaningful.

We should, however, encourage the use of this gem in the README for AJ. So there's a clear, official answer to this. Just not included by default.

from activejob.

Related Issues (20)

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.