Back
Harry Dry

Harry Dry

@harrydry

last of the young and famous writers - marketingexamples.com
13
Joined October 2017
Load previous page…

i thought heroku should handle that also.

i was trying to write images to heroku so i think there was massive problems there. but there could be other problems as well. difficult to tell.

i know this is a bit cheeky, but it would be a dream if you could cast your eye over a few of my controller methods (not even sure if you know node / mongo that well)

I'm still learning myself, but feel free to post something. If I don't see something, maybe someone else here will. Also a clue would be in chrome dev tools, Network tab, if you see long running requests... its no bueno. Building Asynchronous software takes intention though...

Maybe you should look into message queues... like RabbitMQ

Heroku has separate "work dynos" right? Maybe that's key, how to move work from your web dynos to your workers dynos?

node js. pug(jade) for templating.

Bundling js with webpack

Seems like it should support 100 concurrent users. There's probably blocking code somewhere... node.js should block as little as possible.

i thought heroku should handle that also.

i was trying to write images to heroku so i think there was massive problems there. but there could be other problems as well. difficult to tell.

i know this is a bit cheeky, but it would be a dream if you could cast your eye over a few of my controller methods (not even sure if you know node / mongo that well)

I'm still learning myself, but feel free to post something. If I don't see something, maybe someone else here will. Also a clue would be in chrome dev tools, Network tab, if you see long running requests... its no bueno. Building Asynchronous software takes intention though...

Maybe you should look into message queues... like RabbitMQ

Heroku has separate "work dynos" right? Maybe that's key, how to move work from your web dynos to your workers dynos?

had it on hobby . then upgraded to 2X professional. Surely that must cover 100 people at once?

What language/framework are you using?

node js. pug(jade) for templating.

Bundling js with webpack

Seems like it should support 100 concurrent users. There's probably blocking code somewhere... node.js should block as little as possible.

i thought heroku should handle that also.

i was trying to write images to heroku so i think there was massive problems there. but there could be other problems as well. difficult to tell.

i know this is a bit cheeky, but it would be a dream if you could cast your eye over a few of my controller methods (not even sure if you know node / mongo that well)

I'm still learning myself, but feel free to post something. If I don't see something, maybe someone else here will. Also a clue would be in chrome dev tools, Network tab, if you see long running requests... its no bueno. Building Asynchronous software takes intention though...

Maybe you should look into message queues... like RabbitMQ

Heroku has separate "work dynos" right? Maybe that's key, how to move work from your web dynos to your workers dynos?

hey max, this sounds cool. thanks so much. got a few questions though:

a) so if my bundle.js is found here: hd001.herokuapp.com/dist/bund…

would my asset path be hd001.herokuapp.com/dist/ ?

but then i have some images uploaded by users here:
hd001.herokuapp.com/uploads/0… ?

So cant really work out my asset path

Apparently if I'm using Heroku a reverse proxy may not be necessary. IF this is true then the question becomes should I be serving my static files locally or using some sort of CDN.

And if I'm using a CDN how does that exactly work?

glad you like it — yeah, i think applause makes more sense for the reasons you've stated!

Home
Search
Messages
Notifications
More