Comments (17)
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.
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.
👍
from cluster.
Nice nice nice
from cluster.
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.
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.
This.. is so awesome!
from cluster.
+1
from cluster.
Can't wait :)
from cluster.
Started working on this: https://github.com/meteorhacks/cluster/tree/multi-core
from cluster.
All is done. Will do the release tomorrow with the performance test.
from cluster.
Hope we can close this issue: https://meteorhacks.com/introducing-multi-core-support-for-meteor.html
from cluster.
Awesome, i'll close the issue and test this later today. Great work.
from cluster.
@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.
@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.
@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.
@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)
- Has @arunoda gone missing? HOT 1
- Can a cluster node signal that it is busy? HOT 2
- FATAL ERROR: JS Allocation failed - process out of memory HOT 2
- Page refreshes endlessly in a browser after editing coffee/jade files HOT 2
- make cluster work with cordova
- WebSockets for Everyone
- Refresh requires App restart HOT 4
- After login this.connection inside publish is missing keys, for example this.connection.host is undefined
- 3 Windows Server VM with 3 meteor intances ( QUESTION)
- Fault tolerance available?
- FATAL ERROR: Evacuation Allocation failed - process out of memory HOT 1
- Meteor logging ceases after switch over
- How do I uninstall cluster HOT 2
- CLUSTER_ENDPOINT_URL isn't automatically set with new Meteor Up HOT 1
- Cant connect in Meteor 1.4.2.1
- Load balance multi service of the same app.
- is this project dead? HOT 6
- Module not working anymore HOT 4
- MongoDB depedency is breaking cluster
- Still in use? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cluster.