These are chat archives for rosshinkley/nightmare

29th
May 2016
Ross Hinkley
@rosshinkley
May 29 2016 20:48
@rickmed thanks for the update
@amolc good to hear
@Bersam the easiest route would be to use .evaluate()and issue a request from the browser client
@rickmed also, now that you say that... i remember you talking about this a while back
that kinda stinks that heroku isn't a good option
have you had good luck with the AWS free tier? (I haven't tried it personally, but i'd love to hear your thoughts on it)
Rick Medina
@rickmed
May 29 2016 20:54
I have not deployed yet bc I'm transitioning from meteor to feathersjs but should work as any other normal vm, you have full control in aws
actually, I am going the route of elastic beanstalk with multi (docker) containers...
but will report back once I deploy @rosshinkley
Ross Hinkley
@rosshinkley
May 29 2016 20:56
ah, that'd be great :)
i haven't had a real opportunity to play around with any of that as yet
Rick Medina
@rickmed
May 29 2016 20:58
and yeah, heroku is not an option at all if they not change the default dev/shm settings, not sure why they opted for such a low allocation, no idea about the internals of their infrastructure...I could understand limiting shared memory but 5mb seems ridiculous
Ross Hinkley
@rosshinkley
May 29 2016 21:00
i'd be curious what the rationale is
beyond "we want more people to pay"
Rick Medina
@rickmed
May 29 2016 21:01
but that's the thing, even if you upgrade to paid dynos, all of the size types are allocated with 5mb dev/shm
Ross Hinkley
@rosshinkley
May 29 2016 21:01
... oh, erally?
i totally misunderstood
jeez, why!?
Rick Medina
@rickmed
May 29 2016 21:01
I would bet that they set that arbitrary option early on for some reason and didn't changed it later
Rick Medina
@rickmed
May 29 2016 21:26
anyways, I've tested nightmare on "normal" vms (not closed/fixed like heroku) and it runs fine even on 512mb ones (digital ocean, aws, google) also dockerized
rosshinkley @rosshinkley nods
Ross Hinkley
@rosshinkley
May 29 2016 21:27
i've been able to run Nightmare on some pretty pitiful physical hardware, too
i just hadn't realized heroku was that restrictive :|
Rick Medina
@rickmed
May 29 2016 21:33
...originally I wanted to go with google app engine but it doesn't have a long going free tier with "flexible runtimes" (nodejs and docker in beta) as they have with "standard" ones (python, java, others), once nodejs/docker goes from beta to GA and include the free tier that would be another cool free (forever) for small apps option
also note that docker containers are set to 64mb dev/shm, not sure if that would be an issue on larger scripts but can be easily changed
rosshinkley @rosshinkley nods
Rick Medina
@rickmed
May 29 2016 21:34
yeah, not having root access in heroku is very limiting, of course, depends on your needs, but even for simple apt-get installs is a pain to go around
forget about customizing os settings
Ross Hinkley
@rosshinkley
May 29 2016 21:35
also, good to know about GA