Re: RGW blueprint for plugin architecture

2013-08-20 Thread Roald van Loon
On Tue, Aug 20, 2013 at 2:58 AM, Yehuda Sadeh yeh...@inktank.com wrote: Well, practically I'd like to have such work doing baby steps, rather than swiping changes. Such changes have higher chances of getting completed and eventually merged upstream. That's why I prefer the current model of

Re: RGW blueprint for plugin architecture

2013-08-20 Thread Roald van Loon
On Tue, Aug 20, 2013 at 4:49 PM, Yehuda Sadeh yeh...@inktank.com wrote: I was referring to your work at wip-rgw-plugin, where the plugin code itself still needs to rely on the rgw utility code. Right. So we can agree on ditching the dynamic loading thing and clean internal API (for now), but at

Re: RGW blueprint for plugin architecture

2013-08-20 Thread Yehuda Sadeh
On Tue, Aug 20, 2013 at 9:03 AM, Roald van Loon roaldvanl...@gmail.com wrote: On Tue, Aug 20, 2013 at 4:49 PM, Yehuda Sadeh yeh...@inktank.com wrote: I was referring to your work at wip-rgw-plugin, where the plugin code itself still needs to rely on the rgw utility code. Right. So we can

Re: RGW blueprint for plugin architecture

2013-08-19 Thread Roald van Loon
Hi, I started out by defining the plugin system a bit more (http://wiki.ceph.com/01Planning/02Blueprints/Emperor/rgw:_plugin_architecture). I'd really appreciate any comments. On Wed, Aug 14, 2013 at 8:40 PM, Yehuda Sadeh yeh...@inktank.com wrote: - AUTH (Authentication backends):

Re: RGW blueprint for plugin architecture

2013-08-19 Thread Yehuda Sadeh
On Mon, Aug 19, 2013 at 5:34 AM, Roald van Loon roaldvanl...@gmail.com wrote: Hi, I started out by defining the plugin system a bit more (http://wiki.ceph.com/01Planning/02Blueprints/Emperor/rgw:_plugin_architecture). I'd really appreciate any comments. On Wed, Aug 14, 2013 at 8:40 PM,

Re: RGW blueprint for plugin architecture

2013-08-19 Thread Yehuda Sadeh
On Mon, Aug 19, 2013 at 1:55 PM, Roald van Loon roaldvanl...@gmail.com wrote: Hi Yehuda, Thanks for the comments. Yeah, I created the wip-rgw-plugin to get a feeling of how it would look like. It's probably better to see it as a sandbox, but it already clearly shows some of the flaws that

RGW blueprint for plugin architecture

2013-08-14 Thread Roald van Loon
Hi all, For those interested; http://wiki.ceph.com/01Planning/02Blueprints/Emperor/rgw:_plugin_architecture I know a plugin architecture is a sensitive subject for a lot of people (it is for me at least), but I think it might be worthwhile discussing it. Please comment/flame away :-) Roald

Re: RGW blueprint for plugin architecture

2013-08-14 Thread Yehuda Sadeh
On Wed, Aug 14, 2013 at 5:57 AM, Roald van Loon roaldvanl...@gmail.com wrote: Hi all, For those interested; http://wiki.ceph.com/01Planning/02Blueprints/Emperor/rgw:_plugin_architecture I know a plugin architecture is a sensitive subject for a lot of people (it is for me at least), but I

Re: RGW blueprint for plugin architecture

2013-08-14 Thread Roald van Loon
I most definitely agree, that's why I think a lightweight and extensible solution would be best. No big interface description but just a simple loader function with parameters depending on the type of 'plugin'. If we need another type of plugin, we can add that later on (of course, we have to be

Re: RGW blueprint for plugin architecture

2013-08-14 Thread Yehuda Sadeh
On Wed, Aug 14, 2013 at 11:24 AM, Roald van Loon roaldvanl...@gmail.com wrote: I most definitely agree, that's why I think a lightweight and extensible solution would be best. No big interface description but just a simple loader function with parameters depending on the type of 'plugin'. If