Web servers Archive

Migration from MongoDB to TokuMX – Big performance gain

Benchmark About a month ago I’ve done some benchmarking. I’ve compared TokuMX, TokuMXse, MongoDB 2.6, MongoDB 3.0 and WiredTiger. My use case is mainly based on constant selects and updates, all at the same time. Inserts were made before actual select/update test. Here are my results: As you can see, TokuMX performed best. This benchmark

Amazon ELB and AutoScaling scripts

AutoScaling Amazon itself doesn’t provide Auto Scaling scripts, so you have to write your own ones. It’s up to you to decide when to start an instance and add it to load balancer. We can achieve this with API calls and for this purpose Amazon even provided a CLI. Link to CLI tools: http://aws.amazon.com/cli/ (Note: For

Amazon ELB and Client side certificates

The problem Amazon’s ELB only allows you to setup loadbalancer with a normal SSL certificate and does not support 2 way SSL authentication. To overcome this issue, there are certain “hacks” you can make use of. At the time of writting this post, Amazon AWS was in the process of implementing this feature, but it

Lack of linux kernel entropy – Example how things can go wrong

The issue Lately we’ve been experimenting with puppet and setting up our frontend webservers with it. Our junior sysadmin was setting up things on a server that already had frontend database virtualized and everything was going smoothly, to the part, when he had to setup whole webserver from scratch. I was working with Percona’s XtraDB MySQL Cluster in

ip_conntrack: table full, dropping packet / conclusions about connection tracking

The problem Recently one of our clients started a very large campaign and my servers got hit by twice the traffic it was handling normally. We actually didn’t have any problems, but from time to time you would notice this error message on our main firewall: ip_conntrack: table full, dropping packet Investigation I have seen this