Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Daniel Barber
    @danbee
    Both the hobby tiers max out at 20 connections
    Baris Balic
    @barisbalic
    Sounds familiar
    Daniel Barber
    @danbee
    Sounds like the connection pool defaults to 5 per dyno. At least that's what it is on one of my basic Heroku apps!
    Baris Balic
    @barisbalic
    I really thought they were going ahead with the Thin injection
    Daniel Barber
    @danbee
    So any more than 4 dynos = too many DB connectins
    Baris Balic
    @barisbalic
    yeah
    Despo Pentara
    @despo
    well you know, anyone up for helping im up for granting heroku access. just saying.
    hint :P
    Baris Balic
    @barisbalic
    happy enough to move it over to unicorn :D
    Despo Pentara
    @despo
    no pressure
    Daniel Barber
    @danbee
    @despo Happy to take a look!
    Despo Pentara
    @despo
    emails plese, dm might be better as the chat is always visible
    Daniel Barber
    @danbee
    @barisbalic Puma is good on Heroku as it is threaded
    Baris Balic
    @barisbalic
    @danbee ahh I recall reading about it being design for rubinius but still performant under MRI
    Daniel Barber
    @danbee
    I wasn't aware of it being designed for Rubinius
    Ah: "Second, Puma is designed to be used on a Ruby implementation which provides true parallelism, such as Rubinius and JRuby."
    Right there on puma.io
    Baris Balic
    @barisbalic
    It still does well on MRI as you've probably noticed from what you said before
    I'll give it a try some time soon.
    Daniel Barber
    @danbee
    Rubinius is interesting though, going to have to learn more :)
    Baris Balic
    @barisbalic
    Im tempted to write a transparent image-caching proxy backed by redis. Someone talk me out of it
    Daniel Barber
    @danbee
    No Procfile, which means it's probably running on Webrick
    Despo Pentara
    @despo
    i did the bare minimum, so yes default setup.
    my experience with heavy app prod releases on heroku is not great i have to admit.
    Daniel Barber
    @danbee
    No worries
    At a minimum you want to be moving off Webrick
    It's only really designed for development
    Despo Pentara
    @despo
    @danbee released the patch on staging. crashing, do i need a PORT variable setup?
    2014-04-22T16:27:10.864428+00:00 heroku[web.1]: Starting process with command bundle exec puma -p 20079 -e $RACK_ENV -t 0:5
    2014-04-22T16:27:13.553180+00:00 app[web.1]: [2] Puma starting in cluster mode...
    2014-04-22T16:27:13.553233+00:00 app[web.1]: [2] Version 2.8.2 (ruby 2.0.0-p451), codename: Sir Edmund Percival Hillary
    2014-04-22T16:27:13.553351+00:00 app[web.1]: [2]
    Min threads: 1, max threads: 5
    2014-04-22T16:27:13.553374+00:00 app[web.1]: [2] Environment: production
    2014-04-22T16:27:13.553414+00:00 app[web.1]: [2]
    Preloading application
    2014-04-22T16:27:13.553395+00:00 app[web.1]: [2] Process workers: 3
    2014-04-22T16:27:18.310762+00:00 app[web.1]: [2]
    Listening on tcp://0.0.0.0:20079
    2014-04-22T16:27:18.312162+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/puma-2.8.2/lib/puma/binder.rb:195:in `initialize': Address already in use - bind(2) (Errno::EADDRINUSE)
    Daniel Barber
    @danbee
    Looks like the port is already set up. Not sure why it's crashing
    Despo Pentara
    @despo
    2014-04-22T16:27:10.864428+00:00 heroku[web.1]: Starting process with command `bundle exec puma -p 20079 -e $RACK_ENV -t 0:5`
    2014-04-22T16:27:13.553180+00:00 app[web.1]: [2] Puma starting in cluster mode...
    2014-04-22T16:27:13.553233+00:00 app[web.1]: [2] * Version 2.8.2 (ruby 2.0.0-p451), codename: Sir Edmund Percival Hillary
    2014-04-22T16:27:13.553351+00:00 app[web.1]: [2] * Min threads: 1, max threads: 5
    2014-04-22T16:27:13.553374+00:00 app[web.1]: [2] * Environment: production
    2014-04-22T16:27:13.553414+00:00 app[web.1]: [2] * Preloading application
    2014-04-22T16:27:13.553395+00:00 app[web.1]: [2] * Process workers: 3
    2014-04-22T16:27:18.310762+00:00 app[web.1]: [2] * Listening on tcp://0.0.0.0:20079
    2014-04-22T16:27:18.312162+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/puma-2.8.2/lib/puma/binder.rb:195:in `initialize': Address already in use - bind(2) (Errno::EADDRINUSE)
    no worries, i can take a look in a bit. sure it wont be hard to figure out
    Daniel Barber
    @danbee
    I'm trying a fix.
    Sorted!
    The Procfile wasn't set to pick up the puma.rb config file
    Dan Hassan
    @dan-mi-sun
    Hello all, will be coming through to help where I can on Wednesday in London. Looking forward to meeting you :)
    Despo Pentara
    @despo
    Hi @dan-mi-sun it will be great to have you around!
    Alex Jahraus
    @fanaugen
    Now this is REALLY off-topic. But if you like hiking and want to see the green outskirts around London, enjoy the beautiful British weather and breathe some non-polluted air, come join a jolly bunch of friendly CouchSurfers this Sunday for the first section of the LOOP London Outer Orbital Path. Info at https://www.couchsurfing.org/n/events/london-loop-walks-london
    Dan Hassan
    @dan-mi-sun
    @despo thanks for the warm welcome :)
    Dan Hassan
    @dan-mi-sun
    sure this has been linked to but just in case not it is a fun resource: https://rubymonk.com
    Baris Balic
    @barisbalic
    @fanu
    @fanaugen rather, that sounds pretty cool, thanks for the info.
    Just saw the date, that's not gonna happen :(
    Alex Jahraus
    @fanaugen
    @barisbalic this is a repeating series of walking events, we’ll try and cover a section of the LOOP every fortnight, see http://j.mp/1kV2M02
    Dan Hassan
    @dan-mi-sun
    sorry guys won’t be able to make it this wednesday… will be here https://twitter.com/end_svc will make sure to come along the following wednesday
    Kai Chan Vong
    @kaichanvong
    Just did a quick CMD+F of email in this room and saw no mention of this. In the email I received today (Workshop Coach Invitation Wed, 30th July at 18:30) there's no href='X' for "How to be an effective teacher."
    Also noticed a link in the email footer to the twitter account is incorrect and points to the old account (by_codebar) and not codebarHQ. Wonder if there's an issues thing/look for a git repo for emails to contribute/fix later tonight :)
    Kai Chan Vong
    @kaichanvong
    Errr... and the email I received an hour ago is for the 30th of July. Hmmm. Wonder if my mail is being funny or something.
    Baris Balic
    @barisbalic
    @kaichanvong you can't CMD+F will only search loaded text, you may need to scroll up to get a match
    Despo Pentara
    @despo
    It is for the 30th..