405 reputation
312
bio website acmedata.in
location Singapore, Singapore
age
visits member for 3 years, 10 months
seen Mar 25 at 17:28

Nothing about me matters. I still dont get why people like to write about themselves so much on the internet. stfu


Jan
25
comment Which is best for Django? Lighttpd or Nginx? Or maybe something else?
what YT is not saying is that they have their own fork of lighty. Is true lighty has a well known memory leak problem. I believe they may have fixed it by now, but the rep persists.
Jan
25
comment Which is best for Django? Lighttpd or Nginx? Or maybe something else?
I believe MySQL is now supported by GAE so I presume ORM will be as well. Though is true I has no experience trying it out. Django without ORM is like porn without torrents.
Nov
24
comment Cheap distributed hosting - will it improve service reliability?
I would like to add Dreamhost has some integration with Amazon CLoudfront/S3 and I have tested it to be working fine. Even if you dont want to use CLoudfront you can use the DH panel to update your files and only serve files via S3 endpoint instead of CloudFront Endpoint. Just noting so if it might help someone in the future.
Nov
24
comment Why is SSH password authentication a security risk?
Further to that using Keys is like having a long 2000 character password (well technically its even more strength) as compared to what you can key in manually in a terminal :D
Nov
24
comment CentOS - hardware raid 1 of two drives not being treated as single drive by fdisk
From what I understand when you have Hardware raid you dont really care about what OS sees as long as you don't try to mount the mirrored one in read write mode. Hardware should take care of the Raid set. But then I am not 100% sure. Definitely you do not have a true hardware raid but to the OS it should not matter. t is ok to see 3 devices as thats what you have. See in fstab how it is mounted. I used an IBM 7xxx series server before that had similar config and I use centos as well.
Nov
24
comment is it worth to use load balancer on web server/website
yes I understand. However I am speaking of connectivity to their data center. For example you may have 4 switches at home but only one internet access subscription and one point. I am hoping they don't. If I really want to throw money on a dedicated load balancer I would really start looking at AWS. It's easier to manage if you don't have expert admins at hand. MySQL failover is also provided by AWS and is only a click away.
Nov
20
comment What server setup for a small web development company?
More: note please go for CentOS6 it has considerably better and more up to date packages than CentOS5. appliance wise, get whatever you like. once your server is running you can add whatever. don't forget a regular DVD writer. It comes in handy when you need to backup stuff and network isnt helping. 2 gigabit ethernet is recommended (for DMZ and LAN) else one should suffice.
Nov
20
comment What server setup for a small web development company?
Great!. If in doubt about CPU I would check out cpubenchmark.net dont look at everything, just the Xeon we have been talking about. So you know exactly what to get performance/price basis. prices may differ in your area but its a good estimate. With your extra budget you could go for a branded pre packaged solution, so you can get warranty and replacement. i7 is good, in my experience however it could be pricier and Xeon is always great for the price. If you have cash left get Raid5, disk is cheap, put 3 in and you have 2/3rd space for use. 16GB ram preferable expandable. hth
Nov
20
comment nginx hackery : change image file every X request
awesome! fantastic idea to use vhost upstream. thinking out of the box. :) In my own answer below I posted a link to HTTPEchoModule I did not see echo_Random and this definitely helps. per-IP would be a good to have. I am looking at per referrer, but this is a good place to start. Thanks
Nov
19
comment nginx hackery : change image file every X request
yes agreed. +1 for incron suggestion. might be useful.
Nov
19
comment What server setup for a small web development company?
posting my answer below since it slonger than comment
Nov
19
comment nginx hackery : change image file every X request
Yes, but I don't see how we can store state information. For e.g. file xyz.txt was accessed 12 times - lets replace it. So end of it I need to maintain a running process or (FILE) to hold these values. I think I found an easier solution using nginx. posting answer.
Nov
19
comment nginx hackery : change image file every X request
sounds like a plausible solution. Do you have any example of this IN_ACCESS event? I will lookup incron now. edit: ok i checked incron. although in_access will occur everytime , i am wondering how to do the nTH access for every file.
Nov
19
comment How to setup a Postfix SMTP-only for multiple domains
Your answer came later but I add a note why I think its not correct for my question. My problem was not with gmail , the problem is with email headers not correctly using the domain I am sending from. Also I need to send from multiple domains on the same system. For some reason it just uses hostname.localdomain or the one real domain I manage to specify.
Oct
13
comment Slow network file copy on Windows 7
well Filezilla FTP works fine. it delivers the max speed possible like 70Mbps. However I am guessing its the negotiation between windows in the windows ways of doing things is screwed. Still no solution.
Oct
7
comment Slow network file copy on Windows 7
hey wesley, i follow you on twitter. coincidence. I tried this but it has no efect. Also tried mnually setting FUll duplex. One thing of note is that my windows 7 has gigabit ethernet connected to gigabit power adapter but the XP is 100 Mbps lan. I am going to try Filezilla ftp solution. sysamdin to rescue. darm i hate windoze
Oct
4
comment What's a common mechanism for emailing in the background?
I think you are right lamp_Scaler about using mail server as the middle man. Atleast the user experience is instantaneous. As to why connection is taking so long maybe your provider is at fault here. I suggest switching providers if possible or to pose this issue to them in their tech support.
Sep
15
comment MySQL max_connections on an EC2 m1.large instance
found the myisam_sort_buffer_size which I could definitely use if it can help. However I have successfully used 6000 connections on 32GB Ram in RDS, but it was one of those omgwtf! moments
Sep
6
comment Managing logs for several dynamic instance on Amazon
Great! Just what I needed. will be adding logstash. thanks again
Jul
26
comment Managing logs for several dynamic instance on Amazon
yes graylog combined with AMQP did my work perfectly. Awesome suggestion and to anyone else who finds this QA helpful know this that I mark it as correct after implementing the suggestion in production. Martin: Will also check out your suggestion for SNMP. Rotation, havent worked this out on graylog yet. lets see when i get to that bridge :D