Skip to content

Synchronous Mode #101

Closed
Closed

Description

@f2prateek

I think both #34 and #51 are symptoms of the same underlying issue - that our threading does not play nicely with Celery and Google App Engine.

As @calvinfo mentioned in #51 (comment); the right solution would be to allow users to control/skip the async nature of this library and use it as a dumb HTTP API wrapper when needed.

Activity

  1. f2prateek commented on Nov 22, 2017

    @f2prateek
    ContributorAuthor

    Two potential paths we can take here:

    1. Make it easier to user the internal models and underly HTTP API wrappers publicly.
    2. Add some option to the client so it operates in synchronous mode.
  2. russlevy commented on Mar 19, 2018

    @russlevy

    Synchornous mode would be great for me as well.

  3. samcheng commented on Mar 19, 2018

    @samcheng
  4. savraj commented on Mar 19, 2018

    @savraj

    the solution for google app engine (for me at least) is to use the built in task queue and just use the http api with urlfetch

  5. poswald commented on Mar 20, 2018

    @poswald
    Contributor

    That pull looks good but Is there going to be a way to configure/explicitly specify a SyncConsumer even if you're not in AWS Lambda or Google App Engine?

  6. samcheng commented on Mar 20, 2018

    @samcheng

    #105 works for me. It bypasses the Consumer class entirely. I've been using it for backfills, which appear to exacerbate the Celery issue. We're on Heroku instead of GAE, for what it's worth.

  7. gojefferson commented on Feb 20, 2019

    @gojefferson

    Synchronous mode would be a great feature. I'm having problems using analytics with django-rq, and I think the problem would be solved if I could make synchronous calls when I want to.

  8. added a commit that references this issue on Apr 28, 2019
    2917013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions