From: Wang J. <jia...@re...> - 2012-05-30 06:30:28
|
于 2012/5/22 16:26, Michal Borychowski 写道: > Hi Ken! > > Your solution is really interesting and promising for storing large amounts > of small files. > > I uploaded several files to your demo and as I understand demo operates on > jpg files, but bundle could easily also store other formats as .pdf, .png, > etc.? > > Where do you keep meta information (size, offset) of the files? In some > external database like MySQL or something? > > You say the files can be overwritten with bundle. Even if they have > different size? What happens with the old, unused space (there is a "hole" > in the huge file)? Is it lost? > > What about write permissions? Is it still sth like u/g/o? Can the > permissions be set separately per each small file or just by a huge file? > > One useful thing which you probably lose using such a solution is lack of > "trash bin" per each of the small file. > Their is metadata for small file in respective 'header'. This can be used to hold permission. But I never think this is necessary, because you need a gateway to access the small files, and you can do ACL there anyway. This is just file storage. And, for real application, deletion is rare, and is expensive if you want to do it damn right. The simple solution is mark the 'deleted' file and keep it as is. Gateway application will know it and reject access. You can undelete it by unmark. > Kind regards > Michal > > > -----Original Message----- > From: Ken [mailto:ken...@gm...] > Sent: Thursday, May 10, 2012 1:17 PM > To: moosefs-users > Subject: [Moosefs-users] bundle open source [was: Solution of small file > store] > > hi, all > > As mention in previous mail > (http://sf.net/mailarchive/message.php?msg_id=29171206), > now we open source it - bundle > > https://github.com/xiaonei/bundle > > The source is well tested and documented. > > Demo: > http://60.29.242.206/demo.html > > > Any ideas is appreciated. > > -Ken > > ---------------------------------------------------------------------------- > -- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and threat > landscape has changed and how IT managers can respond. Discussions will > include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > moosefs-users mailing list > moo...@li... > https://lists.sourceforge.net/lists/listinfo/moosefs-users > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > moosefs-users mailing list > moo...@li... > https://lists.sourceforge.net/lists/listinfo/moosefs-users > |