Bitcoin Forum
May 13, 2024, 10:13:11 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 [32] 33 34 35 »
621  Bitcoin / Pools / Re: CKPool Stats - iPhone App on: February 11, 2016, 09:40:09 PM
I'll let you know when I activate the change on the live pool (today or tomorrow)
We can then see if anything needs adjusting in ckdb.
Also note I have whitelists so e.g. if you are polling the site a bit more from your data source I can set that as ignored.
But of course if everyone is doing that with the app, there can't (and of course wont) be a whitelist for 'everyone' Smiley

I'll pm you that offline, i'll end up over the hourly limit at some point if not already.
    
With the adjustments 15s/300s(45s active), It's dropped from 950 to 140 api calls over a 5 minute period with no impact on user experience.
That will ease up some activity to your server.

I also found the block message i'm hunting for so i may be able to adjust to 60s/300s(45s) shortly with a little tweak that will get near event driven block -> push notification, backup using block num change in polling.
 {"params":["Block 397940 solved by d00d.PK217 @ ckpool!"] ..
622  Bitcoin / Pools / Re: CKPool Stats - iPhone App on: February 11, 2016, 02:39:23 PM
Added some metrics.   The app (overall) is triggering 950 api calls every 5 minutes.

I will bump it to 15s/300s shortly (incrementally by EOD), and drop it down to 45s when the application is awake.

That should drop it down significantly and still provide the functions.
623  Bitcoin / Pools / Re: CKPool Stats - iPhone App on: February 11, 2016, 02:01:11 PM
15s ... I can see that getting it banned shortly ... I've implemented limits in CKDB for failure events and activity events.
That was around where I was gonna limit it per hour.
There's no useful information gained by polling the site more than about once a minute.

This will also cause even more problems if you are logging in to a single account with everyone running the app ... since that will hit the account ... lots ...

If someone needs to poll the site 5760 times a day they need to find something better to do with their time ...

Even with identifying idle workers, you can't do that more than once every 30s

A worker is expected, to average, 3 shares a day of 13.33s or more.

Shares are avg 18SPM, so 1 share is avg 1.333s
a 1000% CDF is:
Code:
0.99995460007024  1000.000%  1 in 22026.5
i.e. expect to average one in 22026.5 shares to be 10x1.333s = 13.33s
and 22026.5 shares is expected to average 8.16 hours at average 13.33s per share

FYI there's already more than 400k hits a day ...

Felt like I was about to bump that limit soon.   I will slow it down.    

I did notice that 30 second worker change frequency and don't pull more frequently than 30s per worker.

The data is normalized through a summary node on my end to make data from kano.is look like data from solo.ckpool.

This also allows for notifications, and controls hits to your system at a known rate.   And if the downstream changes (new pool, new data, changed data structure), I don't need to wait for apple review to make adjustments.

aggregation node thread:

1 pool thread - Every 15 second, watches for block found changes.  collect pool related information
3 thread poll user status - pulls data per user if user's stamp is older than 30 seconds.  which is the minimum useful limit you noted.
(misc thread to watch status file, blockchain payout, etc)

The pool thread triggers the pool block push notification
The user thread triggers user push notifications

Every running app hits was suppose to hit the aggregation node a bit harder as it acts as the relay, and broadcast one-to-many for the 15s poll.

The user notification part has been bothering me too.  I would like not to scrap earlier notification but if it causes stress or ban, that's no good.

The target hits to kano.is:

240x times per hour for pool block change thread.
120x times per hour per app install for user thread.

Here's a few strays that are causing the numbers to be higher, and what i'm doing to address those.

If someone adds in 20 worker addresses and don't use an account.    I did not expect a lot of those, but it is there.
   - solo.ckpool does a worker list in the user view.   i can adjust this the same to save lots of hits should the parent user view eventually show workers.

User Typos.  
   - looking to apply retry suppression.   there's no stamp to baseline off.   need to better distinguish it from no api data, zero api data during restarts.

Also playing with an out of band block change notification.

The 15s/30s can be tuned as required immediately.







624  Bitcoin / Pools / Re: CKPool Stats - iPhone App on: February 11, 2016, 06:48:00 AM
That would best case.   15 second poll of kano.is api + apple push latency.   Every so often it will line up.   Every other time it takes folks 30s to click the screen and two more minutes to log in and check the site so it feels instant.   You still have the edge on watching the console.
625  Bitcoin / Pools / Re: CKPool Stats - iPhone App on: February 10, 2016, 06:27:09 PM

Awesome VH, can't wait. I'll keep posting any ideas and suggestions as i get them.

keep up the good work.

I'll be happy to beta test your app if you need any more beta testers.

The more the merrier.  PM me an email address and I'll load it into apple's testflight/beta list.
626  Bitcoin / Pools / Re: CKPool Stats - iPhone App on: February 10, 2016, 06:13:28 PM
Hi,

Great app for starters! Use it to keep an eye on my s3 hash rate.

I'm new to this whole api key thing so take it easy on me.

I've copied and pasted the api key from Kano.is website (my account section) and pasted it into the app but can't see anymore information apart from the current hashrate. Is this right? Or am I missing something?

The refresh rate can use some optimization.   After adding the api key the worker screen will [eventually] say Hashing @ nnn.nnGHs.
But that's about it.   Some basic worker/pool stats and a few fun event notifications right now.
627  Bitcoin / Pools / Re: CKPool Stats - iPhone App on: February 10, 2016, 05:07:48 PM
hello again VH.

another suggestion/feature request

could you find a way to include some more stats related to the hashrate in the worker screeen... i'd be nice to have hashrate stats like hourly or daily hashrate available in the worker bars and total hash rate area. maybe we could have a way to cycle through all the available hash rates data stats touching the screen  "hashrate1m", "hashrate5m", "hashrate1hr", "hashrate1d" or "hashrate7d"

keep up the good work.

-Zodiacus



this falls under more stats please, in the misc todo already.    it will likely be there a few iterations down.
628  Bitcoin / Pools / Re: CKPool Stats - iPhone App on: February 10, 2016, 05:01:53 PM
I got no stats from my workers since late last night. Was working all good before that.

Anyone else have this issue ?

EDIT: workaround

1- Copy in memory your API Key
2- Remove your API key from the configuration section
3- Close the application
4- Restart the application
5- Re-Enter the Key
6- Working again

Interesting.   Just force closing and reopening it will reinitialize all the objects and arrays, and accomplishes the same.
Might be a timing issue with a ckdb restart but i don't recall one recently.    Let's see if anyone else notices or if i can force recreate it.
629  Bitcoin / Pools / Re: [20 PH] ** 5x AVALON6 GIVEAWAY ** Kano CKPool (kano.is) [0.9% PPLNS] US,DE,SG,JP on: February 10, 2016, 02:47:44 PM
Block!  Not sure who because it's a BTC but all blocks are appreciated!
seem like ckpool proxy mode is not reporting block solve message downstream.   not sure if that is the nature of the interaction or if i'm missing a setting. 
-ck removed the messages - at my request Smiley - if the miner isn't reporting itself as a proper miner.
I often got the impression, on block changes, that the hash rate would drop, and we took a guess at it being crappy miners/proxies not liking stratum messages.
thanks for the clarification.   that makes sense, aligning with your various other posts.
630  Bitcoin / Mining software (miners) / Re: CKPOOL - Open source pool/database/proxy/passthrough/library in c for Linux on: February 10, 2016, 02:44:35 PM
From ckpool's readme:

Code:
notifier - An application designed to be run with bitcoind's -blocknotify to notify ckpool of block changes.

So you must set your blocknotify option on either bitcoind's command line or bitcoin.conf's

trying it out was my next step.   initially sounded like it applied only in solo mining mode, was unsure if proxy mode get broadcasts from upstream pools.
631  Bitcoin / Mining software (miners) / Re: CKPOOL - Open source pool/database/proxy/passthrough/library in c for Linux on: February 10, 2016, 02:11:45 PM
quick question: do i need to wire the notifier to a bitcoind node to pick up block solve messages from upstream in proxy mode?   trying to read through the stratum protocol docs to understand it a bit more, but thought i'd just ask.
632  Bitcoin / Pools / Re: [20 PH] ** 5x AVALON6 GIVEAWAY ** Kano CKPool (kano.is) [0.9% PPLNS] US,DE,SG,JP on: February 10, 2016, 01:34:48 PM
Block!  Not sure who because it's a BTC but all blocks are appreciated!
seem like ckpool proxy mode is not reporting block solve message downstream.   not sure if that is the nature of the interaction or if i'm missing a setting. 
633  Bitcoin / Pools / Re: [20 PH] ** 5x AVALON6 GIVEAWAY ** Kano CKPool (kano.is) [0.9% PPLNS] US,DE,SG,JP on: February 10, 2016, 04:28:58 AM
Block!

Damn. I thought for sure I'd beat you to the punch this time.

You must sit in front of your computer clutching your iPhone waiting for the notification Wink

Nah...I'm just working at my computer doing swim team stuff and I have a cgminer cmd window open on my second screen.  I see the messages from CKPool for each work accepted and any new blocks that are hit.  If it belongs to kano.is, it shows me who hits it also.  This cgminer is running an Antminer U3 which is useless for it's 63GHs hash but I like to keep an eye on the cmd window messages!

random light bulb.  switch to -l 7 and going to dig trough ckproxy.log to confirm a crazy idea.  
634  Bitcoin / Pools / Re: CKPool Stats - iPhone App on: February 09, 2016, 02:16:06 AM
hello VH, great work on this app

keep up the good work my friend, going to drop a good review after this post.

I'd like to post one feature request if possible

  • multiple ckpool accounts

i run a medium sized mine and i have a few miners that are not on my main ckpool account that i'd like to monitor. only way i can do this now is to have them mining directly to a btc wallet (using a btc wallet as login) and adding them one by one to the app via direct addresses....

you could also the feature to monitor these miners as a "group" with the stats provided via the http://www.kano.is/address.php?a=1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb  link syntax....

just a couple of suggestions...

thanks again for a great app.

Zodiacus

glad you find it useful.    suggestions tacked to misc todo/wishlist.
635  Bitcoin / Pools / Re: [18 PH] ** 5x AVALON6 GIVEAWAY ** Kano CKPool (kano.is) [0.9% PPLNS] US,DE,SG,JP on: February 02, 2016, 10:56:39 PM
apologizing for the delayed block.   catching my first bug.

edit:   but keep the blocks coming so i can iron out the notifications.
636  Bitcoin / Pools / Re: [14 PH] ** 5x AVALON6 GIVEAWAY ** Kano CKPool (kano.is) [0.9% PPLNS] US,DE,SG,JP on: February 01, 2016, 03:47:53 AM

lazy math is 10,000 th is good to go.   you can max at say 240 th  so with a careful rental  you have a 240/10000 or  a 2.4% shot with a 240 th rental

Actually my understanding of the contest is it's judged off the average hash rate or the "red line" on the hash rate chart.  So someone could in fact use 1000Th for 1/4 of the 5nd time and still qualify for the contest.

X

and do zero for the other 3/4 of 5Nd.   or go xtream and 10,000Th for 1/40 of 5Nd, and zero at 39/40th of 5Nd.   that might boost up your odds when it matters most.   i would avoid trying too hard though, luck might kick you in the rear.  
637  Bitcoin / Pools / Re: [14 PH] ** 5x AVALON6 GIVEAWAY ** Kano CKPool (kano.is) [0.9% PPLNS] US,DE,SG,JP on: February 01, 2016, 02:29:12 AM
NiceHash says 3 confirms before pending Bitcoin becomes available for me to use. How long will that take?

after the first one, about 17 minutes.    that first one can be a wait though.
638  Bitcoin / Pools / Re: CKPool Stats - iPhone App on: January 31, 2016, 05:30:00 PM
vh,

I just noticed that the CKPool Stats Support link on the App Store points to the Kano Bitcointalk thread...it seems to be more relevant to point it to this thread instead since this is where we talk about support for the app...Grin

Edit:  I guess my review of the app is the only one so far!

I submitted that with the app review request before starting this thread, that thread was the closest url (required) available to a support page at the time.   No sure if i can update it without another review.   I recheck to see, otherwise it will be updated with v1.2 submission.

edit: link changed and directing here.
639  Bitcoin / Pools / Re: CKPool Stats - iPhone App on: January 31, 2016, 02:17:31 AM
thanks.  

also.  you should be able to see solo worker data at this point.   there is still an anomaly floating about that i'm trying to trap but it should be healthy enough to access.   right now, solo worker address can be any syntax as long as the btc address is there address, address_worker, address.worker.   the logic will move up to the top level address and grab all related worker under the user.   as far as i can tell, there appears to be no workers without a corresponding solo users stat, and there's no immediate benefit to just see / track a single worker under the user umbrella.

Cool! It works!

It's kind of magic that this works without an app update. I guess you aggregate the data on your own backend, or something like that.

As per your description, when I put in my worker address for the Sidehack Compac Stick pool I see all the pool members. The way that "pool" is structured is that we all use an address provided by philipma1957, with individual workers to track shares.

It's a lot to look at, but it does work. No need to limit the view to individual workers on my account.

adjusted to go down the hierarchy but not up.   this is useful feedback.   appreciated since i don't see all the common use cases yet.   if it's not relevant i'll chime in accordingly and punt the request.

 
640  Bitcoin / Pools / Re: CKPool Stats - iPhone App on: January 30, 2016, 11:08:15 PM
It's very cool to wake up in the morning and see the pool notifications on my phone's home screen from the previous night.

Just sent a small donation.

thanks.  

also.  you should be able to see solo worker data at this point.   there is still an anomaly floating about that i'm trying to trap but it should be healthy enough to access.   right now, solo worker address can be any syntax as long as the btc address is there address, address_worker, address.worker.   the logic will move up to the top level address and grab all related worker under the user.   as far as i can tell, there appears to be no workers without a corresponding solo users stat, and there's no immediate benefit to just see / track a single worker under the user umbrella.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 [32] 33 34 35 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!