Open mookid8000 opened 10 years ago
I've been working a bit on this as I need some kind of embedded store for a small console app. And I did not know how far you were @hdrachmann?
But unfortunately RavenDb once again fails to work for even the simplest tasks. Grrrr. I have now reported this http://issues.hibernatingrhinos.com/issue/RavenDB-2751.
Do you have any ideas for another embedded storage thingy I could make an integration for? I'm considering plain file storage if nothing else comes up...
Did you consider SQLite?
Sendt fra min iPhone
Den 18/09/2014 kl. 23.14 skrev Asger Hallas notifications@github.com:
I've been working a bit on this as I need some kind of embedded store for a small console app. And I did not know how far you were @hdrachmann?
But unfortunately RavenDb once again fails to work for even the simplest tasks. Grrrr. I have now reported this http://issues.hibernatingrhinos.com/issue/RavenDB-2751.
Do you have any ideas for another embedded storage thingy I could make an integration for? I'm considering plain file storage if nothing else comes up...
— Reply to this email directly or view it on GitHub.
Plain file storage could work, but you'd need to do some tricks to maintain the unique constraints on (aggId, seqNo) and (globSeqNo)...
Sendt fra min iPhone
Den 18/09/2014 kl. 23.14 skrev Asger Hallas notifications@github.com:
I've been working a bit on this as I need some kind of embedded store for a small console app. And I did not know how far you were @hdrachmann?
But unfortunately RavenDb once again fails to work for even the simplest tasks. Grrrr. I have now reported this http://issues.hibernatingrhinos.com/issue/RavenDB-2751.
Do you have any ideas for another embedded storage thingy I could make an integration for? I'm considering plain file storage if nothing else comes up...
— Reply to this email directly or view it on GitHub.
I'm actually done in several different versions. But none of them performs very well. My next go was to use bulk insert and lucene streaming instead.
@mookid8000 Yes, but I honestly can't remember why I did not go with that :)
Sent from my phone
It's kind of a raven learning process for me - so don't hold back. I've made a batching document work (wrapping several events- as the mongo version) - and a 1-1 document-event thing. I'll keep on working to try getting speed, even if you finish a PR before me.
@hdrachmann cool! I could really use that even with low performance :) I wonder how you got around that bug though... Is it pushed anywhere public?
I'll give it a try, but RavenDb has not been nice to me tonight. I hope he adresses the issue soon... Or that I wake up tomorrow and find out it was my own fault :)
@asgerhallas In the meantime you can use this workaround https://gist.github.com/pvivera/a3738639a07e09294d9e#file-ravendblongquery-cs
@pvivera cool, I was too slow, I see :) How did you work around the issue? I can see that you're not using your own workaround... which by the way did not work for me either. Strangely enough.
@asgerhallas Take a look at this gist. This line does the magic :smile: https://gist.github.com/pvivera/1bf8c6ba00b4421dd82a#file-ravendbtests-cs-L54
@pvivera Thanks! Who would have known :)
(what the title says)