We've been focused on more real world performance considerations that
our users are seeing.
For example - because you can embed objects in mongo, you can avoid
doing a join in mysql.
So you may want to benchmark a single document load in mongo where you
have to load 10 rows in mysql.
We definitely will be doing more optimization to get those kind of
numbers higher, but you need to look at performance as a whole.
> --
> You received this message because you are subscribed to the Google Groups "mongodb-user" group.
> To post to this group, send email to mongod...@googlegroups.com.
> To unsubscribe from this group, send email to mongodb-user...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.
>
>
The micro-benchmarks are extremely valid to me. But they are
micro-benchmarks not system benchmarks and I doubt they are critical
for most other deployments today. Not everyone is doing
high-throughput OLTP on 8 and 16 core servers right now. MongoDB did
better than I expected. It will probably be easy to fix the mutex
contention for the read-only tests and if I can only figure out how to
build mongodb on my not-so-current platform (other post pending for
that) then I will try that out.
These are the first tests I run when looking at new MySQL upgrades.
They are good at finding obvious problems. When I know there are few
obvious problems then I can move on to more interesting workloads. I
prefer not to wonder whether there are obvious performance bottlenecks
when I am debugging complex performance problems in production.
--
Mark Callaghan
mdca...@gmail.com
On Tue, Sep 14, 2010 at 11:05 AM, diptamay <dipt...@gmail.com> wrote:
> The numbers are about reading/storing K-V data. So, yes benchmarks
> were geared toward that case specifically. What I am more interested
> in, is the mutex contention issue. Any ideas on that?
>
> -Diptamay
>
> On Sep 14, 10:48 am, Eliot Horowitz <eliothorow...@gmail.com> wrote:
>> The benchmarks are valid - though are for a very specific case (hence
>> why he says silly).
>> On very simple cases like that - speed is more of factor of lots of
>> tiny code optimizations which we haven't done yet.
>> Mysql is mature and is highly optimized so it shouldn't be too
>> shocking that you can make it perform very well for some cases.
>>
>> We've been focused on more real world performance considerations that
>> our users are seeing.
>>
>> For example - because you can embed objects in mongo, you can avoid
>> doing a join in mysql.
>> So you may want to benchmark a single document load in mongo where you
>> have to load 10 rows in mysql.
>>
>> We definitely will be doing more optimization to get those kind of
>> numbers higher, but you need to look at performance as a whole.
>>
>>
>>
>> On Tue, Sep 14, 2010 at 10:40 AM, diptamay <dipta...@gmail.com> wrote:
>> > Hello
>>
>> > I was just going through the following blog posts:
>> >http://mysqlha.blogspot.com/2010/09/mysql-versus-mongodb-yet-another-...
>> >http://mysqlha.blogspot.com/2010/09/mysql-versus-mongodb-fetch-by-sec...
>> >http://mysqlha.blogspot.com/2010/09/mysql-versus-mongodb-update-perfo...
On Tue, Sep 14, 2010 at 11:13 AM, diptamay <dipt...@gmail.com> wrote:
> We are looking at getting 8 core servers (with hyper-threading enabled
> - taking them to 16 virtual cores) for MongoDB, so the benchmarks/
> mutex contention are of specific importance. Any ideas by when you
> could have those optimizations in place.
>
> -Diptamay
That is an impressive result.
The results for get by secondary key and update by secondary key are
still valid though.
--
Mark Callaghan
mdca...@gmail.com