Coder Social home page Coder Social logo

Comments (10)

chrislusf avatar chrislusf commented on May 21, 2024

I think the goal is to make it useful and practical. Images are one of the major usage of weed-fs, and worth special treatment. And the image related features are not really complicating the code. Of course, we will unlikely add any more complicated features.

Having a plugin layer would be ideal.

from seaweedfs.

brejoc avatar brejoc commented on May 21, 2024

👍 for the plugin layer! That would put weed-fs on steroids!

from seaweedfs.

phal0r avatar phal0r commented on May 21, 2024

+1 for a plugin layer :)

from seaweedfs.

chrislusf avatar chrislusf commented on May 21, 2024

Any idea on how to make the plugin? The Golang is statically compiled.

On Tue, Nov 11, 2014 at 9:45 AM, phal0r [email protected] wrote:

+1 for a plugin layer :)


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

from seaweedfs.

ernado avatar ernado commented on May 21, 2024

@chrislusf
Like heka.
Via lua (or js).

from seaweedfs.

chrislusf avatar chrislusf commented on May 21, 2024

Very good to learn this!

Chris

@chrislusf https://github.com/chrislusf
Like heka.
Via lua (or js).


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

from seaweedfs.

brejoc avatar brejoc commented on May 21, 2024

@chrislusf
Most of the times people seem to use net/rpc like packer did. But I guess this would only work if the plugins would also be go binaries. Since we are talking about plugins for image processing, I don't think limiting the plugin architecture to a specific language would be a wise decision. Piping data to a second process might be a better idea, since this would be language agnostic. Perhaps the pipe package might be of interest.
Named pipes might also be a way to go, but right now Go seems to lack support for it. But that might have changed.

from seaweedfs.

chrislusf avatar chrislusf commented on May 21, 2024

An approach similar to heka's seems more feasible. We can provide an
interface to write/load/run go plugins compiled together with the original
source, and some default implementations. One of the implementation would
just use pipe for external processes.

For use cases requiring performance, it can go with a go implementation.

Chris

On Thu, Nov 13, 2014 at 12:17 PM, Jochen Breuer [email protected]
wrote:

@chrislusf https://github.com/chrislusf
Most of the times people seem to use net/rpc like packer
hashicorp/packer#1 did. But I guess this
would only work if the plugins would also be go binaries. Since we are
talking about plugins for image processing, I don't think limiting the
plugin architecture to a specific language would be a wise decision. Piping
data to a second process might be a better idea, since this would be
language agnostic. Perhaps the pipe https://labix.org/pipe package
might be of interest.
Named pipes might also be a way to go, but right now Go seems to lack
support for it. But that might have changed.


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

from seaweedfs.

shen2 avatar shen2 commented on May 21, 2024

A plugin layer will be nice.
There're a lot of image related features, such as ".webp" image compression, image resizing, exif info extraction, image format convert and image effect filters, etc.
Weed-fs cannot support all of these features, a plugin interface will make weed-fs more powerful.

from seaweedfs.

brejoc avatar brejoc commented on May 21, 2024

@chrislusf
Sounds good enough to me - as long as there is a way to pipe data somewhere else.

from seaweedfs.

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.