If you have to ask how much logging costs, you probably can't afford it.
162 karma · joined March 17, 2012
If you have to ask how much logging costs, you probably can't afford it.
not necessarily. you can't think of any other reasons why they'd do this?
After that, you'll have to tune merging. The underlying Lucene storage engine chokes when it tries to merge segments that are large, so you have to tune the max segment sizes, etc.
Then, you'll have to tune your queries -- it's not feasible to do a full index scan on a large index so you have to get clever about how you pull data in chunks. If your data is timestamped and that timestamp is indexed, you can pull data for smaller time ranges which will be faster than pulling all data for an index at once.
Protip: find real investors who are interested in giving you a fair price. This offer is basically equivalent to a payday advance or a loan shark in terms of cost.
Overall, I'd recommend it if your needs are simple, but you might be better off rolling your own or using another library if you need anything advanced.
I wanted my post to be more akin to a tutorial than a reference. I don't think the data model reference is useful to people who don't know the basics -- the idea was to bridge that gap so that it could be useful.
I do exactly what you just described, see http://www.rafekettler.com/magicmethods.html#appendix