Giter Site home page Giter Site logo

Comments (6)

dr-dimitru avatar dr-dimitru commented on May 22, 2024 1

BTW about cluster package - I don't like theirs concept. Basically they re-invent things which already exists and trusted in front of developers and system administrators. Like nginx, HAProxy, AWS ELB - I'm and thousands of devops can stand for its reputation, at least it's are have longer history.

We're in our production using stack of User -> AWS ELB (cloud) -> HAProxy (cluster) -> Nginx (Host VM) -> Phusion Passenger (Client VM) -> Node. Uptime guaranteed.

from meteor-files.

dr-dimitru avatar dr-dimitru commented on May 22, 2024

Hi @davidyaha ,

  • For server only usage you may define File.Collection only on server. But you can not do same thing for client only. But what functionality you wish to have on client only?
  • Microservices... - in my experience we used to have separated "mini"-apps which shares same DB or host or something else similar. I see no issues why you can not do microservice with Meteor-Files package now. Please ensure what you exactly can not implement.

Thank you for using this package. If you found this driver useful do not hesitate to star it at both github and atmosphere. Also you may like to Tweet about it or share at Facebook

from meteor-files.

davidyaha avatar davidyaha commented on May 22, 2024

Hi @dr-dimitru
In my implementation I would like a micro service to have different DB than the ui-provider micro service.
https://github.com/VeliovGroup/Meteor-Files/blob/master/files.coffee#L878
The Meteor.call in this line could also be changed to some kind of an abstraction that will allow changing the default DDP connection that Meteor.call uses.

I really like the DDP upload in this package and I would like to upload through DDP a file to be analysed on a micro service that handles this kind of background work only.

I could also send the file through the web micro service to the analyser micro service but that also means that I need to implement your logic by myself and it doesn't seem to me like a good thing.

About this package being not the best at load balancing, I totally agree. But, I use it a service discovery more than a LB and while there are solutions out there for it like eureka or zookeeper, having this kind of service integrated into meteor opens up some very cool possibilities. One of them I am currently writing in a branch of Zodiac - https://github.com/GuildOfProgrammers/Zodiac/tree/feature/microservices

That being said, I do think that I might need to rewrite some or the cluster package, but for now it will do.

P.S. Already starred :)
Once I'll finish my current project that uses it, I'll post about this package, guaranteed.

from meteor-files.

dr-dimitru avatar dr-dimitru commented on May 22, 2024

@davidyaha thank you )
I hope to put my hand on your suggestion soon. I'll let you know

from meteor-files.

dr-dimitru avatar dr-dimitru commented on May 22, 2024

Finally done in v1.7.4

from meteor-files.

dr-dimitru avatar dr-dimitru commented on May 22, 2024

Please check on your end

from meteor-files.

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.