[ 
https://issues.apache.org/jira/browse/MESOS-1384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14137523#comment-14137523
 ] 

Niklas Quarfot Nielsen commented on MESOS-1384:
-----------------------------------------------

[~dhamon] it is not (only) a build time thing :-) Will be happy to elaborate 
([~bernd-mesos], [~benjaminhindman] or [~karya] can chime in too).

Here is some text I wrote for the first ticket on the subject:

"Adding a first class primitive, abstraction and process for dynamic library 
writing and loading can make it easier to extend inner workings of Mesos. 
Making it possible to have dynamic loadable resource allocators, isolators, 
containerizes, authenticators and much more.
I think this could be a powerful feature, as we get even more extensible and 
flexible ways of setting up Mesos - but also for isolating dependencies and 
complexity in external libraries and to ease experimentation with new features. 
For example, imagine a loadable allocators which contains a VM (Lua, Python, 
...) which makes it possible to try out new allocator algorithms without 
forcing those dependencies into the project.
BenH and I chatted about the concrete details and I will follow up with small 
write-up/proposal."

We are having a con call at 10am PST you are more than welcome to join. We will 
follow up with further design docs and notes after the call.

[~karya] Can you share the proof-of-concept branch of the latest design?

> Add support for loadable MesosModule
> ------------------------------------
>
>                 Key: MESOS-1384
>                 URL: https://issues.apache.org/jira/browse/MESOS-1384
>             Project: Mesos
>          Issue Type: Improvement
>    Affects Versions: 0.19.0
>            Reporter: Timothy St. Clair
>            Assignee: Niklas Quarfot Nielsen
>
> I think we should break this into multiple phases.
> -(1) Let's get the dynamic library loading via a "stout-ified" version of 
> https://github.com/timothysc/tests/blob/master/plugin_modules/DynamicLibrary.h.
>  -
> *DONE*
> (2) Use (1) to instantiate some classes in Mesos (like an Authenticator 
> and/or isolator) from a dynamic library. This will give us some more 
> experience with how we want to name the underlying library symbol, how we 
> want to specify flags for finding the library, what types of validation we 
> want when loading a library.
> *TARGET* 
> (3) After doing (2) for one or two classes in Mesos I think we can formalize 
> the approach in a "mesos-ified" version of 
> https://github.com/timothysc/tests/blob/master/plugin_modules/MesosModule.h.
> *NEXT*



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to