tag:blogger.com,1999:blog-6265608756663924839.post6808756941789255761..comments2017-01-26T01:29:53.039-08:00Comments on Dukes of Erl: osmosMichael Radfordhttp://www.blogger.com/profile/16558736208373025619noreply@blogger.comBlogger14125tag:blogger.com,1999:blog-6265608756663924839.post-43598756832407250202011-05-14T02:43:53.683-07:002011-05-14T02:43:53.683-07:00Any update on osmos? Any expiriences of long runni...Any update on osmos? Any expiriences of long running instalations of osmos, any code updates?<br /><br />PS. Please allow anonymous comments. Thanks.Witek Barylukhttps://www.blogger.com/profile/12428843843234198274noreply@blogger.comtag:blogger.com,1999:blog-6265608756663924839.post-30202240735170018372009-09-13T12:42:33.156-07:002009-09-13T12:42:33.156-07:00@Jeff if you download the release package, you can...@Jeff if you download the release package, you can do the standard ./configure && make, then include the src/ directory (should have the beam files after make) in your erlang path (erl -pa PATH/TO/osmos-0.0.1/src)<br />Hope that helpsJacobhttps://www.blogger.com/profile/14871613713238371180noreply@blogger.comtag:blogger.com,1999:blog-6265608756663924839.post-61125013139035680222009-09-13T12:27:36.584-07:002009-09-13T12:27:36.584-07:00Any chance someone could put up a wiki on how to g...Any chance someone could put up a wiki on how to get it running in the erlang shell? Since I think you're using http://code.google.com/p/fwtemplates/wiki/FwTemplateErlangWalkthrough<br />I'm not even sure how to set up that. <br /><br />I have a mixed network and am thinking about using this for the local disk storage for my distributed application.Anonymoushttps://www.blogger.com/profile/01755666272518019658noreply@blogger.comtag:blogger.com,1999:blog-6265608756663924839.post-42760069910950934622009-07-28T13:21:48.934-07:002009-07-28T13:21:48.934-07:00Excellent, thank you. Glad I was understanding sel...Excellent, thank you. Glad I was understanding select_range correctly :)<br />Now I can see about replacing mnesia with osmos text indexing tables, and hopefully produce some benchmarks in the process.Jacobhttps://www.blogger.com/profile/14871613713238371180noreply@blogger.comtag:blogger.com,1999:blog-6265608756663924839.post-77967481294354367702009-07-28T12:48:45.756-07:002009-07-28T12:48:45.756-07:00Jacob: no you weren't misunderstanding, that w...Jacob: no you weren't misunderstanding, that was a real bug. Fixed in release 0.0.1. Please let me know if you run into any more problems.Michael Radfordhttps://www.blogger.com/profile/16558736208373025619noreply@blogger.comtag:blogger.com,1999:blog-6265608756663924839.post-5800697883547771192009-07-26T20:10:09.364-07:002009-07-26T20:10:09.364-07:00Hi, not sure if you guys noticed, but I posted a d...Hi, not sure if you guys noticed, but I posted a defect at http://code.google.com/p/osmos/issues/detail?id=1. The highest key is not selected during select_range iteration. Or I'm misunderstanding how select_range works. Either way, it's a major block for switching from mnesia to osmos.Jacobhttps://www.blogger.com/profile/14871613713238371180noreply@blogger.comtag:blogger.com,1999:blog-6265608756663924839.post-63126228246846262932009-07-26T16:32:55.295-07:002009-07-26T16:32:55.295-07:00Hey Kunthar,
Source tarballs that we release with...Hey Kunthar,<br /><br />Source tarballs that we release with 'make dist' build in the typical automake fashion (./configure; make; make install).<br /><br />It sounds like perhaps you are trying to build directly from a source code checkout. For that you need framewerk, so I would suggest grabbing one of the source tarballs from the download page instead.<br /><br />As to why we use framewerk, it does alot of things for us beyond what automake does, too many to mention here; check out http://code.google.com/p/fwtemplates/wiki/FwTemplateErlangWalkthrough for an overview.Paul Mineirohttps://www.blogger.com/profile/05439062526157173163noreply@blogger.comtag:blogger.com,1999:blog-6265608756663924839.post-47435680855811049962009-07-22T05:59:21.371-07:002009-07-22T05:59:21.371-07:00Why fw-pkgin?
Why fw-bootstrap?
Why don't you...Why fw-pkgin?<br />Why fw-bootstrap?<br /><br />Why don't you guys package this in traditional make/automake way?<br />Why every single one try to use something sophisticated like rake or this? What's wrong with make and regular bash?<br />We already have enough pain in the ass. I couldn't understand this...Kuntharhttps://www.blogger.com/profile/11485603188334241137noreply@blogger.comtag:blogger.com,1999:blog-6265608756663924839.post-73068959668619091822009-07-10T15:17:52.290-07:002009-07-10T15:17:52.290-07:00philipp: no, records are only in memory for a brie...philipp: no, records are only in memory for a brief time after they are written to the table (a fixed number are kept in an in-memory tree and then periodically flushed to disk). All other records are on the disk. So memory usage is bounded, and quite small.Michael Radfordhttps://www.blogger.com/profile/16558736208373025619noreply@blogger.comtag:blogger.com,1999:blog-6265608756663924839.post-54812473572398609672009-07-10T05:40:15.831-07:002009-07-10T05:40:15.831-07:00Does the implementation require all records to be ...Does the implementation require all records to be kept in memory?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6265608756663924839.post-78830691275448021662009-07-06T10:17:36.912-07:002009-07-06T10:17:36.912-07:00You should add qlc support by defining a table int...You should add qlc support by defining a table interface, that might help some people transition from mnesia.Paul Mineirohttps://www.blogger.com/profile/05439062526157173163noreply@blogger.comtag:blogger.com,1999:blog-6265608756663924839.post-24099741854386205212009-07-03T17:56:26.665-07:002009-07-03T17:56:26.665-07:00Jacob: for your problem, ideally the string would ...Jacob: for your problem, ideally the string would be the only key, but right now there's no support for multiple records with the same key. (I have thought about adding that.)<br /><br />So for now, I think you could use {string,docid} as the key, and weight as the value. Then you could pass upper and lower bound functions to select_range that only pay attention to the string part of the key, to select the range of records with a given string as the first element of the key.Michael Radfordhttps://www.blogger.com/profile/16558736208373025619noreply@blogger.comtag:blogger.com,1999:blog-6265608756663924839.post-49958655834907454392009-07-02T12:51:24.235-07:002009-07-02T12:51:24.235-07:00Hi, this looks pretty hot :) For fun, can you find...Hi, this looks pretty hot :) For fun, can you find out your MB/sec write speed and compare it to what the bonnie tool can get your harddrive to write?JanLhttps://www.blogger.com/profile/04778932038681738668noreply@blogger.comtag:blogger.com,1999:blog-6265608756663924839.post-73418267340053563092009-07-02T09:29:03.857-07:002009-07-02T09:29:03.857-07:00This looks pretty cool. I've been using mnesia...This looks pretty cool. I've been using mnesia ordered_set tables to store an inverted index using tuple keys, so records look like {{string, docid}, weight}. This makes select matching really fast, but reindexing can easily overload mnesia and lead to out of memory crashes. Sounds like osmos was made to solve the reindexing problem. How could I transition from using mnesia to osmos? In other words, what would be the osmos way of creating inverted index records for optimal select_range?Jacobhttps://www.blogger.com/profile/14871613713238371180noreply@blogger.com