[01:00:50] <DigitalKiwi> would using gridfs (possibly with the nginx-gridfs) for a very much picture oriented site be a bad idea or would I be better with some cdn or?
[04:11:56] <cagedwisdom> DigitalKiwi, if you are serving static content, a cdn type solution is way better. use mongo for the urls
[04:41:41] <Diddy403> anyone care to give me the skinny on why I should use a noSQL database instead of a SQL Server DB?
[04:42:55] <DigitalKiwi> cagedwisdom: when you say static, how static do you mean? Like, there are sites that have lots of images but they are always the same image, that i consider static. but there are sites with user submitted images, so the site is different every time etc.. While each image is static, I'm not sure that is the same as the former case (and thus maybe not as good to use a CDN, or maybe it still is)
[04:46:01] <Diddy403> Is there any way to use Mongo if I'm building in VS2010 rather than like Eclipse?
[04:47:30] <cagedwisdom> DigitalKiwi, in any distributed system it's how often the data changes that affects everything. If the users are uploading new images you don't want to change the image in almost all cases, you want to just add a new image and change the url to point somewhere different.
[04:48:39] <cagedwisdom> DigitalKiwi, the exception would be some huge image where the delta is a small fraction of the image's size.
[04:52:56] <DigitalKiwi> I think we're still not on the same page :(
[04:53:35] <cagedwisdom> DigitalKiwi, what part dont you get/disagree with?
[04:53:58] <cagedwisdom> DigitalKiwi, why dont you describe your use case instead of being so general?
[04:54:14] <DigitalKiwi> think something like an image board site
[04:55:22] <DigitalKiwi> where users submit images, maybe a few maybe a lot per user, and they stay there for a long time until they're deleted, people comment on them etc.
[04:55:39] <DigitalKiwi> but they don't replace them just constantly adding more and more
[04:56:19] <DigitalKiwi> Diddy403: sure, mongo is a database it's not tied to any IDE...
[04:56:34] <cagedwisdom> ok so whats the problem? cdn will get you better performance and be cheaper to run then gridfs imo.
[04:56:58] <delhivery> What is EXIT_ABRUBT in mongo?
[04:57:02] <cagedwisdom> cdn is just outsourced master / slave.
[04:58:45] <DigitalKiwi> note that i wasn't saying you were wrong, just wasn't sure if i'd given enough information to give the question i intended :)
[05:08:49] <delhivery> Can someone please help me figure out why mongo db is randomly dying with exit status 14?
[06:26:30] <linsys> delhivery; what does your log say
[06:34:03] <delhivery> linsys, that mongo db exited with status 14
[06:54:07] <trupheenix> hi. i want to know what is the equivalent of stored procs in MongoDb?
[07:19:28] <trupheenix> mids looks like it's better not to store stuff on mongo db itself. eval takes a write lock for itself? that's not good if you are trying async stuff.
[07:20:57] <trupheenix> mids, can i store my code in a .js file and then ask mongo db to execute it? how does this happen from pymongo for instance?
[10:13:29] <bid> hi, is it a good idea to use mongodb as my "member directory" i mean my users database?
[12:06:21] <Bartzy> I'm wondering if I should setup LVM in order to use backups, or just use mongodump ?
[12:06:45] <Bartzy> mongodump is a hot backup as far as I know - any reason not to just use it instead of LVM snapshots, which can degrade IO performance?
[12:32:48] <quansai> I don't think anyone's up. :P
[14:15:32] <mephju> Hi guys. I have schema like that: { name: Author name", posts : [...] } In my db are several such objects and now I want to retrieve all posts. How can I do that?
[14:23:37] <Derick> you design your schema depending on insert and query patterns...
[14:23:59] <mephju> yes. but I just assumed the union would be possible
[15:04:35] <Bartzy> Is there any reason to over provision current SSD drives ?
[15:04:45] <Bartzy> Derick: Perhaps you know? ^ :)
[18:59:44] <hadees> is it possible to update a field on all the documents in a collection using a javascript function that calculates the value from the document?
[19:00:27] <hadees> I want to implement this ranking function in mongodb https://gist.github.com/2636355 but i was thinking instead of having ruby make a ton of queries I could just make one?
[19:06:57] <mids> hadees: you can do some server side execution; but that imposes a global write lock on the collection
[19:29:46] <hadees> mids: nope because time affects it too, i'll prob do it on a cron job
[19:43:30] <mids> hadees: isnt 'date' the time the story was submitted?
[19:45:39] <hadees> miss, i guess that is true, i've been playing around with a few different hot algrothims, i think you're right about the reedit one. So what do you suggest?
[19:46:25] <mids> I suggest that the 'hot' score only needs to be modified if someone votes on it
[19:47:10] <mids> then if you put an index on that attribute; you dont need to run cron jobs or anything
[20:15:58] <bingomanatee> how large can a Mongo record get before it degrades performance? (use case: blog articles)