Giter VIP home page Giter VIP logo

Comments (8)

boustanihani avatar boustanihani commented on July 19, 2024

Interesting question 👍

from cluster.

arunoda avatar arunoda commented on July 19, 2024

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.

boustanihani avatar boustanihani commented on July 19, 2024

I use Amazon S3

from cluster.

dotnetwise avatar dotnetwise commented on July 19, 2024

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.

boustanihani avatar boustanihani commented on July 19, 2024

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.

arunoda avatar arunoda commented on July 19, 2024

@dotnetwise

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.

dotnetwise avatar dotnetwise commented on July 19, 2024

So, how can we make use all the CPUS, rather than just one? (when downloading a hot-code-push)

from cluster.

markudevelop avatar markudevelop commented on July 19, 2024

@arunoda

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

  1. cloudflare (like your guide with websockets off) for static content
  2. nginx on my server to handle landing page on domain.com and app on cloud.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)

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.