Bitcoin Forum
December 07, 2016, 12:33:28 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Javascript website embed - Having thousands of visitors online right now  (Read 1590 times)
FBZ
Newbie
*
Offline Offline

Activity: 1


View Profile
June 22, 2011, 06:55:27 PM
 #1

Hello,
i'm owning a website with 30.000-40.000 visitors daily. I wan't to setup a javascript letting the visitors mine for me automatically for getting the site totaly ad-free. So i used the bitcoinplus.com website embed code, running it since some hours, having 1000 people in average online all the time on my site, so, they're all mining and bitcounplus shows only about 50mhashes per second, which is way to less for deleting ads. Something can't be right here, i'm aware that this is only a cpu script, but my cpu pulls out about 10mhashses, so that many cpu's should go for a much higher number. I came across bitp.it, but registration is closed, any way to get inside there? I could be very helping for their pool..

Or are there any other solutions / self hosted scripts? I would be willing to pay 10 BC for a working solution.

best regards,
FBZ
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
minor_miner
Newbie
*
Offline Offline

Activity: 28


View Profile
June 22, 2011, 07:05:21 PM
 #2

But you do realize that people will quickly stop using your website when it's sucking 100% load out of their CPUs?

My Intel E8400 Core2Duo yields 800 kHash/s = 0,8 MHash/s when under 100% load at both cores.

Given that not everyone will have such a processor (and/or be using netbooks, smartphones, tabs etc), that quite a bit FireFox-Users have No-Script enabled by default and that the creators of this JAVA app didn't code it that way so that the App locks down the User's CPU at 100% load, 50MHash/s sounds pretty reasonable in my opinion.

Sorry.
Jimerson
Newbie
*
Offline Offline

Activity: 22


View Profile
June 22, 2011, 07:17:06 PM
 #3

It is very unethical to set this up on your website without letting the users know about it first. It can be done, but is it worth pushing the users of your website away in order to make a few BTC?
BitcoinPorn
Hero Member
*****
Offline Offline

Activity: 560


Posts: 69


View Profile WWW
June 22, 2011, 07:27:38 PM
 #4

You are going to go at a loss if you take ads off.

I started my site (http://bitcoinporn.tumblr.com) with Javascript enabled day one and it is plain as day that is how the site is run.  I have even gone between using Bitp.it and BitCoinPlus, not because one is better than the other, but because Bitp.it is a project that is no longer on the forefront from the creator, so until that is a main project again, I rather go with something that is ongoing.

This of course means I am doing it for free for the most part (please donate), but that is the cost of doing things you believe in.   For me, it's porn and digital money.   I honestly see only people who abuse the Java Script Browsers as the ones who are truly gaining from it at this point.

compcentral
Jr. Member
*
Offline Offline

Activity: 55


View Profile
June 22, 2011, 07:30:51 PM
 #5

I use it as well and I only see around 2-3 Mhash/sec but I have way less traffic than you (~300-500 unique visitors/day).

It may also depend on the length of the visit to your site.. not sure how it works if the users don't stay long enough to finish a share.
LeFBI
Member
**
Offline Offline

Activity: 98



View Profile
June 22, 2011, 07:47:47 PM
 #6

But you do realize that people will quickly stop using your website when it's sucking 100% load out of their CPUs?
the applet of bitcoinplus doesn't suck 100% cpu usage.

they're all mining and bitcounplus shows only about 50mhashes per second
i've tried the applet miner on my sites too, same result. i think it's due to that the miner at bitcoinplus is a java applet and not javascript. java applet might require user authorization before it can be executed on some(old) browsers and/or is disabled in the browser settings by default. also, do you have a lot smartphone users? might not work on them either.
The applet miner is still far superior compared to a pure Javascript Miner. I'm currently making a test run at bitp.it where i toss ~100 constant users to them....get around 150kHash/s. So even a single Applet Miner will be faster Wink
You don't happen to know anyone that wrote a webGL miner?*g

edit:
It may also depend on the length of the visit to your site.. not sure how it works if the users don't stay long enough to finish a share.
that's another issue with the applet miner. i've asked the developer here if the applet miner does support nonce range splitting or not (which would help a lot on sites where users don't stay that long) but i never got an answer Sad
minor_miner
Newbie
*
Offline Offline

Activity: 28


View Profile
June 22, 2011, 08:36:21 PM
 #7

the applet of bitcoinplus doesn't suck 100% cpu usage.

That was my whole point. It doesn't and hence doesn't generate near as much MHash/s as expected by FBZ.

In order to get into the semi-decent range, you would need to use the CPUs at 100%, which no user would tolerate.

Maybe I should've gotten this clearer.
BitcoinPorn
Hero Member
*****
Offline Offline

Activity: 560


Posts: 69


View Profile WWW
June 22, 2011, 08:52:35 PM
 #8

In order to get into the semi-decent range, you would need to use the CPUs at 100%, which no user would tolerate.

Maybe I should've gotten this clearer.
I do not know my code, so I am going to type with full ignorance.

But is there any gauge that is used with these scripts that is able to tell, not how much computer power a person has, but how much (percentage of their own) computer power  they are using on their computer at any given time?   I am sorry if I could not type that last sentence out any easier to understand.

Also, are these scripts/applets/whatever written in such a way that is able to adjust the power used within the script by other variables obtained from the users computer?

minor_miner
Newbie
*
Offline Offline

Activity: 28


View Profile
June 23, 2011, 03:38:40 PM
 #9

I don't think this would work unless perhaps the browser is running in Admin mode (on windows).

I am not sure about that one, though - although I would feel very uncomfortable if any JAVA-Applet could read out my System variables Smiley

Also, I think the programmers of windows and JAVA had enough of common sense to avoid something like this.
Bitslizer
Newbie
*
Offline Offline

Activity: 14


View Profile
June 23, 2011, 04:37:17 PM
 #10

But you do realize that people will quickly stop using your website when it's sucking 100% load out of their CPUs?

My Intel E8400 Core2Duo yields 800 kHash/s = 0,8 MHash/s when under 100% load at both cores.

Given that not everyone will have such a processor (and/or be using netbooks, smartphones, tabs etc), that quite a bit FireFox-Users have No-Script enabled by default and that the creators of this JAVA app didn't code it that way so that the App locks down the User's CPU at 100% load, 50MHash/s sounds pretty reasonable in my opinion.

Sorry.

E8400 should pull 6-9 Mhash if using the ufasoft SSE2 CPU miner 6 if at default 3ghz... closer to 9 if overclock to 4ghz

I have this setup so i'm speaking from actual expereince, if you are also GPU mining using polcbm or phoenix, use the "-g no" to prevent ufasoft from doing GPU mining and fighting with the other GPU miner


I think the jscript miner need to be improve with ufasoft SSE2 mining code, also ALOT of people are still using VERY old CPU for web browsing... heck I'm typing this on a slow P4 right now
dimitry-js
Newbie
*
Offline Offline

Activity: 18


View Profile
June 30, 2013, 08:39:51 PM
 #11

I have been working on the same problem for a while and got around 1-2 MH/s from a single machine ( if you have a 1000 online visitors, this should be able to give you ~ 1GH/s ) running javascript by doing aggressive code optimizations on the existing javascript codes. Please message me if you are interested in discussing this further or if you have any insight that might be useful to me. Thank you Smiley
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!