Better HN
topnewbestaskshowjobs
Log inSign up

forkqueue

341 karma · joined Feb 4, 2009 (17y ago) · 102 submissions

Owner of Bashton Ltd, a firm specialising in Linux consultancy, with a particular emphasis on clustering.

If you've got a site you're struggling to scale, we can help. http://bashton.com/

Submissions

comment 16y ago · link · parent

No, I've altered DNS and seen many thousands of connections continuing from these providers even after low value (300) TTL records have been changed several hours previously. I've observed this on a number of occasions.

In the case of Virgin Media, they have transparent proxy caching on some parts of the network I believe, so it's possible this caching was happening there rather than on the DNS servers themselves.

comment 16y ago · link · parent

Two examples I've seen recently are Road Runner in the US and Virgin Media in the UK. There are many, many more.

comment 16y ago · link · parent

The main issue with using DNS for failover is that the name servers of many major ISPs don't respect TTL values, particularly those under 3600 seconds.

As such, when a failover occurs a site will be unavailable for many viewers for several hours and possibly even days, making the solution anything but highly available.

34.

Persistent XSS on Twitter.com(praetorianprefect.com ↗)

62 points · by forkqueue · 16y ago · 16 comments

comment 16y ago · link · parent

Part of the reason small size keys like this are in common use is that bind (and possibly other name daemons) doesn't allow records larger than 255 characters. DKIM requires one to put the public key in DNS.

Earlier this week I set up DKIM, and initially tried and failed to use a 2048-bit key, because of this issue.

comment 16y ago · link · parent

I hear it's solved all their scaling problems at one fell swoop ;)

comment 16y ago · link · parent

I think they swapped my account onto the old servers Gabe was on, because whilst mine was fast when I read the article, suddenly it's very slow (as in, 30 seconds to send an email slow).

I'd love to use Google Apps for my business, all employees already have Android phones so from that point of view it's a great idea. Things like this are what is stopping me from actually doing it.

That and I don't know if I could stand to be parted from mutt.

comment 16y ago · link · parent

I'm not sure the hardware is so custom - the pictures on the Clustrix site look very much like generic Supermicro x86 servers with a Clustrix logo stuck on them.

comment 16y ago · link · parent

That's not quite what it says - the one that wasn't covered by the most recent audit isn't a candidate for removal until 1/1/2012 at the earliest. The other certificate is completely unknown.

This thread gives more context:

http://groups.google.com/group/mozilla.dev.security.policy/b...

comment 16y ago · link · parent

There's a good chance $30 pricing will be at least half as popular as $10.

comment 16y ago · link · parent

SystemTap is great for general system issues, but isn't nearly as good when trying to look at issues that occur inside the JVM.

comment 16y ago · link · parent

Solaris zones are awful, and a good example of where Linux is far superior to Solaris. The creators of Zones seemed to have user-mode-Linux as their model, and it shares most of the annoyances of that too. It's not virtualization, and it's not a jail - it's a middle ground which is good for neither.

Agree with you to some extent on stability - I've seen Solaris boxes with a load of 300+ still up and running although unusably slow, where Linux would almost certainly have died from resource starvation. In general use, both Linux and Solaris are pretty damn reliable though.

comment 16y ago · link · parent

Yup, DTrace and ZFS are pretty much the only things Solaris brings to the table above what Linux offers.

Interestingly I've never come across any pure Solaris shops that run ZFS, I suppose because if you're conservative enough only to use Solaris, you're too conservative to trust ZFS.

comment 16y ago · link · parent

A couple of points for those thinking about doing something similar:

"Since InnoDB stores the table in the primary key, I decided that rather than use an auto_increment column, I'd cover several columns with the primary key to guarantee uniqueness. This had the added advantage that if the same record was inserted more than once, it would not result in duplicates."

The 'correct' way to deal with this in MySQL is using the auto_increment_increment.

http://dev.mysql.com/doc/refman/5.0/en/server-system-variabl...

Of course, the real difficulty with mutli-master setups split across data centres isn't ensuring uniqueness of primary keys, it's ensuring data-integrity under a split-brain scenario, i.e. where one server can't reach the other, but users can reach one or the other. UPDATEs and DELETEs to rows can then become extremely difficult to merge back together. This wasn't a problem for this application, but as others have commented, this use case probably wasn't best suited for an RDBMS anyway.

45.

Kutoken Django Hosting now supports Nginx(kutoken.com ↗)

2 points · by forkqueue · 16y ago · discuss

comment 16y ago · link · parent

duplicity is great for off-site backups - full encryption, supports a wide variety of destinations (amazon s3, FTP etc)

47.

When can we expect Red Hat Enterprise 6?(blog.bashton.com ↗)

10 points · by forkqueue · 16y ago · discuss

comment 16y ago · link · parent

Shame the Android app is Android 2.0+ only, which means I'm unable to try it with my Hero, at least for the moment.

comment 16y ago · link · parent

Is he related to Fulgencio Batista, former dictator of Cuba?

Wikipedia for once failed to enlighten me.

comment 16y ago · link · parent

We're in the UK, so I don't know how applicable this is to Jamaica, but for http://kutoken.com/ we use HSBC Merchant processing to accept transactions in GBP, USD and Euro.

HSBC give us the option of having the funds deposited into HSBC accounts in those currencies, or converting to GBP (at our expense, not the customer's).

I'm very happy with this arrangement - it stops many customers from being put off by not knowing how much the service is going to cost them month to month, with the minimum of hassle for us.

comment 16y ago · link · parent

Not true, 802.11n is widely available here.

comment 16y ago · link · parent

Will be interesting to see how this compare to the current king-of-caches, Varnish.

The plugin architecture looks like it'll make it pretty flexible, but it'll have to be pretty special to beat Varnish in terms of performance.

comment 16y ago · link · parent

I get spurious error messages about the clock being incorrect on some sites - it will say it's in the future, but the time reported looks correct to me.

comment 16y ago · link · parent

My first thoughts on reading this were that it was super-cool. Then I thought about customers who could benefit from it (we provide Linux consultancy to a number of medium-large enterprises), and I pretty much drew a blank.

If you're large enough for the downtime associated with a reboot to be a big issue then you've presumably already got a minimum of two machines performing the same function. That being the case, it's no problem to remove each node from the cluster in turn, upgrade the kernel, reboot, test and add it back in.

That rather makes the service more of a convenience. For example, for active/passive setups where a failover produces an undesirable amount of downtime (say 30 seconds whilst services migrate), or single server setups where uptime isn't critical, but downtime is still a pain.

Cool technology, but perhaps an example of a solution looking for a problem. I think at $4/month the convenience aspect can probably justify the cost in many cases.

comment 16y ago · link · parent

Split database support is in Django 1.2 (currently in beta), so that's one con to scratch off the list.

comment 16y ago · link · parent

If you want to accept Maestro payments you have to implement 3DS or face a £25000 fine - at least in the UK.

comment 16y ago · link · parent

Apachebench ships with Apache and can be used for simple testing.

http://httpd.apache.org/docs/2.0/programs/ab.html

For more realistic mutli-page tests Selenium works well - spin up a few EC2 or similar machines, run Selenium Grid and you can get a decent idea of how your site will cope.

For a simple Wordpress blog Apachebench should suffice though.

comment 16y ago · link · parent

If you're using Varnish for caching then it's also possible to serve 'stale' cache entries whilst the upgrade is being done.

I have a few customers that use this when doing schema changes. Obviously, this relies on cached data being useful for your site, but for many applications a stale cache is massively preferable to an error message.

http://varnish-cache.org/wiki/VCLExampleGrace

comment 16y ago · link · parent

I'm based in the UK, and we use HSBC for payment processing on http://kutoken.com/

The API documentation is a bit frustrating, but the service itself is good and gives you the option of recurring payments. We can also accept payments in multiple currencies, which a lot of customers appreciate - if you bill people in GBP but they have a dollar card, how much they actually pay is an unknown.

comment 16y ago · link · parent

I use duplicity: http://www.nongnu.org/duplicity/
1234