poniedziałek, 6 grudnia 2010

Tech.3camp #4

Serdecznie zapraszam na tech.3camp - 7 grudnia do GPNT w Gdańsku. W czasie spotkania popełnię wykład - “GlusterFS, czyli interesująca alternatywa dla NFS w środowiskach wysokodostępnych”

sobota, 4 grudnia 2010


load average: 2869.50, 3600.81, 3300.00

and +10k connections ;-D

poniedziałek, 19 lipca 2010

piątek, 19 marca 2010

Few benchmarks MongoDB at replica pairs mode

Last two weeks I was working at new environment for MongoDB. For benchmarks create two configurations: with ssd and with sas drives. Since I really like only HA solutions decide to run MongoDB in replica pairs mode. Use development version 1.3.3 at start and today switch to 1.3.4, because it's really faster then stable version in that mode.

First configuration was 2 x Dell R610, 4x50GB SSD in RAID10, 12GB ram, X5550@2.67GHz
Second configuration was 2 x HP DL360 G5, 6x146GB SAS in RAID10, 8GB ram, X5450@3.00GHz

Both use CentOS 5.3.

Decide to create test with 100k operations per connection:
- insert (6,50%) - 6500
- delete (3,00%) - 3000
- update (3,00%) - 3000
- select (87,50%) - 87500

All inserts,deletes,updates were confirm before another operations starts, so I was sure none data will be lose if master die for any reason and MongoDB switch to other one.

Programmer at my team create php test with all that operations run random, but keeps all percents above, then simple perl script to run N scripts same time.

N - 1, 100, 200 ... 1000

Time to finish N connections (time in seconds):

Time per connection at N connections (time in seconds):

As we see MongoDB scale quite nice.

poniedziałek, 8 lutego 2010