Giter Site home page Giter Site logo

Multi-CPU support about meteor-up-legacy HOT 16 OPEN

arunoda avatar arunoda commented on July 25, 2024
Multi-CPU support

from meteor-up-legacy.

Comments (16)

copleykj avatar copleykj commented on July 25, 2024

👍

With galaxy getting tabled till 1.1 this would be amazing!

from meteor-up-legacy.

stephentcannon avatar stephentcannon commented on July 25, 2024

+1 crossing similar bridge

from meteor-up-legacy.

tonyaom avatar tonyaom commented on July 25, 2024

It is a great feature that may make using Meteor for scale projects easier.

Look forward to seeing the Multi-CPU being released.

from meteor-up-legacy.

Kikobeats avatar Kikobeats commented on July 25, 2024

@arunoda I read your post in meteorhacks and I think that this can be easily to resolve using PM2 (#88) instead of forever because you can set up using the max of CPU's!

from meteor-up-legacy.

arunoda avatar arunoda commented on July 25, 2024

I'd love to use it.
But it doesn't support sticky sessions. see:
Unitech/pm2#389
On Mon Jan 12 2015 at 4:34:39 AM Kiko Beats [email protected]
wrote:

@arunoda https://github.com/arunoda I read your post in meteorhacks
https://meteorhacks.com/run-meteor-on-multiple-cpus.html and I think
that this can be easily to resolve using PM2 (#88
zodern/meteor-up#88) instead of forever
because you can set up using the max of CPU's!


Reply to this email directly or view it on GitHub
zodern/meteor-up#8 (comment).

from meteor-up-legacy.

Kikobeats avatar Kikobeats commented on July 25, 2024

hmm, I didn't know how SockJS managed the session, but look that is significantly a problem to be scalable.

do you think that is possible resolve the problem writing a bit of code using node cluster api? people say in the issue that are using a library called sticky-session and later lift the script with pm2.

from meteor-up-legacy.

arunoda avatar arunoda commented on July 25, 2024

No, that project does not work for us.
It's based on IP address and that's not a good way to doing sticky sessions.

On Mon Jan 12 2015 at 2:49:16 PM Kiko Beats [email protected]
wrote:

hmm, I didn't know how SockJS managed the session, but look that is
significantly a problem to be scalable.

do you think that is possible resolve the problem writing a bit of code
using node cluster api? people say in the issue that are using a library
called sticky-session https://github.com/indutny/sticky-session and
later lift the script with pm2.


Reply to this email directly or view it on GitHub
zodern/meteor-up#8 (comment).

from meteor-up-legacy.

babnik63 avatar babnik63 commented on July 25, 2024

Yes that project seems not to fit. But this is a critical need, I hope we reach to a solution. :-)

from meteor-up-legacy.

strikeout avatar strikeout commented on July 25, 2024

How about using Phusion Passenger in standalone or nginx integration mode?

from meteor-up-legacy.

babnik63 avatar babnik63 commented on July 25, 2024

I think using nginx for load balancing between multiple apps running on different cores could be a good idea, but it needs some standardization and proper management with something like mup.

from meteor-up-legacy.

Kikobeats avatar Kikobeats commented on July 25, 2024

@arunoda what about using a web-worker API? https://www.npmjs.com/package/webworker-threads

from meteor-up-legacy.

MaazAli avatar MaazAli commented on July 25, 2024

Any update on this. You've recently talked about meteor-cluster, will that essentially launch more node processes to support multi-cpu like the node cluster module?

from meteor-up-legacy.

arunoda avatar arunoda commented on July 25, 2024

It does not spawn instances. It's different from the node module. This is a
complete solution which is a real proxy and does more work.

On Thu Jan 29 2015 at 1:24:27 AM Maaz Ali [email protected] wrote:

Any update on this. You've recently talked about meteor-cluster, will
that essentially launch more node processes to support multi-cpu like the
node cluster module?


Reply to this email directly or view it on GitHub
zodern/meteor-up#8 (comment).

from meteor-up-legacy.

MaazAli avatar MaazAli commented on July 25, 2024

@arunoda maybe this is not the right place to talk about it but will meteor-cluster utilize servers with multi-cpus? Load balance between multiple instances running on the same server using one cpu per instance for example.

from meteor-up-legacy.

arunoda avatar arunoda commented on July 25, 2024

We might can use it for that. I'll share some patterns soon.

On Thu Jan 29 2015 at 2:49:00 AM Maaz Ali [email protected] wrote:

@arunoda https://github.com/arunoda maybe this is not the right place
to talk about it but will meteor-cluster
https://github.com/meteorhacks/cluster/ utilize servers with
multi-cpus? Load balance between multiple instances running on the same
server using one cpu per instance for example.


Reply to this email directly or view it on GitHub
zodern/meteor-up#8 (comment).

from meteor-up-legacy.

katopz avatar katopz commented on July 25, 2024

Sound interesting, here's just for ref btw andruschka/pm2-meteor#6

from meteor-up-legacy.

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.