Comments (8)
Interesting question 👍
from cluster.
NodeJs is not a load balancing static content. So do meteor.
That's why we don't do. Cluster is main for DDP load balancing. For static
content, you can use a nginx in front of meteor.
But if your app is using a lot of static resources, you should use a CDN to
host those stuff. Cloudflare is the easiest way.
Hope this answers your question.
On 2015 මාර්තු 23, සඳුදා at පෙ.ව. 4.47 boustanihani <
[email protected]> wrote:
Interesting question [image: 👍]
—
Reply to this email directly or view it on GitHub
#33 (comment).
from cluster.
I use Amazon S3
from cluster.
So HotCode pushes of public
folder (static resources) are being served via DDP, right?
Our app is not an website, so the initial load of the static resources is not an issue.
But rather is a cordova
/mobile app
hence, all the clients will get the static content via hot-code pushes.
from cluster.
They are pushed once to your server when you deploy but then served to your clients via the meteor internal HTTP server (based on Node), not DDP.
from cluster.
Yes. your meteor app is work just like it is.
On Mon, Mar 23, 2015 at 2:41 PM boustanihani [email protected]
wrote:
They are pushed once to your server when you deploy but then served to
your clients via the meteor internal HTTP server (based on Node), not DDP.—
Reply to this email directly or view it on GitHub
#33 (comment).
from cluster.
So, how can we make use all the CPUS, rather than just one? (when downloading a hot-code-push)
from cluster.
I'm using meteor-cluster + meteor-up I wanted to ask if this is way has no conflicts? I will have no issues in adding clusters or scaling etc? I love your packages and just decided to use static landing page separated from meteor app and enable cloudflare for static content.
My mup server is on port 3333
- cloudflare (like your guide with websockets off) for static content
- nginx on my server to handle landing page on
domain.com
and app oncloud.domain.com
here is the nginx file: http://pastebin.com/ne32i776 (is it fine?)
This setup is hopefully trouble free meteor-up with meteor-cluster meteor app?
Thanks!
from cluster.
Related Issues (20)
- Using domain name in ROOT_URL cause websocket issue HOT 4
- 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
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.