201
|
Bitcoin / Development & Technical Discussion / Re: Bitcoind SLOOOOW
|
on: July 22, 2013, 07:02:22 PM
|
So I tried using a microtime() difference to calculate the time it takes to execute a bitcoind getbalance on an account with a couple hundred transactions. I have tried two methds: php system() to call bitcoind Bitcoind JSON rpc connection And... EXEC: 222.71010398865 EXEC: 12.618118047714 EXEC: 3.6932117938995 EXEC: 1.6202571392059 EXEC: 1.7495849132538 EXEC: 3.5270199775696 EXEC: 3.0422019958496 EXEC: 2.6602010726929 EXEC: 1.5538840293884 EXEC: 0.58772110939026 EXEC: 0.97496891021729 EXEC: 0.99640703201294 EXEC: 2.7791039943695 EXEC: 1.8489720821381 EXEC: 0.82930707931519 EXEC: 0.25357699394226 EXEC: 0.62351679801941 EXEC: 1.3590130805969 EXEC: 4.4388699531555 EXEC: 0.70736193656921 EXEC: 1.473837852478 EXEC: 0.8196861743927 EXEC: 0.49087500572205 EXEC: 0.31272411346436 EXEC: 0.3066029548645 EXEC: 0.93807220458984 EXEC: 2.9650371074677 EXEC: 4.9273610115051 EXEC: 2.4882531166077 EXEC: 1.2758350372314 EXEC: 0.81832599639893 EXEC: 1.2282900810242 JSON: 0.70425081253052 JSON: 0.31246995925903 JSON: 6.2438280582428 JSON: 0.75746512413025 JSON: 4.1969089508057 JSON: 0.15843486785889 JSON: 1.0560338497162 JSON: 4.0856080055237 JSON: 0.34556603431702 JSON: 9.2187669277191 I've heard of inefficient processing but this is just ridiculous. I've got to be doing something wrong, there is no way this can be normal. Here is my PHP: JSON: require_once 'jsonRPCClient.php'; $bitcoin = new jsonRPCClient(' http://bitcoinrpc:reallylongrpcpassword@127.0.0.1:8332/');echo $bitcoin->getbalance($_REQUEST['user'], 4); EXEC: echo system('sudo -H -u ubuntu bitcoind getbalance ' . $_REQUEST['user'] . '');
|
|
|
202
|
Bitcoin / Development & Technical Discussion / Re: Bitcoind SLOOOOW
|
on: July 22, 2013, 05:40:30 PM
|
I sort of need the pageload connected with the API because the balance can't be on a delay for what I'm doing. Thanks for the idea, though.
I'm considering running bitcoind on a dedicated server, however that seems like a pretty big waste of resources. Is there any way of viewing what Bitcoind is doing all this time, like viewing some sort of output? I just want to see why its taking so incredibly long.
|
|
|
203
|
Bitcoin / Development & Technical Discussion / Re: Bitcoind SLOOOOW
|
on: July 22, 2013, 06:35:07 AM
|
I have no problem with having the first starting time being slow - I can wait. The part that is annoying is that functions that must be repeated on nearly every pageload, like getbalance, seem to be absurdly slow. Is there any way of speeding those up?
|
|
|
204
|
Bitcoin / Development & Technical Discussion / Bitcoind SLOOOOW
|
on: July 22, 2013, 06:00:40 AM
|
My Bitcoind is really slow. I'm trying to to start a service using it a bit (by a bit, I mean really not that much) and for some reason its using up 40%+ of my CPU all the time. I suspect it is slowing down my page loads as they are really quite slow. Has anybody else ran into this problem, and if so, do they have any workarounds/alternate software (I still need account management & all other bitcoind features but mining)/other fixes?
Thanks tons!
|
|
|
208
|
Economy / Speculation / Re: Liquidity problem
|
on: July 15, 2013, 08:25:16 PM
|
b) market capitalization - Apple Inc. $401.83B - Microsoft $302.06B - IBM $215.11B - Facebook $63.54B
You guys sure like tech companies don't you.
|
|
|
209
|
Economy / Speculation / Re: Liquidity problem
|
on: July 15, 2013, 08:17:15 PM
|
What? Bitcoin no is pyramid. We great investment are!
It was not mean to be, but it actually is right now. By that logic any appreciating asset is a pyramid scheme.
|
|
|
210
|
Economy / Speculation / Re: Wall Observer - MtGoxUSD wall movement tracker - Hardcore
|
on: July 15, 2013, 08:16:08 PM
|
SERIOUSLY FUCK WHY DOESN'T SOMEBODY 1000 BTC DRIVING ME CRAZY HERE
Perhaps the market truly doesn't want to go over 100 just yet. The downward channel upper line is at 100ish, and 100 is a psychological number. I'd be happy if we went over and started a new rally, I'd also be happy if was dropped much further before beginning a new rally, haha. The apparently market DOES go over 100 routinely, such as whenever I walk away from my laptop.
|
|
|
212
|
Economy / Speculation / Re: Liquidity problem
|
on: July 15, 2013, 07:57:59 PM
|
To reach this number, every single person in developed world would need to invest $1K into bitcoins. An this is not going to happen, because 99.9% of people do not even know about bitcoins.
Its probably not going to reach 1T market cap in 3 years. However do you really think that every single person in the developed world invests aprx. $414 into XOM? Of course not. Don't even get me started on gold. Let me explain to you how things work. Rather than every single person investing $1k, a few rich guys invest 1000 times what the 'average' person would have to. Then, if you're lucky, they'll use use that 1000 times investment they just made as collateral to borrow money to invest another 1000 times more than what the 'average' person would have to. Then there's the whole idea that the market cap is partially 'missing' because it is being held by either wallets with either an unknown private key, or people that aren't spending/selling bitcoins at any given time.
|
|
|
214
|
Economy / Speculation / Re: Where to invest 25,000 USD - LTC or BTC?
|
on: July 14, 2013, 08:03:25 PM
|
Neither. You will do better if you invest in bitcoin-related businesses instead of the currency itself.
Think about it. If you invest in coins directly, your profit is proportional to the number of coins you own. If you invest in a business, your profit is proportional to the amount you invest plus the income that the business makes. If you invest in a business and they use those coins to make money, then the value of your investment will grow faster than the currency itself.
Yes, thank you
|
|
|
216
|
Economy / Speculation / Re: Price drop
|
on: July 14, 2013, 07:46:37 PM
|
Hello, I just want to ask about a price drop, I saw a price of Bitcoin about $70 last week, and Id just like to ask what caused that? Does that happen often?
1. Nobody can really say what caused the drop. 2. http://bitcoin.clarkmoody.com see yourself 1. False, many people can explain some or all of the causes behind that price behavior. PM me if you want to be one. 2. Irrelevant resource, visit something useful like bitcoinx.com Yeah, you're right. Just realized that many peoples are millionaires because they can predict future. Looking through the rearview mirror, it is much easier to interpret some shit out of the chart. Doesn't mean anything of this is true. Oh, just realized: I also know why price dropped: A lot of people made Sell Market Orders. Hihi Dont forget a lot of people removing their Buy Limit Orders.
|
|
|
218
|
Economy / Speculation / Re: Wall Observer - MtGoxUSD wall movement tracker - Hardcore
|
on: July 14, 2013, 07:30:23 PM
|
I like my support/resistance lines on the body of the candles, not wicks. We are sitting below 2 resistance lines if that is the case. Interesting to think we might have broken out of a descending triangle, but down and now come back up to meet it. Updated - And look at the negative volume divergences (2) with an up price. That had been a good reversal indicator, but not lately. Also, topping out on RSI. That's an interesting chart. $100 is definitely a key battle ground and it has psychological meaning. The last bear run broke $100 after the first two tests (May and June) held. Previous support levels often become new levels of resistance. Compound with the highs getting gradually lower (about 155, 135, 115), with this final high barely breaking $100 and it paints an interesting picture. Unless something big happens in the coming week to vault us cleanly over $100, I suspect breaching $100 again for any extended period will be unlikely for quite some time. I like that stochastic.
|
|
|
219
|
Economy / Speculation / Re: Where to invest 25,000 USD - LTC or BTC?
|
on: July 13, 2013, 06:11:30 PM
|
Bitcoin for sure, but don't just buy right away and hold forever like some users are indicating. I'd recommend sticking it on an exchange of your choice, then waiting until you think its an opportune moment, then buy. Buying just because you happen to have money is an easy way of losing money.
|
|
|
220
|
Economy / Speculation / Re: The mother of all traps?
|
on: July 13, 2013, 05:59:08 PM
|
why does 2013 have to follow 2011? making a proportional overlay is one thing, assuming that it's the same bubble dynamic is another fundamental leap in logic
It doesn't it is just in popular demand to compare it, and I thought I at least do it right. e: I could probably tweak the scaling to come up with a more impressive match (scaling might be closer to 3 than 2.5) but I think everybody gets the point. SO why exactly is scaling time 2.5/3 to 1 'right' and all other ways 'wrong'? Because sometimes it fits the chart better? And what if it starts going, will you scale it 4-5 to 1 to make it look like the bottom of the bubble? Honestly this comparison is meaningless. THe only way it would make any sense is if instead of randomly scaling the price, use a log scale to render that random scaling irrelevant, and put a 1:1 correspondence along the time axis. Or at least try to scale the time axis in some way thats somewhat meaningful, like the difference between the time from start of bubble (hard to define) to peak.
|
|
|
|