Skip to contentSkip to conversation

Article about Object Store API

DISCUSSION Marcel Lauhoff 5 participants 8 messages Jan 27, 2015 – Jan 30, 2015

lore
Share & tools
lore
#0 lore raw

Hi,

I wrote an article about the object store API - How it works and looks like with a focus on how to add something new.

http://irq0.org/articles/ceph/objectstore

Maybe its useful for somebody.. Feedback is greatly appreciated!

[ I'm working on a Master's Thesis about Cold Storage / Archives using Ceph and will probably write something more about other parts of Ceph crossing my way in the near future :) ]

~marcel

--
Marcel Lauhoff
Mail/XMPP: [email protected]
http://irq0.org

#1 lore raw

Nifty; it's good to have that sort of blog-style documentation about the interface. Are you planning to do some work with it that you can show off as well? :)
-Greg

Quoted 28 lines · Marcel Lauhoff

Hi,

I wrote an article about the object store API - How it works and looks like with a focus on how to add something new.

http://irq0.org/articles/ceph/objectstore

Maybe its useful for somebody.. Feedback is greatly appreciated!

[ I'm working on a Master's Thesis about Cold Storage / Archives using Ceph and will probably write something more about other parts of Ceph crossing my way in the near future :) ]

~marcel

--
Marcel Lauhoff
Mail/XMPP: [email protected]
http://irq0.org
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw

Hi Marcel,

I'll bookmark this: useful high level view to get oriented when going back to this part of the code. I have the same question as Greg actually. It looks like you're tempted to try a new objectstore backend, that's my bet :-)

Cheers

Quoted 39 lines · Gregory Farnum

Nifty; it's good to have that sort of blog-style documentation about the interface. Are you planning to do some work with it that you can show off as well? :)
-Greg

Quoted 20 lines · Marcel Lauhoff

Hi,

I wrote an article about the object store API - How it works and looks like with a focus on how to add something new.

http://irq0.org/articles/ceph/objectstore

Maybe its useful for somebody.. Feedback is greatly appreciated!

[ I'm working on a Master's Thesis about Cold Storage / Archives using Ceph and will probably write something more about other parts of Ceph crossing my way in the near future :) ]

~marcel

Quoted 8 lines

--
Marcel Lauhoff
Mail/XMPP: [email protected]
http://irq0.org
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 1 line
Loïc Dachary, Artisan Logiciel Libre
#3 lore raw

Hi,
thanks!

Well, maybe, but probably not :) I'm at this point going through a list of cold storage system ideas for my thesis. Part of that is evaluating how one /could/ implement them in Ceph. A special object store that accesses an archive system is one of them. I'll later plan to implement something, but I haven't yet decided on what ;)

~marcel

Quoted 31 lines · Loic Dachary

Hi Marcel,

I'll bookmark this: useful high level view to get oriented when going back to this part of the code. I have the same question as Greg actually. It looks like you're tempted to try a new objectstore backend, that's my bet :-)

Cheers

Quoted 24 lines · Gregory Farnum

Nifty; it's good to have that sort of blog-style documentation about the interface. Are you planning to do some work with it that you can show off as well? :)
-Greg

Quoted 18 lines · Marcel Lauhoff

Hi,

I wrote an article about the object store API - How it works and looks like with a focus on how to add something new.

http://irq0.org/articles/ceph/objectstore

Maybe its useful for somebody.. Feedback is greatly appreciated!

[ I'm working on a Master's Thesis about Cold Storage / Archives using Ceph and will probably write something more about other parts of Ceph crossing my way in the near future :) ]

~marcel

#4 lore raw
In reply to Marcel Lauhoff

Very cool. Thank you!

Quoted 29 lines · Marcel Lauhoff

Hi,

I wrote an article about the object store API - How it works and looks like with a focus on how to add something new.

http://irq0.org/articles/ceph/objectstore

Maybe its useful for somebody.. Feedback is greatly appreciated!

[ I'm working on a Master's Thesis about Cold Storage / Archives using Ceph and will probably write something more about other parts of Ceph crossing my way in the near future :) ]

~marcel

--
Marcel Lauhoff
Mail/XMPP: [email protected]
http://irq0.org
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 3 lines
Dan Mick
Red Hat, Inc.
Ceph docs: http://ceph.com/docs
#5 lore raw
In reply to Marcel Lauhoff

Hello marcel,

Very good article though I am still reading it. Do you have a clear picture of the relationship between class and
librados API - rados_exec()?

Quoted 28 lines · Marcel Lauhoff

Hi,

I wrote an article about the object store API - How it works and looks like with a focus on how to add something new.

http://irq0.org/articles/ceph/objectstore

Maybe its useful for somebody.. Feedback is greatly appreciated!

[ I'm working on a Master's Thesis about Cold Storage / Archives using Ceph and will probably write something more about other parts of Ceph crossing my way in the near future :) ]

~marcel

--
Marcel Lauhoff
Mail/XMPP: [email protected]
http://irq0.org
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 1 line
Den
#6 lore raw

Hello Dennis,

I haven't dived into librados code yet, but as far as I can see it is a couple of layers above what I wrote about. :/

Can you please concretize your question a bit?

~marcel

Quoted 35 lines · Dennis Chen

Hello marcel,

Very good article though I am still reading it. Do you have a clear picture of the relationship between class and
librados API - rados_exec()?

Quoted 28 lines · Marcel Lauhoff

Hi,

I wrote an article about the object store API - How it works and looks like with a focus on how to add something new.

http://irq0.org/articles/ceph/objectstore

Maybe its useful for somebody.. Feedback is greatly appreciated!

[ I'm working on a Master's Thesis about Cold Storage / Archives using Ceph and will probably write something more about other parts of Ceph crossing my way in the near future :) ]

~marcel

--
Marcel Lauhoff
Mail/XMPP: [email protected]
http://irq0.org
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Marcel Lauhoff
Mail/XMPP: [email protected]
http://irq0.org etq

#7 lore raw
In reply to Dennis Chen

Hello, marcel,

Below is the email sent to the ceph-users mail list regarding ceph class question, but seems it's in pending state since I am not the member of that list.

Quoted 1 line
Quoted 1 line

Hello,

I found the document of ceph class usage is very few, below is the only one which can almost address my needs--
http://ceph.com/rados/dynamic-object-interfaces-with-lua/

But still some questions confusing me left there:

1. How to make the OSD to load the class lib? or what's the process for an OSD deamon to load a customized class lib?
I checked my OSD log file(/var/log/ceph/ceph-osd.2.
log), I can't find
the log message "loading cls_hello", does that mean the "hello" class lib hasn't been loaded by the osd deamon yet? But I can see the 'libcls_hello.so' is really under /usr/lib64/rados-classes folder of that OSD.

2. Suppose I have an object named "testobj" stored into OSD0 and OSD1, what will happen if I call the rados_exec(..., "testobj", "hello", "say_hello",...) in client side? Will the say_hello() function be called twice in OSD0 and OSD1 respectively?

Quoted 40 lines · Dennis Chen

Hello marcel,

Very good article though I am still reading it. Do you have a clear picture of the relationship between class and
librados API - rados_exec()?

Quoted 20 lines · Marcel Lauhoff

Hi,

I wrote an article about the object store API - How it works and looks like with a focus on how to add something new.

http://irq0.org/articles/ceph/objectstore

Maybe its useful for somebody.. Feedback is greatly appreciated!

[ I'm working on a Master's Thesis about Cold Storage / Archives using Ceph and will probably write something more about other parts of Ceph crossing my way in the near future :) ]

~marcel

Quoted 8 lines

--
Marcel Lauhoff
Mail/XMPP: [email protected]
http://irq0.org
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Den

Signature · 1 line
Den