Bitcoin Forum

Economy => Service Discussion => Topic started by: giszmo on January 03, 2013, 02:02:22 PM



Title: blockchain.info you are the best :D
Post by: giszmo on January 03, 2013, 02:02:22 PM
Never was I so happy to see my favorite service being down :)
http://lw2.leowandersleb.de/tmp/maintenance.png

Slow mac mini? Slow? Your service always was amazingly fast :)
I love the scale that you are targeting for :)


Title: Re: blockchain.info you are the best :D
Post by: piuk on January 03, 2013, 02:49:34 PM
Actually that is an old maintenance message which i forgot to update, the servers were switched a few months back. The old mac minis are being fired up again and some processes are being moved over (Bitcoind, Email server etc) as well as upgrading the firmware on the firewall and installing the latest mysql cluster version. Should be back fairly soon.


Title: Re: blockchain.info you are the best :D
Post by: giszmo on January 03, 2013, 02:58:11 PM
Actually that is an old maintenance message which i forgot to update, the servers were switched a few months back. The old mac minis are being fired up again and some processes are being moved over (Bitcoind, Email server etc) as well as upgrading the firewall on the firewall and the laster mysql cluster version. Should be back fairly soon.

Ok, hmm … I was about to ask which programming language you used to serve so many users with so decent speed.
And as blockexplorer.com is down, too (at least when trying to find the balance of an address), I'm getting impatient now.

If you now move stuff to the mac mini again … I'm confused. Do you expect improved performance from that??? Kind of doesn't make sense to me.


Title: Re: blockchain.info you are the best :D
Post by: piuk on January 03, 2013, 03:08:49 PM
which programming language you used to serve

Java

If you now move stuff to the mac mini again … I'm confused. Do you expect improved performance from that??? Kind of doesn't make sense to me.

Spreading the workload around. Bitcoind resource usage is increasing, running in VMs is putting too much load on the main servers but a mac mini can run a full node without problem freeing up resources.


Title: Re: blockchain.info you are the best :D
Post by: TalkingAntColony on January 03, 2013, 03:54:34 PM
Can we get a pic of the blockchain.info server rack? Just curious as to what this all looks like.


Title: Re: blockchain.info you are the best :D
Post by: piuk on January 03, 2013, 04:29:26 PM
Can we get a pic of the blockchain.info server rack? Just curious as to what this all looks like.

I have asked the guys at the datacenter to take a photo.

-----

Couple of problems upgrading the database, ETA another hour.


Title: Re: blockchain.info you are the best :D
Post by: Aldur1 on January 03, 2013, 05:33:48 PM
Any updates?


Title: Re: blockchain.info you are the best :D
Post by: piuk on January 03, 2013, 05:52:45 PM
Any updates?

Still waiting for a job to finish, should not be much longer.

-----

The database needs rebalancing as when the site was moved from two servers to 4 servers the existing tables were not repartitioned. This means the load is much higher on two of the servers rather than being distributed equally. The task is taking much longer to complete than I was expecting but it is important that it is done.

https://i.imgur.com/PqLBM.png


Title: Re: blockchain.info you are the best :D
Post by: Aldur1 on January 03, 2013, 06:04:10 PM
cool thanks :)


Title: Re: blockchain.info you are the best :D
Post by: tiptopgemdotcom on January 03, 2013, 06:25:17 PM
Close now?


Title: Re: blockchain.info you are the best :D
Post by: dserrano5 on January 03, 2013, 06:34:28 PM
Easy guys, they're working on it, right?


Title: Re: blockchain.info you are the best :D
Post by: piuk on January 03, 2013, 06:39:01 PM
Close now?

Database partitioning finished. Just need to make a full backup, run one alter table query, catch up bitcoind and the site can be brought back online.


Title: Re: blockchain.info you are the best :D
Post by: tiptopgemdotcom on January 03, 2013, 06:48:32 PM
You are the man, Piuk!


Title: Re: blockchain.info you are the best :D
Post by: x0Jakeyboy0x on January 03, 2013, 07:26:31 PM
piuk, good to hear things are going well. I'm curious as to what caused the surge of problems though? I intended to rely on your receive api but now I'm having second thoughts. Was fairly spotty before you went down.


Title: Re: blockchain.info you are the best :D
Post by: piuk on January 03, 2013, 07:34:51 PM
Ok back online, just catching up with the blockchain. Apologies for the downtime everyone.

piuk, good to hear things are going well. I'm curious as to what caused the surge of problems though? I intended to rely on your receive api but now I'm having second thoughts. Was fairly spotty before you went down.

dos attacks and high load in general coupled with the fact I have been away. The changes made today should help a lot with reliability.


Title: Re: blockchain.info you are the best :D
Post by: Paladin69 on January 03, 2013, 08:47:26 PM
ddos atacks astound me.  Don't little kiddies have better things to do with their time?


Title: Re: blockchain.info you are the best :D
Post by: World on January 03, 2013, 09:24:11 PM
dos attacks and high load in general coupled with the fact I have been away. The changes made today should help a lot with reliability.
how good is this company?
http://www.blacklotus.net/ (http://www.blacklotus.net/)


Title: Re: blockchain.info you are the best :D
Post by: cedivad on January 03, 2013, 09:58:50 PM
I would have never tought to ask this here but hey why not... How do you find NDB to be? What kind of query/second can you handle? Are you keeping the whole database on ram or indexes only? I was always interested in it but always ended up with other solutions!


Title: Re: blockchain.info you are the best :D
Post by: gabbergabe on January 03, 2013, 10:50:17 PM
how long will it be down for?


Title: Re: blockchain.info you are the best :D
Post by: sunnankar on January 04, 2013, 03:00:33 AM
how good is this company?
http://www.blacklotus.net/ (http://www.blacklotus.net/)

I hear they have good moxie.


Title: Re: blockchain.info you are the best :D
Post by: piuk on January 05, 2013, 02:25:51 AM
Can we get a pic of the blockchain.info server rack? Just curious as to what this all looks like.

Here is a photo of the rack https://i.imgur.com/wMFG1.jpg. We do not have a full rack to ourselves yet.

3 mac mins (top) - 4 servers in one chassis (middle) - firewall & intrusion detection (bottom).

how good is this company?
http://www.blacklotus.net/ (http://www.blacklotus.net/)

They are not really ddos attacks which a company like that would be able to help with. It is more just a few dozen tor ip addresses causing problems. For example one ip opening 1000's of websocket connections, or generating huge numbers of forwarding addresses.

I would have never tought to ask this here but hey why not... How do you find NDB to be? What kind of query/second can you handle? Are you keeping the whole database on ram or indexes only? I was always interested in it but always ended up with other solutions!

It is entirely in ram. The site averages about 200-300 queries / second which isn't anything particularly special but cpu usage of ndb averages about 20%, considering this is decent 4 server cluster I feel like the load should be lower. However I haven't benchmarked it against any other database so I don't know if it really is an ndb problem or poor schema/query design. On the plus side it's pretty stable, I think before the recent maintenance it ran for 100 consecutive days without problems. In future I imagine moving to something like HBase/Cassandra but not for a while yet.