Giter Club home page Giter Club logo

Comments (11)

jwoertink avatar jwoertink commented on June 19, 2024 2

I'm sure. We just launched this in to production yesterday, so we're just now seeing it. I'm gonna do more digging in, but you know how it goes with the lack of debugging tools in crystal 😅 I'll let you know if I come up with any additional info.

from mosquito.

jwoertink avatar jwoertink commented on June 19, 2024 1

I did indeed, and I did a horrible job with that 😢 sorry about that. I tried a few different things, but I was never able to recreate it outside of the app. My guess is we must have been doing something weird.

You can close this out for now if you'd like, and if I end up getting a better code example, I can always just reopen it.

from mosquito.

robacarp avatar robacarp commented on June 19, 2024

@jwoertink In the example you gave, are you saying that it only runs the PasswordWorker, but not EmailWorker, LoginWorker, etc?

from mosquito.

jwoertink avatar jwoertink commented on June 19, 2024

In that example, I'm saying that it may run all 4, or it may run just the LoginWorker, or it may run only the PasswordWorker and the PostbackWorker.... Like every permutation of those. It doesn't really make sense, but my guess is all of them get shoved in to redis, but only some get pulled back out.

from mosquito.

robacarp avatar robacarp commented on June 19, 2024

@jwoertink wow, that's significant. Thanks for reporting. I have a feeling it's going to be difficult to reproduce.

from mosquito.

robacarp avatar robacarp commented on June 19, 2024

@jwoertink can you go into more detail about your deployment? I'm curious how many task runners you have, for example.

from mosquito.

jwoertink avatar jwoertink commented on June 19, 2024

oh, I didn't even think about that.

require "./shards"
require "./workers/*"

Mosquito::Runner.start

I'm just running

crystal build src/mosquito.cr --release -o worker
./worker

So I never actually specified the number of workers or anything. What does that config look like?

from mosquito.

robacarp avatar robacarp commented on June 19, 2024

By default it's just the one worker. I meant spinning up ./worker more than once, possibly on multiple boxes.

from mosquito.

jwoertink avatar jwoertink commented on June 19, 2024

We only have the one server, so only 1 process for that running.

from mosquito.

robacarp avatar robacarp commented on June 19, 2024

@jwoertink you mentioned you might do some digging, did anything get dug up?

from mosquito.

robacarp avatar robacarp commented on June 19, 2024

No worries! Thanks for checking back in. Please re-open if needed.

from mosquito.

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.