Giter VIP home page Giter VIP logo

Comments (17)

arunoda avatar arunoda commented on August 19, 2024

Theoretically, it's possible. But I am working on better way by just
installing a package :)

Or cluster will have it natively. Stay tuned!
On 2015 පෙබ 5, බ්‍රහස් at පෙ.ව. 11.19 Maaz Ali [email protected]
wrote:

Is there a way to be able to launch multiple instances of the application
on the same server that has multiple cores with meteor-up and utilize
cluster to load balance? If so, how should this be setup?


Reply to this email directly or view it on GitHub
#8.

from cluster.

MaazAli avatar MaazAli commented on August 19, 2024

But I am working on better way by just
installing a package :)
Or cluster will have it natively. Stay tuned!

Awesome, can't wait! Good work on cluster by the way.

from cluster.

boustanihani avatar boustanihani commented on August 19, 2024

👍

from cluster.

rhyslbw avatar rhyslbw commented on August 19, 2024

Nice nice nice

from cluster.

eportico avatar eportico commented on August 19, 2024

Molaaaaaaa !!! @arunoda great work!
I'm also looking for the best way to launch multiples meteor instances on multicore machine.
I wait,
very thanks for you work

from cluster.

arunoda avatar arunoda commented on August 19, 2024

We could do this before end of this month. Now I am working on performance
improvements.

On Fri Feb 06 2015 at 4:24:09 PM eportico [email protected] wrote:

Molaaaaaaa !!! @arunoda https://github.com/arunoda great work!
I'm also looking for the best way to launch multiples meteor instances on
multicore machine.
I wait,
very thanks for you work


Reply to this email directly or view it on GitHub
#8 (comment).

from cluster.

rclai avatar rclai commented on August 19, 2024

This.. is so awesome!

from cluster.

Sewdn avatar Sewdn commented on August 19, 2024

+1

from cluster.

smeijer avatar smeijer commented on August 19, 2024

Can't wait :)

from cluster.

arunoda avatar arunoda commented on August 19, 2024

Started working on this: https://github.com/meteorhacks/cluster/tree/multi-core

from cluster.

arunoda avatar arunoda commented on August 19, 2024

All is done. Will do the release tomorrow with the performance test.

from cluster.

arunoda avatar arunoda commented on August 19, 2024

Hope we can close this issue: https://meteorhacks.com/introducing-multi-core-support-for-meteor.html

from cluster.

MaazAli avatar MaazAli commented on August 19, 2024

Awesome, i'll close the issue and test this later today. Great work.

from cluster.

rclai avatar rclai commented on August 19, 2024

@arunoda is it possible for this multi-core functionality to be on its own package? I think some people might not want to create multiple instances but only want to use multiple cores. Is that possible?

from cluster.

arunoda avatar arunoda commented on August 19, 2024

@rclai That's not impossible. But, then I had to duplicate some code. That's why I put this into the cluster.
Anyway, you don't need to create multiple instances. Just use cluster without invoking any multi server stuff.

see: https://github.com/meteorhacks/cluster#multi-core-support

from cluster.

dnish avatar dnish commented on August 19, 2024

@arunoda I'm using chfritz:easycron to run some cronjobs in my Meteor application. Will it run multiple times, because there are multiple instances running, if yes, how can I decide between each instance? Normally, I would add a single environment variable for each instance, and check the cronjob script against it (f.e. only run cronjob if it is instance 1) - but that doesn't work if the instances are running on the same server.

from cluster.

 avatar commented on August 19, 2024

@dnish yes it will run multiple timers.. if you want to scale, the first step is to separate your application into smaller parts, that will make scaling up your app much easier... either with the cluster package or some other tools/technologies...

from cluster.

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.