Bitcoin Forum
December 08, 2019, 12:20:06 AM *
News: Latest Bitcoin Core release: 0.19.0.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: 1 2 3 4 5 6 7 [All]
  Print  
Author Topic: In which language top gambling sites are coded ?  (Read 12502 times)
RocketSingh
Legendary
*
Offline Offline

Activity: 1624
Merit: 1030


View Profile
September 22, 2014, 08:59:54 PM
Last edit: March 31, 2019, 11:58:56 AM by RocketSingh
Merited by LoyceV (4), DarkStar_ (4), tyz (1), xandry (1)
 #1

Busy gambling sites need to provide high security as well as serve high traffic. In which language today's top sites are coded ? Which DB are they using ?

I'm listing a few sites below. Please post if u know about their configuration. If u know about a site which is not in the list, please post that too...

Following table is updated as per latest data found in this thread...


SiteServerBackendSocket libDB/StorageFrontend
Just-Dice.com                    Node.js               socket.io             redis+MySQL      
PrimeDice.comCowboyNode.jssocket.ioPostgreSQLEmberJS
DiceBitco.innginxNode.js+ExpressPrimusAngularJS
Dicenow.comnginxNode.js+Expresssocket.ioAngularJS
Satoshibet.comnginxNode.jssocket.iomySQL+mongoDB
MoneyPot.comCowboyNode.jssocket.ioPostgreSQLReact
PRCDice.euMS-IIS.NETSignalR
Win88.meMS-IIS.NETServiceStackAngularJS
Peerbet.orgMS-IIS.NET---
Dice.ninjacyclonePythonsockjs-cycloneMySQL
luckyb.itPython+Flask---
Rollin.ioApachePHP+laravelsocket.io
BitDice.menginxRoR+RabbitMQRedis+MySQL
PocketDice.ionginxPHPsocket.io---AngularJS
FastSlots.covanillanode.jssocket.iomySQLbackbone
FastDice.comApachePHP---------
777Coin.com---PHP---------
Bitvest.io---PHP---------


1575764406
Hero Member
*
Offline Offline

Posts: 1575764406

View Profile Personal Message (Offline)

Ignore
1575764406
Reply with quote  #2

1575764406
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
RoooooR
Legendary
*
Offline Offline

Activity: 1008
Merit: 1000


GigTricks.io | A CRYPTO ECOSYSTEM FOR ON-DEMAND EC


View Profile
September 22, 2014, 09:02:28 PM
 #2

0. Just-Dice.com - I don't know,

1. PrimeDice.com - EmberJS

2. DiceBitco.in - Angular, probably with Mean

4. PRCDice.eu - I don't want to know

3. Dice.ninja - Python

5. Win88.me - I don't know

6. Rollin.io - Php, it's copy from satoshibet.com, as all-dice

PD and JD must be using hadoop too, I'd like to know what SQL they are using.


            █ █ █ █ █
         ██           ██
       ██     █ █ █ █   ██
     ██    ██        ██
   ██   ██               
  ██   ██     ████████                  ██████████
            ███          ██   █████████     ██      ██████  ██   ███████  ██    ███   ███████
 ██   ██    ███              ██      ███    ██      ██          ███       ██   ███  ██
 ██   ██    ███  ██████  ██  ██      ███    ██      ██      ██  ███       ██  ███   ██
            ███      ██  ██  ██      ███    ██      ██      ██  ███       ██████     ███████
 ██   ██    ███      ██  ██  ██      ███    ██      ██      ██  ███       ██  ██           ██
             ██      ██  ██  ██      ███    ██      ██      ██  ███       ██   ███         ██
 ██   ██      ███████    ██   █████████     ██      ██      ██   ███████  ██    ███  ███████
  ██   ██                           ███
   ██    ██          ██            ███
     ██    ██ █ █ █ █   ██
       ██             ██
          █ █ █ █ █ █
























Telegram     Facebook     Twitter     Medium
-------------------------------------------------------------------
.WEBSITE. |█| .WHITEPAPER.












......BOUNTY......
-----------------------------------
..ANN THREAD..
RocketSingh
Legendary
*
Offline Offline

Activity: 1624
Merit: 1030


View Profile
September 22, 2014, 09:12:16 PM
 #3

0. Just-Dice.com - I don't know,

1. PrimeDice.com - EmberJS

2. DiceBitco.in - Angular, probably with Mean

4. PRCDice.eu - I don't want to know

3. Dice.ninja - Python

5. Win88.me - I don't know

6. Rollin.io - Php, it's copy from satoshibet.com, as all-dice

PD and JD must be using hadoop too, I'd like to know what SQL they are using.

If your info is correct, then the high volume sites are avoiding PHP-MySQL. Why so ? I have seen PHP-MySQL to efficiently handle big traffic. What may be the average concurrent connection of the top 3 ? Is there any security problem with PHP-MySQL coded gambling sites ?
RoooooR
Legendary
*
Offline Offline

Activity: 1008
Merit: 1000


GigTricks.io | A CRYPTO ECOSYSTEM FOR ON-DEMAND EC


View Profile
September 22, 2014, 09:18:26 PM
 #4

0. Just-Dice.com - I don't know,

1. PrimeDice.com - EmberJS

2. DiceBitco.in - Angular, probably with Mean

4. PRCDice.eu - I don't want to know

3. Dice.ninja - Python

5. Win88.me - I don't know

6. Rollin.io - Php, it's copy from satoshibet.com, as all-dice

PD and JD must be using hadoop too, I'd like to know what SQL they are using.

If your info is correct, then the high volume sites are avoiding PHP-MySQL. Why so ? I have seen PHP-MySQL to efficiently handle big traffic. What may be the average concurrent connection of the top 3 ? Is there any security problem with PHP-MySQL coded gambling sites ?
I don't have deep knowledge in security and SQL stuff, as I said, I'd like to know it too Smiley
Also that list is based on my prediction.


            █ █ █ █ █
         ██           ██
       ██     █ █ █ █   ██
     ██    ██        ██
   ██   ██               
  ██   ██     ████████                  ██████████
            ███          ██   █████████     ██      ██████  ██   ███████  ██    ███   ███████
 ██   ██    ███              ██      ███    ██      ██          ███       ██   ███  ██
 ██   ██    ███  ██████  ██  ██      ███    ██      ██      ██  ███       ██  ███   ██
            ███      ██  ██  ██      ███    ██      ██      ██  ███       ██████     ███████
 ██   ██    ███      ██  ██  ██      ███    ██      ██      ██  ███       ██  ██           ██
             ██      ██  ██  ██      ███    ██      ██      ██  ███       ██   ███         ██
 ██   ██      ███████    ██   █████████     ██      ██      ██   ███████  ██    ███  ███████
  ██   ██                           ███
   ██    ██          ██            ███
     ██    ██ █ █ █ █   ██
       ██             ██
          █ █ █ █ █ █
























Telegram     Facebook     Twitter     Medium
-------------------------------------------------------------------
.WEBSITE. |█| .WHITEPAPER.












......BOUNTY......
-----------------------------------
..ANN THREAD..
jspielberg
Sr. Member
****
Offline Offline

Activity: 448
Merit: 250



View Profile
September 23, 2014, 01:15:41 AM
 #5

I am under the impression that PrimeDice backend is written in php with a socket server in nodejs

I guess we gotta wait for stunna for comment on this
DaveSaldana123
Full Member
***
Offline Offline

Activity: 135
Merit: 100

A.K.A The Black Marvel


View Profile
September 23, 2014, 03:26:11 AM
 #6

I am under the impression that PrimeDice backend is written in php with a socket server in nodejs

I guess we gotta wait for stunna for comment on this

Hey stunna, did you wrote this code in php?

Stunna
Legendary
*
Offline Offline

Activity: 2436
Merit: 1143


Advisor @ Primedice.com, Stake.com


View Profile WWW
September 23, 2014, 04:06:32 AM
 #7

I am under the impression that PrimeDice backend is written in php with a socket server in nodejs

I guess we gotta wait for stunna for comment on this

Primedice uses Node.js alongside PostgreSQL. Ember.js (front end) 100% PHP free. We are able to handle a significant amount of load with clustered servers and heavy DB optimization. We completely threw away all the problematic PHP code that was used for PD2.


Stake.com Fastest growing crypto casino
Primedice.com The original bitcoin instant dice game
RocketSingh
Legendary
*
Offline Offline

Activity: 1624
Merit: 1030


View Profile
September 23, 2014, 09:19:55 AM
 #8

I am under the impression that PrimeDice backend is written in php with a socket server in nodejs

I guess we gotta wait for stunna for comment on this

Primedice uses Node.js alongside PostgreSQL. Ember.js (front end) 100% PHP free. We are able to handle a significant amount of load with clustered servers and heavy DB optimization. We completely threw away all the problematic PHP code that was used for PD2.



Thank U Stunna for dropping by. So, does it mean that till PD2 a few months ago PHP-PostgreSQL was doing fine in handling traffic ? I'm asking this because elsewhere another Dice site owner is moving from PHP to Java for better performance. Is PHP less efficient in handling concurrency just because it does not support threading like Java ? Then, how come FaceBook is running primarily on PHP ?

Since you bought the site in June it seems like there was less than 20 BTC wagered total. How much revenue did that generate?

We don't release the numbers, but it was a decent amount for a smaller site.

Why r u doing the next version with investment feature in Java instead of PHP ?

Java is better language and gives us the same performance as an exchange.

I'm sorry to contradict U in this regard. Why r u saying that Java is better than PHP ? Does not it depend on the coder ? Otherwise, how Facebook is primarily running on PHP ? AFAIK tomcat is not good to support big traffic, U need to go for JBOSS.

Moreover, if someone buys your PHP script, it would be difficult for him/her to upgrade to the next version, if that's written in Java. Not only the Xamp settings need to be exported to Tomcat, but also DB connection etc. need to be changed.


No we used mysql and tomcat proxy thru nginx is great for high concurrency. But this isn't the place to debate that.

Ok... one last question. What is the highest no. of concurrent connections u have experienced on FastBluff.com as per Google Analytics or whatever u have used ?

We were getting a good amount of people a day using the site (Not really going to release that since this is such a low starting bid, to be honest this deal is a steal, if that doesn't show that we don't care about the profit on the sale of site, I don't know what would. We want the site to have a good home and help some budding person get a good start if dice sites are something they want to do). The concurrency was more of a database issue, when we would be going to investments and rolls. We were getting a lot of rolls at once, that were taking down the site, so the php code actually has a limiter on it. With the java code we would be able remove that limiter, as well as we would be able to do investments better and faster.

I am not going to use this form to debate why I choose to move on from the php code to java, it was a decision that was made, when we were 100% sure we wanted to pursuit that, and just as music comes to musicians heads, we found other interest that made us want to build and do those.

The amount of things you are getting for 1 BTC is ridiculous you are getting 2 complete sites, 3 domain names.

We are a private company and start opening the books look like that, isn't something we choose to do now.

Also if my answers before where confusing, it was because I was on a phone now I am at a computer and can write out long descriptions to answer questions.

I'd also like to hear from site owners that allows investment whether PHP has any constraint about doing instant profit sharing ?
grux
Member
**
Offline Offline

Activity: 67
Merit: 10


View Profile
September 23, 2014, 03:25:58 PM
 #9


Thank U Stunna for dropping by. So, does it mean that till PD2 a few months ago PHP-PostgreSQL was doing fine in handling traffic ? I'm asking this because elsewhere another Dice site owner is moving from PHP to Java for better performance. Is PHP less efficient in handling concurrency just because it does not support threading like Java ? Then, how come FaceBook is running primarily on PHP ?


It's not that PHP or mySQL is necessarily bad, it can handle traffic just fine under the right conditions.Facebook and PHP can kinda be seen as a mistake from their end, they've put crazy amounts of money of compiling it to C++ to avoid the pitfalls of PHP. Node.js offers interesting and easy handling of async. PHP should have no effect on profit...
addi
Hero Member
*****
Offline Offline

Activity: 627
Merit: 500


https://satoshibet.com


View Profile WWW
September 23, 2014, 03:35:32 PM
 #10

SatoshiBet.com is coded in node.js

m19
Full Member
***
Offline Offline

Activity: 186
Merit: 100


View Profile
September 23, 2014, 04:38:31 PM
 #11

Most sites use Node.js for the backend. Mainly because it's the easiest (not always the best though) way to built a real time site handling a nice amount of users.

But my guess is we'll be seeing a lot more Go in the coming years. Built a small dice project in that handling 10.000 rolls in about 500ms.

Just Dice was also built in Node.js + MySQL by the way.
dooglus
Legendary
*
Offline Offline

Activity: 2758
Merit: 1210



View Profile
September 23, 2014, 05:11:22 PM
 #12

Most sites use Node.js for the backend. Mainly because it's the easiest (not always the best though) way to built a real time site handling a nice amount of users.

But my guess is we'll be seeing a lot more Go in the coming years. Built a small dice project in that handling 10.000 rolls in about 500ms.

Just Dice was also built in Node.js + MySQL by the way.

Just-Dice uses redis as well as MySQL.

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
grux
Member
**
Offline Offline

Activity: 67
Merit: 10


View Profile
September 23, 2014, 05:28:57 PM
 #13

Most sites use Node.js for the backend. Mainly because it's the easiest (not always the best though) way to built a real time site handling a nice amount of users.

But my guess is we'll be seeing a lot more Go in the coming years. Built a small dice project in that handling 10.000 rolls in about 500ms.

Just Dice was also built in Node.js + MySQL by the way.

Just-Dice uses redis as well as MySQL.

Did you store all the J-D bets on the MySQL DB, I've been trying to figure out a cool way to store crazy amounts of bets (think tens of terrabytes) without having the weirdest SQL database on earth.
Dobry Den
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
September 23, 2014, 05:33:19 PM
 #14

The main point of focus for building a gambling site is ensuring data/domain integrity at the database level.

You need to be able to answer questions like:

- What happens to in-flight DB transactions when they fail or the app crashes?
- Are all of your domain-atomic data updates wrapped in transactions? For example, if the server crashes right after you increment my account balance but before you decrement your house bankroll, is my balance rolled back or did you just persist a bad ledger?
- If your provably-fair mechanism depends on sequential, gapless nonces (like Just-Dice's "bet number"), can you actually guarantee a gapless sequence? For example, AUTOINCREMENT in MySQL and SERIAL In Postgres do not produce gapless sequences.
- What do you do when the values change out from under your DB transactions? If some button should only increment a value in the DB once per hour and someone double-clicks it (launches two queries in flight at once), is the value incremented twice (bad)? Is it incremented once only because the queries both incremented the initial value (bad)? Or is it only incremented once because the second query fails because of your one-increment-per-hour domain constraint (good)?

The stack you use for your application layer matters very little because what matters is your ability to sufficiently answer these types of questions.
m19
Full Member
***
Offline Offline

Activity: 186
Merit: 100


View Profile
September 23, 2014, 05:46:55 PM
 #15

The main point of focus for building a gambling site is ensuring data/domain integrity at the database level.

You need to be able to answer questions like:

- What happens to in-flight DB transactions when they fail or the app crashes?
- Are all of your domain-atomic data updates wrapped in transactions? For example, if the server crashes right after you increment my account balance but before you decrement your house bankroll, is my balance rolled back or did you just persist a bad ledger?
- If your provably-fair mechanism depends on sequential, gapless nonces (like Just-Dice's "bet number"), can you actually guarantee a gapless sequence? For example, AUTOINCREMENT in MySQL and SERIAL In Postgres do not produce gapless sequences.
- What do you do when the values change out from under your DB transactions? If some button should only increment a value in the DB once per hour and someone double-clicks it (launches two queries in flight at once), is the value incremented twice (bad)? Is it incremented once only because the queries both incremented the initial value (bad)? Or is it only incremented once because the second query fails because of your one-increment-per-hour domain constraint (good)?

The stack you use for your application layer matters very little because what matters is your ability to sufficiently answer these types of questions.

You shouldn't use the ID for nonces in my opinion. Just add an extra DB field for the nonce. Only way to really prove it.

I like your thoughts on transactions. This should be used more often I think. Using transactions they will only be committed when all are successful. Nothing will (should) happen if one query fails / the app crashes.

How would you deal with your last point? This is always interesting and I haven't found a very good way to deal with it.
RoooooR
Legendary
*
Offline Offline

Activity: 1008
Merit: 1000


GigTricks.io | A CRYPTO ECOSYSTEM FOR ON-DEMAND EC


View Profile
September 23, 2014, 06:28:47 PM
 #16

But my guess is we'll be seeing a lot more Go in the coming years. Built a small dice project in that handling 10.000 rolls in about 500ms.


10K bets in 500ms?.. incredible. I really wonder how did you achieve that? I mean, there are stuffs like calculating lucky number, inserting to DB, broadcasting to user again etc..


            █ █ █ █ █
         ██           ██
       ██     █ █ █ █   ██
     ██    ██        ██
   ██   ██               
  ██   ██     ████████                  ██████████
            ███          ██   █████████     ██      ██████  ██   ███████  ██    ███   ███████
 ██   ██    ███              ██      ███    ██      ██          ███       ██   ███  ██
 ██   ██    ███  ██████  ██  ██      ███    ██      ██      ██  ███       ██  ███   ██
            ███      ██  ██  ██      ███    ██      ██      ██  ███       ██████     ███████
 ██   ██    ███      ██  ██  ██      ███    ██      ██      ██  ███       ██  ██           ██
             ██      ██  ██  ██      ███    ██      ██      ██  ███       ██   ███         ██
 ██   ██      ███████    ██   █████████     ██      ██      ██   ███████  ██    ███  ███████
  ██   ██                           ███
   ██    ██          ██            ███
     ██    ██ █ █ █ █   ██
       ██             ██
          █ █ █ █ █ █
























Telegram     Facebook     Twitter     Medium
-------------------------------------------------------------------
.WEBSITE. |█| .WHITEPAPER.












......BOUNTY......
-----------------------------------
..ANN THREAD..
m19
Full Member
***
Offline Offline

Activity: 186
Merit: 100


View Profile
September 23, 2014, 07:19:40 PM
 #17

But my guess is we'll be seeing a lot more Go in the coming years. Built a small dice project in that handling 10.000 rolls in about 500ms.


10K bets in 500ms?.. incredible. I really wonder how did you achieve that? I mean, there are stuffs like calculating lucky number, inserting to DB, broadcasting to user again etc..

Hehe, I should have mentioned it only returned the profit/loss of those rolls combined to the user. It did simulate (so calculate the lucky number etc) and insert 10.000 rolls in the DB at once though, so with a single query, not repeating an insert query 10.000 times. It also updated the user balance at once too after all the rolls were done.

I bet this will be fast in other languages too.
RocketSingh
Legendary
*
Offline Offline

Activity: 1624
Merit: 1030


View Profile
September 24, 2014, 10:16:04 AM
 #18

But my guess is we'll be seeing a lot more Go in the coming years. Built a small dice project in that handling 10.000 rolls in about 500ms.


10K bets in 500ms?.. incredible. I really wonder how did you achieve that? I mean, there are stuffs like calculating lucky number, inserting to DB, broadcasting to user again etc..

Hehe, I should have mentioned it only returned the profit/loss of those rolls combined to the user. It did simulate (so calculate the lucky number etc) and insert 10.000 rolls in the DB at once though, so with a single query, not repeating an insert query 10.000 times. It also updated the user balance at once too after all the rolls were done.

I bet this will be fast in other languages too.

Committing 10k rolls at a time may go against the atomic consistency of the DB resulting in unexpected effect to the bankroll (+ve/-ve).
dogedice.me
Hero Member
*****
Offline Offline

Activity: 742
Merit: 517



View Profile WWW
September 24, 2014, 12:55:27 PM
 #19

BitDice.me and family use RoR with Redis & RabbitMQ as backend, MySQL as main database.

Most sites choose node.js because of websockets.

.BitDice.               ▄▄███▄▄
           ▄▄██▀▀ ▄ ▀▀██▄▄
      ▄▄█ ▀▀  ▄▄█████▄▄  ▀▀ █▄▄
  ▄▄██▀▀     ▀▀ █████ ▀▀     ▀▀██▄▄
██▀▀ ▄▄██▀      ▀███▀      ▀██▄▄ ▀▀██
██  ████▄▄       ███       ▄▄████  ██
██  █▀▀████▄▄  ▄█████▄  ▄▄████▀▀█  ██
██  ▀     ▀▀▀███████████▀▀▀     ▀  ██
             ███████████
██  ▄     ▄▄▄███████████▄▄▄     ▄  ██
██  █▄▄████▀▀  ▀█████▀  ▀▀████▄▄█  ██
██  ████▀▀       ███       ▀▀████  ██
██▄▄ ▀▀██▄      ▄███▄      ▄██▀▀ ▄▄██
  ▀▀██▄▄     ▄▄ █████ ▄▄     ▄▄██▀▀
      ▀▀█ ▄▄  ▀▀█████▀▀  ▄▄ █▀▀
           ▀▀██▄▄ ▀ ▄▄██▀▀
               ▀▀███▀▀
        ▄▄███████▄▄
     ▄███████████████▄
    ████▀▀       ▀▀████
   ████▀           ▀████
   ████             ████
   ████ ▄▄▄▄▄▄▄▄▄▄▄ ████
▄█████████████████████████▄
██████████▀▀▀▀▀▀▀██████████
████                   ████
████                   ████
████                   ████
████                   ████
████                   ████
████▄                 ▄████
████████▄▄▄     ▄▄▄████████
  ▀▀▀█████████████████▀▀▀
        ▀▀▀█████▀▀▀
▄▄████████████████████████████████▄▄
██████████████████████████████████████
█████                            █████
█████                            █████
█████                            █████
█████                            █████
█████                     ▄▄▄▄▄▄▄▄▄▄
█████                   ▄█▀▀▀▀▀▀▀▀▀▀█▄
█████                   ██          ██
█████                   ██          ██
█████                   ██          ██
██████████████████▀▀███ ██          ██
 ████████████████▄  ▄██ ██          ██
   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ██          ██
             ██████████ ██          ██
           ▄███████████ ██████▀▀██████
          █████████████  ▀████▄▄████▀
[/]
Dobry Den
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
September 24, 2014, 03:12:12 PM
 #20

Committing 10k rolls at a time may go against the atomic consistency of the DB resulting in unexpected effect to the bankroll (+ve/-ve).

The bulk insert is applied atomically, but each inserted row still has to respect its constraints.

One big reason you'd want to accumulate rolls in-memory and then commit them to the DB in bulk is if each roll needs to be applied sequentially to the DB and you don't want sequential roll insertion to be the bottleneck.

For example, imagine if each roll needs to calculate the total house bankroll to adjust the edge of the roll. The bankroll changes each roll. If each roll has to hit the DB server, then you're going to be dealing with a lot of insert contention.

Instead, let's say you only make one DB insertion at the turn of each second. As rolls come in, you buffer the results in memory (assured that the DB cannot change during this time) and then commit all the rolls at once.

Here's an idea: imagine if you write a function `roll(prevDB, params)` that returns `newDB` where prevDB and newDB are just associative datastructures that represent the state of the DB in memory.

That means you can `reduce(roll, prevDB, [params, ...])` where `[params, ...]` is a sequence of user roll parameters coming down, say, a websocket.

At the turn of each second, you stop the reduction, take the latest newDB value (the result of all the buffered rolls), and commit it to the DB. The post-commit value of the DB is now your `prevDB` that you feed back into the reduction and resume processing rolls.

BitCoinDream
Legendary
*
Offline Offline

Activity: 1526
Merit: 1024

The revolution will be digital


View Profile
September 25, 2014, 03:24:29 PM
 #21

Committing 10k rolls at a time may go against the atomic consistency of the DB resulting in unexpected effect to the bankroll (+ve/-ve).

The bulk insert is applied atomically, but each inserted row still has to respect its constraints.

One big reason you'd want to accumulate rolls in-memory and then commit them to the DB in bulk is if each roll needs to be applied sequentially to the DB and you don't want sequential roll insertion to be the bottleneck.

For example, imagine if each roll needs to calculate the total house bankroll to adjust the edge of the roll. The bankroll changes each roll. If each roll has to hit the DB server, then you're going to be dealing with a lot of insert contention.

Instead, let's say you only make one DB insertion at the turn of each second. As rolls come in, you buffer the results in memory (assured that the DB cannot change during this time) and then commit all the rolls at once.

Here's an idea: imagine if you write a function `roll(prevDB, params)` that returns `newDB` where prevDB and newDB are just associative datastructures that represent the state of the DB in memory.

That means you can `reduce(roll, prevDB, [params, ...])` where `[params, ...]` is a sequence of user roll parameters coming down, say, a websocket.

At the turn of each second, you stop the reduction, take the latest newDB value (the result of all the buffered rolls), and commit it to the DB. The post-commit value of the DB is now your `prevDB` that you feed back into the reduction and resume processing rolls.



I was thinking about what u said. Instead of storing in the memory pool, how about storing it in a text file and insert the data of that text file after a certain time interval, say one minute and remove the old data from there. Real time display can be done from the text file itself.

NLNico
Legendary
*
hacker
Offline Offline

Activity: 1876
Merit: 1248


DiceSites.com owner


View Profile WWW
September 26, 2014, 03:42:44 AM
Last edit: September 26, 2014, 04:46:15 AM by NLNico
 #22

I like the idea of knowing this, so let's make an overview (grouped by backend language, not really sorted)



SiteServerBackendSocket libDB/StorageFrontend
Just-Dice.com                    Node.js               socket.io             redis+MySQL      
PrimeDice.comCowboyNode.jssocket.ioPostgreSQLEmberJS
DiceBitco.innginxNode.js+ExpressPrimusAngularJS
Dicenow.comnginxNode.js+Expresssocket.ioAngularJS
Satoshibet.comnginxNode.jssocket.io
MoneyPot.comCowboyNode.jssocket.ioPostgreSQL
PRCDice.euMS-IIS.NETSignalR
Win88.meMS-IIS.NETServiceStackAngularJS
Peerbet.orgMS-IIS.NET---
Dice.ninjacyclonePythonsockjs-cycloneMySQL
luckyb.itPython+Flask---
Rollin.ioApachePHP+laravelsocket.io
BitDice.menginxRoR+RabbitMQRedis+MySQL


More / corrections? Let us know Smiley

a1choi
Sr. Member
****
Offline Offline

Activity: 324
Merit: 250


View Profile
September 26, 2014, 07:51:16 AM
 #23

thanks for sorting this out to a table format!  way easier on the eyes
BitCoinDream
Legendary
*
Offline Offline

Activity: 1526
Merit: 1024

The revolution will be digital


View Profile
September 26, 2014, 01:42:39 PM
 #24

I like the idea of knowing this, so let's make an overview (grouped by backend language, not really sorted)



SiteServerBackendSocket libDB/StorageFrontend
Just-Dice.com                    Node.js               socket.io             redis+MySQL      
PrimeDice.comCowboyNode.jssocket.ioPostgreSQLEmberJS
DiceBitco.innginxNode.js+ExpressPrimusAngularJS
Dicenow.comnginxNode.js+Expresssocket.ioAngularJS
Satoshibet.comnginxNode.jssocket.io
MoneyPot.comCowboyNode.jssocket.ioPostgreSQL
PRCDice.euMS-IIS.NETSignalR
Win88.meMS-IIS.NETServiceStackAngularJS
Peerbet.orgMS-IIS.NET---
Dice.ninjacyclonePythonsockjs-cycloneMySQL
luckyb.itPython+Flask---
Rollin.ioApachePHP+laravelsocket.io
BitDice.menginxRoR+RabbitMQRedis+MySQL


More / corrections? Let us know Smiley

That's a wonderful job done. Does anyone know what PocketDice.io is using ? Its also interesting to see that almost none of the players are using PHP.

NLNico
Legendary
*
hacker
Offline Offline

Activity: 1876
Merit: 1248


DiceSites.com owner


View Profile WWW
September 26, 2014, 02:34:47 PM
Last edit: September 26, 2014, 02:46:13 PM by NLNico
 #25

PocketDice.io = nginx, PHP, socket.io, AngularJS



About that lack of PHP sites:

IMO every developer has to look per project what language and frameworks to use.

Node.js is single threaded by design and is perfect for realtime communication between the browser and server. It just makes sense to use it for chatrooms, games, etc. aka dice/gambling sites Smiley

It doesn't mean that PHP is necessarily bad, it's just bad for this type of website. Better yet: the 2 websites with PHP still use socket.io (node.js) for the socket. On the other hand, suggesting a MEAN (MongoDB, Express, AngularJS, and Node.js) stack for a normal informative company CMS wouldn't make much sense either (IMO.) I would prefer PHP and/or an open-source CMS for that specific goal.

BitCoinDream
Legendary
*
Offline Offline

Activity: 1526
Merit: 1024

The revolution will be digital


View Profile
September 26, 2014, 03:09:05 PM
 #26

PocketDice.io = nginx, PHP, socket.io, AngularJS



About that lack of PHP sites:

IMO every developer has to look per project what language and frameworks to use.

Node.js is single threaded by design and is perfect for realtime communication between the browser and server. It just makes sense to use it for chatrooms, games, etc. aka dice/gambling sites Smiley

It doesn't mean that PHP is necessarily bad, it's just bad for this type of website. Better yet: the 2 websites with PHP still use socket.io (node.js) for the socket. On the other hand, suggesting a MEAN (MongoDB, Express, AngularJS, and Node.js) stack for a normal informative company CMS wouldn't make much sense either (IMO.) I would prefer PHP and/or an open-source CMS for that specific goal.

How do u get to know what is being used in the backend ? Moreover, as I understand, the use of socket.io is to auto-update the latest data in the front end. So, what would be the drawback if we store the data temporarily in a flat file and auto-refresh the flat file using JS ?

NLNico
Legendary
*
hacker
Offline Offline

Activity: 1876
Merit: 1248


DiceSites.com owner


View Profile WWW
September 26, 2014, 03:44:05 PM
 #27

Well, for example pocketdice.io sends a PHPSESSID cookie, so it's safe to say they use PHP ( https://pocketdice.io/index.php works too Wink). Besides that, you can easily see the socket.io socket.


A socket is an open connection between the client (browser) and server with bidirectional communication. If you make a bet, you send the info through the socket (and you get the result) and if others bet you get the bets from there. So it's all real-time, you only connect once. There are different libraries/servers for this, Socket.io is a popular one made in node.js. Perfect for a dice site.

An alternative is indeed getting new data with AJAX requests. With that, the browser would make a connection/request every x seconds to see if there are new bets. Obviously for a dice site this would be pretty terrible and give big lag and other problems. However AJAX is useful for other purposes.

addi
Hero Member
*****
Offline Offline

Activity: 627
Merit: 500


https://satoshibet.com


View Profile WWW
September 26, 2014, 07:05:33 PM
 #28

We use mySQL & mongo for db (satoshibet)

newIndia
Legendary
*
Offline Offline

Activity: 1750
Merit: 1032


View Profile
September 26, 2014, 08:51:14 PM
 #29

Well, for example pocketdice.io sends a PHPSESSID cookie, so it's safe to say they use PHP ( https://pocketdice.io/index.php works too Wink). Besides that, you can easily see the socket.io socket.


A socket is an open connection between the client (browser) and server with bidirectional communication. If you make a bet, you send the info through the socket (and you get the result) and if others bet you get the bets from there. So it's all real-time, you only connect once. There are different libraries/servers for this, Socket.io is a popular one made in node.js. Perfect for a dice site.

An alternative is indeed getting new data with AJAX requests. With that, the browser would make a connection/request every x seconds to see if there are new bets. Obviously for a dice site this would be pretty terrible and give big lag and other problems. However AJAX is useful for other purposes.

Is there any special server setup required to run Node.js & socket.io ? Can I try it on a PHP-MySQL shared hosting ?

NLNico
Legendary
*
hacker
Offline Offline

Activity: 1876
Merit: 1248


DiceSites.com owner


View Profile WWW
September 26, 2014, 11:39:59 PM
 #30

Yes, you need to run Node.js so you will need an own server (perhaps there are very few shared hosting packages that do support it.)

However you can always try it locally Smiley (and/or in a VM)

grux
Member
**
Offline Offline

Activity: 67
Merit: 10


View Profile
September 27, 2014, 02:37:56 AM
 #31

We use mySQL & mongo for db (satoshibet)

That's an odd combo, are you using mongo to cache numbers? (if you don't mind me asking)
newIndia
Legendary
*
Offline Offline

Activity: 1750
Merit: 1032


View Profile
September 27, 2014, 09:47:05 AM
 #32

We use mySQL & mongo for db (satoshibet)

Is not MongoDB a NoSQL database ? Can it go hand in hand with a RDBMS like MySQL ?

m19
Full Member
***
Offline Offline

Activity: 186
Merit: 100


View Profile
September 27, 2014, 11:25:17 AM
 #33

We use mySQL & mongo for db (satoshibet)

Is not MongoDB a NoSQL database ? Can it go hand in hand with a RDBMS like MySQL ?

It could be they use MongoDB for session storage. Although I personally prefer Redis for that.

Using a good ORM you can query both MySQL and MongoDB with the same syntax. For example Waterline ORM can do this.
newIndia
Legendary
*
Offline Offline

Activity: 1750
Merit: 1032


View Profile
September 28, 2014, 11:09:03 AM
 #34

Yes, you need to run Node.js so you will need an own server (perhaps there are very few shared hosting packages that do support it.)

However you can always try it locally Smiley (and/or in a VM)

Thank U for the clarification...

Does anyone know how many concurrent connection a gambling site experience at most ? Here I'm talking about the Web Server connection... NOT DB connection.

Dabs
Legendary
*
Offline Offline

Activity: 2534
Merit: 1330


The Concierge of Crypto


View Profile
September 28, 2014, 02:56:03 PM
 #35

Hmmm..... you know, I recently heard about this guy in my country (Philippines) that runs an online casino. I don't know which one, but he has an office somewhere in Makati and he's got a staff of 100 people (probably customer support.)

I'm pretty sure it's not a bitcoin casino.

I'll try to get in touch, but it would seem I would have a difficult time getting an appointment; unless I point out to him that "Hey, if you accept bitcoin deposits, you save 3% from all those real-bank transaction fees."

Do you guys have a suggestion what I should use if I wanted to run my own dice site? Are all these sites using VPS or Amazon or something? Seems like Node.js is a good start.

I'd almost have to be some Massively Multiplayer Dice Playing Game, ... World of Dicecraft or something - I wouldn't use that particular name... (there's Dragon's Tale, too.)

And I'm left wondering if I just use IRC for the chat part, but then I'd have to worry about ops and channel maintenance.

newIndia
Legendary
*
Offline Offline

Activity: 1750
Merit: 1032


View Profile
September 28, 2014, 07:00:37 PM
 #36

Hmmm..... you know, I recently heard about this guy in my country (Philippines) that runs an online casino. I don't know which one, but he has an office somewhere in Makati and he's got a staff of 100 people (probably customer support.)

I'm pretty sure it's not a bitcoin casino.

I'll try to get in touch, but it would seem I would have a difficult time getting an appointment; unless I point out to him that "Hey, if you accept bitcoin deposits, you save 3% from all those real-bank transaction fees."

Do you guys have a suggestion what I should use if I wanted to run my own dice site? Are all these sites using VPS or Amazon or something? Seems like Node.js is a good start.

I'd almost have to be some Massively Multiplayer Dice Playing Game, ... World of Dicecraft or something - I wouldn't use that particular name... (there's Dragon's Tale, too.)

And I'm left wondering if I just use IRC for the chat part, but then I'd have to worry about ops and channel maintenance.

Please ask him how is he currently accepting payment from customers ? AFAIK PayPal does not allow to do gambling payment. Moreover, does he have a license ?

Dabs
Legendary
*
Offline Offline

Activity: 2534
Merit: 1330


The Concierge of Crypto


View Profile
September 29, 2014, 12:52:26 AM
 #37

Please ask him how is he currently accepting payment from customers ? AFAIK PayPal does not allow to do gambling payment. Moreover, does he have a license ?

I'll ask. I don't know anything yet and can't make any assumptions, I was just guessing based on the story. (Also, supposedly a friend of a friend, so that's going to be a bit more difficult to track down.)

Dabs
Legendary
*
Offline Offline

Activity: 2534
Merit: 1330


The Concierge of Crypto


View Profile
September 29, 2014, 01:21:38 AM
 #38

Speaking of which, almost everyone is using HMAC-SHA-512.

Since HMAC is not broken, why not use HMAC-SHA-1 (which is what Google Authenticator 2FA uses) for the dice rolls? Or if that's questionable, why not HMAC-SHA-256?

In fact, HMAC-MD5 would probably work fine. (MD5 is broken, but not HMAC.)

You'll have a few gamblers trying to figure out the secrets.

Also, I thought I might ask here since all these sites are here, how do you get an unbiased roll of a 6 sided dice based on binary input (such as the hash result). The only thing I can think of is using the discard method. If I don't discard, there is a bias. On one hex digit, that's .25, on two, that's 0.015625.

Some sites use 5 digits, then discard if too high, for their million sided dice. I could use, maybe 12 hex digits for a trillion sided dice without discarding, while the bias may exist, it's too small at the point. (Who the hell is going to do a trillion rolls on one set of seeds to find out ... well, there's me ...)

So, as an alternative, I thought of inventing a new game using 8 sided dice instead. Much easier to map out to a hex digit, no bias. (Oh, I know I could just use a thousand sided dice, or a million sided dice like any of the top 5 dice sites, but I'm trying to do something different.)

NLNico
Legendary
*
hacker
Offline Offline

Activity: 1876
Merit: 1248


DiceSites.com owner


View Profile WWW
September 29, 2014, 01:49:02 AM
 #39

What is the problem with HMAC-SHA512? If there is no problem with it, why use a weaker alternative?

Dabs
Legendary
*
Offline Offline

Activity: 2534
Merit: 1330


The Concierge of Crypto


View Profile
September 29, 2014, 02:24:54 AM
 #40

What is the problem with HMAC-SHA512? If there is no problem with it, why use a weaker alternative?

Speed? (No seriously.) You know what, maybe it was just a dumb question, who is going to notice the speed difference even when you have a few thousand players online at the same time on one server. But I had to ask it anyway. I did some quick research, and I think I won't go with MD5 or SHA1 at least.

Someone else made this speed test on the hash functions:

Code:
MD5     10.275190830230713, 10.155328989028931, 10.250311136245728
SHA1    11.985718965530396, 11.976419925689697, 11.86873197555542
SHA256  16.662450075149536, 21.551337003707886, 17.016510963439941
SHA512  18.339390993118286, 18.11187481880188,  18.085782051086426

atodorov.org/blog/2013/02/05/performance-test-md5-sha1-sha256-sha512/

And there's an older one here: http://www.cryptopp.com/benchmarks.html

The HMAC, if I understand it correctly, does two hashing calculations. So if MD5 = 20, and SHA512 = 36 ... (Okay okay, maybe it's a really dumb question.)

NLNico
Legendary
*
hacker
Offline Offline

Activity: 1876
Merit: 1248


DiceSites.com owner


View Profile WWW
September 29, 2014, 02:55:17 AM
 #41

What is the problem with HMAC-SHA512? If there is no problem with it, why use a weaker alternative?

Speed? (No seriously.) You know what, maybe it was just a dumb question, who is going to notice the speed difference even when you have a few thousand players online at the same time on one server. But I had to ask it anyway. I did some quick research, and I think I won't go with MD5 or SHA1 at least.

Someone else made this speed test on the hash functions:

Code:
MD5     10.275190830230713, 10.155328989028931, 10.250311136245728
SHA1    11.985718965530396, 11.976419925689697, 11.86873197555542
SHA256  16.662450075149536, 21.551337003707886, 17.016510963439941
SHA512  18.339390993118286, 18.11187481880188,  18.085782051086426

atodorov.org/blog/2013/02/05/performance-test-md5-sha1-sha256-sha512/

And there's an older one here: http://www.cryptopp.com/benchmarks.html

The HMAC, if I understand it correctly, does two hashing calculations. So if MD5 = 20, and SHA512 = 36 ... (Okay okay, maybe it's a really dumb question.)

Quote
The main statement hashes all 10000 entries one by one. This statement is executed 1000 times in a loop, which is repeated 3 times.

So if I understand it correct it takes 18 seconds to make 30,000,000 SHA512 hashes according to that test? That's like 0.000006 second/hash? Sure MD5/SHA1 is 2x faster, but still it's basically nothing.

Better make sure your server, database, code (including client-side), etc. are all good than fixing non-issues :p

a1choi
Sr. Member
****
Offline Offline

Activity: 324
Merit: 250


View Profile
September 29, 2014, 06:00:45 AM
 #42

Dicebitco.in? its not safe after the issues. I would rather stay away from it

I dont think this thread was saying anything about the safety of the site, just what it's coded in..
newIndia
Legendary
*
Offline Offline

Activity: 1750
Merit: 1032


View Profile
September 29, 2014, 02:02:36 PM
 #43

What is the problem with HMAC-SHA512? If there is no problem with it, why use a weaker alternative?

Speed? (No seriously.) You know what, maybe it was just a dumb question, who is going to notice the speed difference even when you have a few thousand players online at the same time on one server. But I had to ask it anyway. I did some quick research, and I think I won't go with MD5 or SHA1 at least.

Someone else made this speed test on the hash functions:

Code:
MD5     10.275190830230713, 10.155328989028931, 10.250311136245728
SHA1    11.985718965530396, 11.976419925689697, 11.86873197555542
SHA256  16.662450075149536, 21.551337003707886, 17.016510963439941
SHA512  18.339390993118286, 18.11187481880188,  18.085782051086426

atodorov.org/blog/2013/02/05/performance-test-md5-sha1-sha256-sha512/

And there's an older one here: http://www.cryptopp.com/benchmarks.html

The HMAC, if I understand it correctly, does two hashing calculations. So if MD5 = 20, and SHA512 = 36 ... (Okay okay, maybe it's a really dumb question.)

Quote
The main statement hashes all 10000 entries one by one. This statement is executed 1000 times in a loop, which is repeated 3 times.

So if I understand it correct it takes 18 seconds to make 30,000,000 SHA512 hashes according to that test? That's like 0.000006 second/hash? Sure MD5/SHA1 is 2x faster, but still it's basically nothing.

Better make sure your server, database, code (including client-side), etc. are all good than fixing non-issues :p

I think a simple PHP-MySQL dice site may run fine on amazon cloud with real time update achieved by Ajax. All those node.js, socket.io seems redundant !!!

NLNico
Legendary
*
hacker
Offline Offline

Activity: 1876
Merit: 1248


DiceSites.com owner


View Profile WWW
September 29, 2014, 02:30:19 PM
 #44

No, AJAX would be terrible, you would have A LOT of requests, basically every second. You really should use a socket for that.

However, you can definitely make a socket server in PHP. There are some libraries for it too: Ratchet, React, Wrench, PHudBase, PHPws, etc.

A socket is an open connection between the client (browser) and server with bidirectional communication. If you make a bet, you send the info through the socket (and you get the result) and if others bet you get the bets from there. So it's all real-time, you only connect once. There are different libraries/servers for this, Socket.io is a popular one made in node.js. Perfect for a dice site.

An alternative is indeed getting new data with AJAX requests. With that, the browser would make a connection/request every x seconds to see if there are new bets. Obviously for a dice site this would be pretty terrible and give big lag and other problems. However AJAX is useful for other purposes.

newIndia
Legendary
*
Offline Offline

Activity: 1750
Merit: 1032


View Profile
October 05, 2014, 10:18:02 PM
 #45

No, AJAX would be terrible, you would have A LOT of requests, basically every second. You really should use a socket for that.

However, you can definitely make a socket server in PHP. There are some libraries for it too: Ratchet, React, Wrench, PHudBase, PHPws, etc.

A socket is an open connection between the client (browser) and server with bidirectional communication. If you make a bet, you send the info through the socket (and you get the result) and if others bet you get the bets from there. So it's all real-time, you only connect once. There are different libraries/servers for this, Socket.io is a popular one made in node.js. Perfect for a dice site.

An alternative is indeed getting new data with AJAX requests. With that, the browser would make a connection/request every x seconds to see if there are new bets. Obviously for a dice site this would be pretty terrible and give big lag and other problems. However AJAX is useful for other purposes.

I was checking the All Bets section of www.onedice.me ...is not this data refreshing is done through Ajax ?

MaryKris
Member
**
Offline Offline

Activity: 109
Merit: 10


View Profile
October 06, 2014, 01:01:47 AM
 #46

What about Primedice? Love to make one soon.

\\\\\\\\\\\\\\\\\\\\◥◣◢◤////////////////////
❖ Win88.me ❖ Fair, Trusted Online BTC Gambling ❖
////////////////////◢◤◥◣\\\\\\\\\\\\\\\\\\\\
BitCoinDream
Legendary
*
Offline Offline

Activity: 1526
Merit: 1024

The revolution will be digital


View Profile
October 06, 2014, 06:12:32 PM
 #47

What about Primedice? Love to make one soon.

Here u get the details of PrimeDice and a few others...

I like the idea of knowing this, so let's make an overview (grouped by backend language, not really sorted)



SiteServerBackendSocket libDB/StorageFrontend
Just-Dice.com                    Node.js               socket.io             redis+MySQL      
PrimeDice.comCowboyNode.jssocket.ioPostgreSQLEmberJS
DiceBitco.innginxNode.js+ExpressPrimusAngularJS
Dicenow.comnginxNode.js+Expresssocket.ioAngularJS
Satoshibet.comnginxNode.jssocket.io
MoneyPot.comCowboyNode.jssocket.ioPostgreSQL
PRCDice.euMS-IIS.NETSignalR
Win88.meMS-IIS.NETServiceStackAngularJS
Peerbet.orgMS-IIS.NET---
Dice.ninjacyclonePythonsockjs-cycloneMySQL
luckyb.itPython+Flask---
Rollin.ioApachePHP+laravelsocket.io
BitDice.menginxRoR+RabbitMQRedis+MySQL


More / corrections? Let us know Smiley

m19
Full Member
***
Offline Offline

Activity: 186
Merit: 100


View Profile
October 07, 2014, 01:34:36 PM
 #48

Any ideas on where the most gambling sites are hosted? Most of them use CloudFlare so you can't easily find the actual hosting provider.
Dabs
Legendary
*
Offline Offline

Activity: 2534
Merit: 1330


The Concierge of Crypto


View Profile
October 07, 2014, 01:37:21 PM
 #49

The other question is, what servers are these sites using? Where are those located? How much? What's a good domain name? (I mean, maybe, the extension.)

Obviously, some of them are on a dot com, but is that really a good idea or would something else be better. (This is to avoid certain governments from seizing the domain names.)

RocketSingh
Legendary
*
Offline Offline

Activity: 1624
Merit: 1030


View Profile
October 08, 2014, 10:32:06 PM
 #50

OP updated as per latest data found in the thread...
newIndia
Legendary
*
Offline Offline

Activity: 1750
Merit: 1032


View Profile
October 09, 2014, 09:33:31 AM
 #51

Well, for example pocketdice.io sends a PHPSESSID cookie, so it's safe to say they use PHP ( https://pocketdice.io/index.php works too Wink). Besides that, you can easily see the socket.io socket.


A socket is an open connection between the client (browser) and server with bidirectional communication. If you make a bet, you send the info through the socket (and you get the result) and if others bet you get the bets from there. So it's all real-time, you only connect once. There are different libraries/servers for this, Socket.io is a popular one made in node.js. Perfect for a dice site.

An alternative is indeed getting new data with AJAX requests. With that, the browser would make a connection/request every x seconds to see if there are new bets. Obviously for a dice site this would be pretty terrible and give big lag and other problems. However AJAX is useful for other purposes.

If the site is coded in Java, can the use of Java threading solve the problem of real time update ?

dogedice.me
Hero Member
*****
Offline Offline

Activity: 742
Merit: 517



View Profile WWW
October 09, 2014, 11:08:22 AM
 #52

Busy gambling sites need to provide high security as well as serve high traffic. In which language today's top sites are coded ? Which DB are they using ?

I'm listing a few sites below. Please post if u know about their configuration. If u know about a site which is not in the list, please post that too...

Following table is updated as per latest data found in this thread...





SiteServerBackendSocket libDB/StorageFrontend
Just-Dice.com                    Node.js               socket.io             redis+MySQL      
PrimeDice.comCowboyNode.jssocket.ioPostgreSQLEmberJS
DiceBitco.innginxNode.js+ExpressPrimusAngularJS
Dicenow.comnginxNode.js+Expresssocket.ioAngularJS
Satoshibet.comnginxNode.jssocket.io
MoneyPot.comCowboyNode.jssocket.ioPostgreSQL
PRCDice.euMS-IIS.NETSignalR
Win88.meMS-IIS.NETServiceStackAngularJS
Peerbet.orgMS-IIS.NET---
Dice.ninjacyclonePythonsockjs-cycloneMySQL
luckyb.itPython+Flask---
Rollin.ioApachePHP+laravelsocket.io
BitDice.menginxRoR+RabbitMQRedis+MySQL
BitDice.menginxPHPsocket.io---AngularJS
Satoshibet.com---------mySQL+mongo---



Hey, why there's second BitDice.me with PHP settings? That's ain't true Smiley

.BitDice.               ▄▄███▄▄
           ▄▄██▀▀ ▄ ▀▀██▄▄
      ▄▄█ ▀▀  ▄▄█████▄▄  ▀▀ █▄▄
  ▄▄██▀▀     ▀▀ █████ ▀▀     ▀▀██▄▄
██▀▀ ▄▄██▀      ▀███▀      ▀██▄▄ ▀▀██
██  ████▄▄       ███       ▄▄████  ██
██  █▀▀████▄▄  ▄█████▄  ▄▄████▀▀█  ██
██  ▀     ▀▀▀███████████▀▀▀     ▀  ██
             ███████████
██  ▄     ▄▄▄███████████▄▄▄     ▄  ██
██  █▄▄████▀▀  ▀█████▀  ▀▀████▄▄█  ██
██  ████▀▀       ███       ▀▀████  ██
██▄▄ ▀▀██▄      ▄███▄      ▄██▀▀ ▄▄██
  ▀▀██▄▄     ▄▄ █████ ▄▄     ▄▄██▀▀
      ▀▀█ ▄▄  ▀▀█████▀▀  ▄▄ █▀▀
           ▀▀██▄▄ ▀ ▄▄██▀▀
               ▀▀███▀▀
        ▄▄███████▄▄
     ▄███████████████▄
    ████▀▀       ▀▀████
   ████▀           ▀████
   ████             ████
   ████ ▄▄▄▄▄▄▄▄▄▄▄ ████
▄█████████████████████████▄
██████████▀▀▀▀▀▀▀██████████
████                   ████
████                   ████
████                   ████
████                   ████
████                   ████
████▄                 ▄████
████████▄▄▄     ▄▄▄████████
  ▀▀▀█████████████████▀▀▀
        ▀▀▀█████▀▀▀
▄▄████████████████████████████████▄▄
██████████████████████████████████████
█████                            █████
█████                            █████
█████                            █████
█████                            █████
█████                     ▄▄▄▄▄▄▄▄▄▄
█████                   ▄█▀▀▀▀▀▀▀▀▀▀█▄
█████                   ██          ██
█████                   ██          ██
█████                   ██          ██
██████████████████▀▀███ ██          ██
 ████████████████▄  ▄██ ██          ██
   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ██          ██
             ██████████ ██          ██
           ▄███████████ ██████▀▀██████
          █████████████  ▀████▄▄████▀
[/]
Skoupi
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250

Skoupi the Great


View Profile
October 09, 2014, 02:50:00 PM
 #53

Interesting post. I didn't know node.js is so popular already for web apps  Wink
RocketSingh
Legendary
*
Offline Offline

Activity: 1624
Merit: 1030


View Profile
October 09, 2014, 05:44:37 PM
 #54

Busy gambling sites need to provide high security as well as serve high traffic. In which language today's top sites are coded ? Which DB are they using ?

I'm listing a few sites below. Please post if u know about their configuration. If u know about a site which is not in the list, please post that too...

Following table is updated as per latest data found in this thread...





SiteServerBackendSocket libDB/StorageFrontend
Just-Dice.com                    Node.js               socket.io             redis+MySQL      
PrimeDice.comCowboyNode.jssocket.ioPostgreSQLEmberJS
DiceBitco.innginxNode.js+ExpressPrimusAngularJS
Dicenow.comnginxNode.js+Expresssocket.ioAngularJS
Satoshibet.comnginxNode.jssocket.io
MoneyPot.comCowboyNode.jssocket.ioPostgreSQL
PRCDice.euMS-IIS.NETSignalR
Win88.meMS-IIS.NETServiceStackAngularJS
Peerbet.orgMS-IIS.NET---
Dice.ninjacyclonePythonsockjs-cycloneMySQL
luckyb.itPython+Flask---
Rollin.ioApachePHP+laravelsocket.io
BitDice.menginxRoR+RabbitMQRedis+MySQL
BitDice.mePocketDice.ionginxPHPsocket.io---AngularJS
Satoshibet.com---------mySQL+mongo---



Hey, why there's second BitDice.me with PHP settings? That's ain't true Smiley

Oops... that was my editing mistake. I forgot to change the first column while editing the table for PocketDice.io.

@dogedice.me It is nice to see U here. Care to tell us the column values for dogedice.me/bitdice.me ?
dogedice.me
Hero Member
*****
Offline Offline

Activity: 742
Merit: 517



View Profile WWW
October 09, 2014, 08:45:58 PM
 #55

Busy gambling sites need to provide high security as well as serve high traffic. In which language today's top sites are coded ? Which DB are they using ?

I'm listing a few sites below. Please post if u know about their configuration. If u know about a site which is not in the list, please post that too...

Following table is updated as per latest data found in this thread...





SiteServerBackendSocket libDB/StorageFrontend
Just-Dice.com                    Node.js               socket.io             redis+MySQL      
PrimeDice.comCowboyNode.jssocket.ioPostgreSQLEmberJS
DiceBitco.innginxNode.js+ExpressPrimusAngularJS
Dicenow.comnginxNode.js+Expresssocket.ioAngularJS
Satoshibet.comnginxNode.jssocket.io
MoneyPot.comCowboyNode.jssocket.ioPostgreSQL
PRCDice.euMS-IIS.NETSignalR
Win88.meMS-IIS.NETServiceStackAngularJS
Peerbet.orgMS-IIS.NET---
Dice.ninjacyclonePythonsockjs-cycloneMySQL
luckyb.itPython+Flask---
Rollin.ioApachePHP+laravelsocket.io
BitDice.menginxRoR+RabbitMQRedis+MySQL
BitDice.mePocketDice.ionginxPHPsocket.io---AngularJS
Satoshibet.com---------mySQL+mongo---



Hey, why there's second BitDice.me with PHP settings? That's ain't true Smiley

Oops... that was my editing mistake. I forgot to change the first column while editing the table for PocketDice.io.

@dogedice.me It is nice to see U here. Care to tell us the column values for dogedice.me/bitdice.me ?
Thanks Smiley

I use tubesock to hijack rack and implement WebSockets in RoR, client code is my own with re-connection and error handling.

I do not have any front-end as it's single page app, JavaScript is written with CoffeScript and its pure jQuery with Bootstrap.

.BitDice.               ▄▄███▄▄
           ▄▄██▀▀ ▄ ▀▀██▄▄
      ▄▄█ ▀▀  ▄▄█████▄▄  ▀▀ █▄▄
  ▄▄██▀▀     ▀▀ █████ ▀▀     ▀▀██▄▄
██▀▀ ▄▄██▀      ▀███▀      ▀██▄▄ ▀▀██
██  ████▄▄       ███       ▄▄████  ██
██  █▀▀████▄▄  ▄█████▄  ▄▄████▀▀█  ██
██  ▀     ▀▀▀███████████▀▀▀     ▀  ██
             ███████████
██  ▄     ▄▄▄███████████▄▄▄     ▄  ██
██  █▄▄████▀▀  ▀█████▀  ▀▀████▄▄█  ██
██  ████▀▀       ███       ▀▀████  ██
██▄▄ ▀▀██▄      ▄███▄      ▄██▀▀ ▄▄██
  ▀▀██▄▄     ▄▄ █████ ▄▄     ▄▄██▀▀
      ▀▀█ ▄▄  ▀▀█████▀▀  ▄▄ █▀▀
           ▀▀██▄▄ ▀ ▄▄██▀▀
               ▀▀███▀▀
        ▄▄███████▄▄
     ▄███████████████▄
    ████▀▀       ▀▀████
   ████▀           ▀████
   ████             ████
   ████ ▄▄▄▄▄▄▄▄▄▄▄ ████
▄█████████████████████████▄
██████████▀▀▀▀▀▀▀██████████
████                   ████
████                   ████
████                   ████
████                   ████
████                   ████
████▄                 ▄████
████████▄▄▄     ▄▄▄████████
  ▀▀▀█████████████████▀▀▀
        ▀▀▀█████▀▀▀
▄▄████████████████████████████████▄▄
██████████████████████████████████████
█████                            █████
█████                            █████
█████                            █████
█████                            █████
█████                     ▄▄▄▄▄▄▄▄▄▄
█████                   ▄█▀▀▀▀▀▀▀▀▀▀█▄
█████                   ██          ██
█████                   ██          ██
█████                   ██          ██
██████████████████▀▀███ ██          ██
 ████████████████▄  ▄██ ██          ██
   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ██          ██
             ██████████ ██          ██
           ▄███████████ ██████▀▀██████
          █████████████  ▀████▄▄████▀
[/]
RocketSingh
Legendary
*
Offline Offline

Activity: 1624
Merit: 1030


View Profile
October 09, 2014, 09:02:11 PM
 #56

Busy gambling sites need to provide high security as well as serve high traffic. In which language today's top sites are coded ? Which DB are they using ?

I'm listing a few sites below. Please post if u know about their configuration. If u know about a site which is not in the list, please post that too...

Following table is updated as per latest data found in this thread...





SiteServerBackendSocket libDB/StorageFrontend
Just-Dice.com                    Node.js               socket.io             redis+MySQL      
PrimeDice.comCowboyNode.jssocket.ioPostgreSQLEmberJS
DiceBitco.innginxNode.js+ExpressPrimusAngularJS
Dicenow.comnginxNode.js+Expresssocket.ioAngularJS
Satoshibet.comnginxNode.jssocket.io
MoneyPot.comCowboyNode.jssocket.ioPostgreSQL
PRCDice.euMS-IIS.NETSignalR
Win88.meMS-IIS.NETServiceStackAngularJS
Peerbet.orgMS-IIS.NET---
Dice.ninjacyclonePythonsockjs-cycloneMySQL
luckyb.itPython+Flask---
Rollin.ioApachePHP+laravelsocket.io
BitDice.menginxRoR+RabbitMQRedis+MySQL
PocketDice.ionginxPHPsocket.io---AngularJS
Satoshibet.com---------mySQL+mongo---
bitdice.menginxRoRtubesock---CoffeScript



Hey, why there's second BitDice.me with PHP settings? That's ain't true Smiley

Oops... that was my editing mistake. I forgot to change the first column while editing the table for PocketDice.io.

@dogedice.me It is nice to see U here. Care to tell us the column values for dogedice.me/bitdice.me ?
Thanks Smiley

I use tubesock to hijack rack and implement WebSockets in RoR, client code is my own with re-connection and error handling.

I do not have any front-end as it's single page app, JavaScript is written with CoffeScript and its pure jQuery with Bootstrap.

I'm not very familiar with some of the technologies U r talking about. I have updated your row with what I understood. Please let me know if those are fine...

It'd be great to know which DB U r using here...
dogedice.me
Hero Member
*****
Offline Offline

Activity: 742
Merit: 517



View Profile WWW
October 09, 2014, 09:47:34 PM
 #57

Busy gambling sites need to provide high security as well as serve high traffic. In which language today's top sites are coded ? Which DB are they using ?

I'm listing a few sites below. Please post if u know about their configuration. If u know about a site which is not in the list, please post that too...

Following table is updated as per latest data found in this thread...





SiteServerBackendSocket libDB/StorageFrontend
Just-Dice.com                    Node.js               socket.io             redis+MySQL      
PrimeDice.comCowboyNode.jssocket.ioPostgreSQLEmberJS
DiceBitco.innginxNode.js+ExpressPrimusAngularJS
Dicenow.comnginxNode.js+Expresssocket.ioAngularJS
Satoshibet.comnginxNode.jssocket.io
MoneyPot.comCowboyNode.jssocket.ioPostgreSQL
PRCDice.euMS-IIS.NETSignalR
Win88.meMS-IIS.NETServiceStackAngularJS
Peerbet.orgMS-IIS.NET---
Dice.ninjacyclonePythonsockjs-cycloneMySQL
luckyb.itPython+Flask---
Rollin.ioApachePHP+laravelsocket.io
BitDice.menginxRoR+RabbitMQRedis+MySQL
PocketDice.ionginxPHPsocket.io---AngularJS
Satoshibet.com---------mySQL+mongo---
bitdice.menginxRoRtubesock---CoffeScript



Hey, why there's second BitDice.me with PHP settings? That's ain't true Smiley

Oops... that was my editing mistake. I forgot to change the first column while editing the table for PocketDice.io.

@dogedice.me It is nice to see U here. Care to tell us the column values for dogedice.me/bitdice.me ?
Thanks Smiley

I use tubesock to hijack rack and implement WebSockets in RoR, client code is my own with re-connection and error handling.

I do not have any front-end as it's single page app, JavaScript is written with CoffeScript and its pure jQuery with Bootstrap.

I'm not very familiar with some of the technologies U r talking about. I have updated your row with what I understood. Please let me know if those are fine...

It'd be great to know which DB U r using here...

BitDice.me & bitdice.me are the same Smiley

As main storage I use MySQL, Redis is being used to all realtime data & caching.

.BitDice.               ▄▄███▄▄
           ▄▄██▀▀ ▄ ▀▀██▄▄
      ▄▄█ ▀▀  ▄▄█████▄▄  ▀▀ █▄▄
  ▄▄██▀▀     ▀▀ █████ ▀▀     ▀▀██▄▄
██▀▀ ▄▄██▀      ▀███▀      ▀██▄▄ ▀▀██
██  ████▄▄       ███       ▄▄████  ██
██  █▀▀████▄▄  ▄█████▄  ▄▄████▀▀█  ██
██  ▀     ▀▀▀███████████▀▀▀     ▀  ██
             ███████████
██  ▄     ▄▄▄███████████▄▄▄     ▄  ██
██  █▄▄████▀▀  ▀█████▀  ▀▀████▄▄█  ██
██  ████▀▀       ███       ▀▀████  ██
██▄▄ ▀▀██▄      ▄███▄      ▄██▀▀ ▄▄██
  ▀▀██▄▄     ▄▄ █████ ▄▄     ▄▄██▀▀
      ▀▀█ ▄▄  ▀▀█████▀▀  ▄▄ █▀▀
           ▀▀██▄▄ ▀ ▄▄██▀▀
               ▀▀███▀▀
        ▄▄███████▄▄
     ▄███████████████▄
    ████▀▀       ▀▀████
   ████▀           ▀████
   ████             ████
   ████ ▄▄▄▄▄▄▄▄▄▄▄ ████
▄█████████████████████████▄
██████████▀▀▀▀▀▀▀██████████
████                   ████
████                   ████
████                   ████
████                   ████
████                   ████
████▄                 ▄████
████████▄▄▄     ▄▄▄████████
  ▀▀▀█████████████████▀▀▀
        ▀▀▀█████▀▀▀
▄▄████████████████████████████████▄▄
██████████████████████████████████████
█████                            █████
█████                            █████
█████                            █████
█████                            █████
█████                     ▄▄▄▄▄▄▄▄▄▄
█████                   ▄█▀▀▀▀▀▀▀▀▀▀█▄
█████                   ██          ██
█████                   ██          ██
█████                   ██          ██
██████████████████▀▀███ ██          ██
 ████████████████▄  ▄██ ██          ██
   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ██          ██
             ██████████ ██          ██
           ▄███████████ ██████▀▀██████
          █████████████  ▀████▄▄████▀
[/]
RocketSingh
Legendary
*
Offline Offline

Activity: 1624
Merit: 1030


View Profile
October 10, 2014, 11:39:42 AM
 #58

Busy gambling sites need to provide high security as well as serve high traffic. In which language today's top sites are coded ? Which DB are they using ?

I'm listing a few sites below. Please post if u know about their configuration. If u know about a site which is not in the list, please post that too...

Following table is updated as per latest data found in this thread...





SiteServerBackendSocket libDB/StorageFrontend
Just-Dice.com                    Node.js               socket.io             redis+MySQL      
PrimeDice.comCowboyNode.jssocket.ioPostgreSQLEmberJS
DiceBitco.innginxNode.js+ExpressPrimusAngularJS
Dicenow.comnginxNode.js+Expresssocket.ioAngularJS
Satoshibet.comnginxNode.jssocket.io
MoneyPot.comCowboyNode.jssocket.ioPostgreSQL
PRCDice.euMS-IIS.NETSignalR
Win88.meMS-IIS.NETServiceStackAngularJS
Peerbet.orgMS-IIS.NET---
Dice.ninjacyclonePythonsockjs-cycloneMySQL
luckyb.itPython+Flask---
Rollin.ioApachePHP+laravelsocket.io
BitDice.menginxRoR+RabbitMQRedis+MySQL
PocketDice.ionginxPHPsocket.io---AngularJS
Satoshibet.com---------mySQL+mongo---
bitdice.menginxRoRtubesock---CoffeScript



Hey, why there's second BitDice.me with PHP settings? That's ain't true Smiley

Oops... that was my editing mistake. I forgot to change the first column while editing the table for PocketDice.io.

@dogedice.me It is nice to see U here. Care to tell us the column values for dogedice.me/bitdice.me ?
Thanks Smiley

I use tubesock to hijack rack and implement WebSockets in RoR, client code is my own with re-connection and error handling.

I do not have any front-end as it's single page app, JavaScript is written with CoffeScript and its pure jQuery with Bootstrap.

I'm not very familiar with some of the technologies U r talking about. I have updated your row with what I understood. Please let me know if those are fine...

It'd be great to know which DB U r using here...

BitDice.me & bitdice.me are the same Smiley

As main storage I use MySQL, Redis is being used to all realtime data & caching.

Oops... U r already listed there. I dint notice. I'm Sorry...
247casino
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile WWW
October 10, 2014, 01:32:36 PM
 #59

a lot of high end scripts are compiled to protect the companies IP work

so they say what they use, but inside can have a hybrid of languages and often due if you actually get to the source

RocketSingh
Legendary
*
Offline Offline

Activity: 1624
Merit: 1030


View Profile
October 10, 2014, 03:46:04 PM
 #60

a lot of high end scripts are compiled to protect the companies IP work

so they say what they use, but inside can have a hybrid of languages and often due if you actually get to the source



Do u hav experience in running a real gambling site ? If yes, can u plz tell us the concurrent connections it experiences on an average ? By concurrent connections here I mean the real time visitors shown by Google analytics.
247casino
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile WWW
October 10, 2014, 08:25:30 PM
 #61

My experience is

Almost 20 years commercial net and 1M+ visitors a day to sites I've done over the years

Last couple of months I've been involved in a few different poker room projects

One is live and it caters to very high stakes games, usually you have a table of big money at a set time so they hardly need anything major, but they got a dedicated server and run a major poker room script.

A table with 9 players doesn't even move the load

Right now SWC is probably the major house, they have 300 to 500 players online all day

They use use cloud flare

We use the same script on one of the poker projects, a differnt one on another

3 More rooms are set to launch soon but they will cater to the low end of poker

Just look at the rooms on SWC you will see 98% of the action is micro bit tables, something the first two projects wanted nothing to do with

Now the othe projects wants the type of action SWC has

All the projects use dedicated high memory servers, a couple are win based the other are linux

Linux rooms cost a ton

Win rooms are cheap

Right now it seems most btc related gaming is dice related, not sure about that, haven't done dice, my projects involve poker rooms and sports betting and some nice canned video sucker games

video gaming the house has rigged just like slots in a casino, you set the script to peel off the juice you want 2% to 5% usually

poker is all about a rake

sports betting is the hardest thing to do right IMO

so no high volume connections to speak of with these rooms and I don't consider the action at SWC being 300-500 a lot of action

Now the dice games have huge load, lots of people and that is where you need to worry about connections

Poker rooms are memory intensive scripts and there's cheapies as well as expensive scripts

All are memory hogs

sports books, well there's a ton of ways to do them, it's more on the way you want to handle it, and how you feed live lines into it

the few major OLSB's seem to have their own custom lines and not just major vegas dumps

dice is where you have load issues

right now I have no real interest in doing any dice stuff, the reason is it is done

high stakes poker and high stakes books that's wide open for btc development IMO

Dabs
Legendary
*
Offline Offline

Activity: 2534
Merit: 1330


The Concierge of Crypto


View Profile
October 11, 2014, 12:17:17 AM
 #62

And don't forget, you can make poker provably fair. Or almost.

b!z
Legendary
*
Offline Offline

Activity: 1582
Merit: 1009



View Profile
October 11, 2014, 04:10:25 AM
 #63

And don't forget, you can make poker provably fair. Or almost.

Hmm? I remember reading a thread where a few members were trying to accomplish it. I don't think it's been implemented ever?
Dabs
Legendary
*
Offline Offline

Activity: 2534
Merit: 1330


The Concierge of Crypto


View Profile
October 11, 2014, 05:27:14 AM
 #64

And don't forget, you can make poker provably fair. Or almost.

Hmm? I remember reading a thread where a few members were trying to accomplish it. I don't think it's been implemented ever?

Would that be my thread?
https://bitcointalk.org/index.php?topic=274068.0;all

I believe, it's been accomplished, I just never got players. If you want to try, get a buddy to play heads up against you, I'll deal. Basically, I wanted people to try it out for real, instead of all being theory. I've tested it (by myself) but you never know until you actually do it.

m19
Full Member
***
Offline Offline

Activity: 186
Merit: 100


View Profile
October 11, 2014, 01:51:42 PM
 #65

A server seed + combined client seed of all players currently participating in a round could make Poker provably fair?
Dabs
Legendary
*
Offline Offline

Activity: 2534
Merit: 1330


The Concierge of Crypto


View Profile
October 11, 2014, 02:23:37 PM
 #66

A server seed + combined client seed of all players currently participating in a round could make Poker provably fair?

It depends on what you consider provably fair, since poker has other factors involved; but yes, in my version that makes the shuffle and deal fair since all players have input on how the deck is randomized. The dealer or site knows it ,all, the players could collude, and someone can DDoS you, but that's true for most poker sites.

espringe
Full Member
***
Offline Offline

Activity: 154
Merit: 101


View Profile
October 11, 2014, 02:54:24 PM
 #67

It depends on what you consider provably fair, since poker has other factors involved; but yes, in my version that makes the shuffle and deal fair since all players have input on how the deck is randomized. The dealer or site knows it ,all, the players could collude, and someone can DDoS you, but that's true for most poker sites.

I read your scheme, but I honestly don't understand the utility it provides? It only works if all N players trust all other players. If one of the players works for the house not only can they see all cards, he can dictate the outcome of the shuffle. If you already trust all the players in the game, it's probably extremely unlikely that you are worried about the house playing favorites..
Dabs
Legendary
*
Offline Offline

Activity: 2534
Merit: 1330


The Concierge of Crypto


View Profile
October 11, 2014, 03:14:51 PM
 #68

It depends on what you consider provably fair, since poker has other factors involved; but yes, in my version that makes the shuffle and deal fair since all players have input on how the deck is randomized. The dealer or site knows it ,all, the players could collude, and someone can DDoS you, but that's true for most poker sites.

I read your scheme, but I honestly don't understand the utility it provides? It only works if all N players trust all other players. If one of the players works for the house not only can they see all cards, he can dictate the outcome of the shuffle. If you already trust all the players in the game, it's probably extremely unlikely that you are worried about the house playing favorites..

You're talking about super-users or "God mode" players. That's a problem with all poker sites. My scheme does not address that specifically. The shuffle is still going to be very difficult to dictate as it would require several "tries" to get the preferred cards in the least amount of time, by the time the players send their committed client seeds. This can be minimized or negated by the dealer first accepting only the hash of the client seed, until all players have committed, then accepting all the client seeds, then shuffling quickly, then dealing.

Although, in practice, this can all be done in under a second.

The scheme is not about trusting the other players, it's about knowing for sure that the deal or shuffle, with a certain level of confidence, is fair or provably fair, and not just because the site said so. The usual problems that plague poker sites will be dealt with differently.

I mean, where would you rather play? In a provably fair game? Or in a probably fair game? (investors and house not included.)

If the house cheats, they will be discovered eventually (Absolute Poker and Ultimate Bet, for example.)

espringe
Full Member
***
Offline Offline

Activity: 154
Merit: 101


View Profile
October 11, 2014, 04:17:12 PM
 #69

I mean, where would you rather play? In a provably fair game? Or in a probably fair game? (investors and house not included.)

I'm not trying to be a dick here, but I'd rather use the status-quo. If you're going to add so much complexity, you're going to need to add some advantages, which I can't see what they are?

The shuffle is still going to be very difficult to dictate as it would require several "tries" to get the preferred cards

Who cares? Computers are fast. A million shuffles in a second doesn't seem impossible to me. But anyway, if you can have many tries, even picking the best of 2 or 3 gives you a mind-boggling advantage.


Quote
This can be minimized or negated by the dealer first accepting only the hash of the client seed, until all players have committed, then accepting all the client seeds, then shuffling quickly, then dealing.

This just gets worse. What happens if the player disconnects between sending the hash of the seed, and the seed to the server?

Dabs
Legendary
*
Offline Offline

Activity: 2534
Merit: 1330


The Concierge of Crypto


View Profile
October 11, 2014, 04:36:49 PM
 #70

I'm not trying to be a dick here, but I'd rather use the status-quo. If you're going to add so much complexity, you're going to need to add some advantages, which I can't see what they are?

You, as the player, can see the deck (face down), you can see the cards (face down) being dealt to other players, you can see your own cards, and you can see what's on the table, and verify that all the cards (that you can see face up) are what they are supposed to be. That's the advantage. All other poker schemes I've seen, in current implementation, do not offer that at all.

For the player that does not bother to check, it doesn't matter. For those that do, or if their client is set up that way (maybe it's open source) then verification is quick.

This just gets worse. What happens if the player disconnects between sending the hash of the seed, and the seed to the server?

Most poker sites auto-fold that particular player.

espringe
Full Member
***
Offline Offline

Activity: 154
Merit: 101


View Profile
October 11, 2014, 04:45:36 PM
 #71

For the player that does not bother to check, it doesn't matter. For those that do, or if their client is set up that way (maybe it's open source) then verification is quick.

Put it this way, what type of cheating does your scheme make impossible that was previously possible? By my reasoning it is: "When all N players trust each other -- the house can no longer pick favorites"

Maybe that is something some people some people worry about, but I think most of the time you are playing with people you don't fully trust or know. And when you do play amongst trusted friends, I don't think many people worry the house unfairly advantageous one of them...

Most poker sites auto-fold that particular player.

Sure, but in your scheme -- how do you even shuffle the deck?
Dabs
Legendary
*
Offline Offline

Activity: 2534
Merit: 1330


The Concierge of Crypto


View Profile
October 12, 2014, 03:14:39 PM
 #72

Most poker sites auto-fold that particular player.

Sure, but in your scheme -- how do you even shuffle the deck?

Shuffle it without the player who folded? The other players have already contributed their client seeds. The one who disconnected isn't going to play anymore, so the game can continue without him. But to prevent intentional disconnects and to encourage people to invest in a stable internet connection, there must be a rule like this in place. Perhaps if the hand has not yet started, then the player who disconnected does not suffer a loss (like he never bet at all.) like he sat out that round.

As for your first question, uh, I'm not sure. I thought it was a good idea. I mean, it's certainly better than existing sites. The house shouldn't care what the players do, since the house takes a rake almost all the time. (except on no flop no drop)

*edit* Eric, we're getting off-topic. Sorry. Post in my poker thread (so it gets it's annual bump too.)

BitCoinDream
Legendary
*
Offline Offline

Activity: 1526
Merit: 1024

The revolution will be digital


View Profile
October 18, 2014, 11:00:47 PM
 #73

Well, for example pocketdice.io sends a PHPSESSID cookie, so it's safe to say they use PHP ( https://pocketdice.io/index.php works too Wink). Besides that, you can easily see the socket.io socket.


A socket is an open connection between the client (browser) and server with bidirectional communication. If you make a bet, you send the info through the socket (and you get the result) and if others bet you get the bets from there. So it's all real-time, you only connect once. There are different libraries/servers for this, Socket.io is a popular one made in node.js. Perfect for a dice site.

An alternative is indeed getting new data with AJAX requests. With that, the browser would make a connection/request every x seconds to see if there are new bets. Obviously for a dice site this would be pretty terrible and give big lag and other problems. However AJAX is useful for other purposes.

Do you think Server-Sent Events of HTML5 can also be used as an alternative of websocket ? In this case, the server notifies the client for a new update. Reference: http://www.html5rocks.com/en/tutorials/eventsource/basics/#toc-introduction-differences.

FastSlots
Hero Member
*****
Offline Offline

Activity: 1008
Merit: 500



View Profile
October 20, 2014, 10:52:34 PM
 #74

FastSlots (not a top site yet, but gaining traction) is build on mysql, node.js, socket.io, and backbone. We chose mysql because it supports transactions and node.js because it's low latency and it makes it easy to use websockets. Backbone mostly because it's more lightweight than angular, but I'm starting to think that might have been a mistake...

I'm wondering why so many sites are using an nginx server instead of vanilla node. Is that just for load balancing or are there other advantages of nginx?
RocketSingh
Legendary
*
Offline Offline

Activity: 1624
Merit: 1030


View Profile
October 21, 2014, 01:08:52 PM
 #75

FastSlots (not a top site yet, but gaining traction) is build on mysql, node.js, socket.io, and backbone. We chose mysql because it supports transactions and node.js because it's low latency and it makes it easy to use websockets. Backbone mostly because it's more lightweight than angular, but I'm starting to think that might have been a mistake...

I'm wondering why so many sites are using an nginx server instead of vanilla node. Is that just for load balancing or are there other advantages of nginx?

Thanks for the info. OP updated with your data. Please check at your end if they are correct.
FastSlots
Hero Member
*****
Offline Offline

Activity: 1008
Merit: 500



View Profile
October 21, 2014, 01:16:41 PM
 #76

Thanks for adding us RocketSingh, great to be on that list.

Maybe it would be best to change our server to simply 'node.js', to not get people into thinking we're using vanilla.js as a server (which would not make sense, but still..)
RocketSingh
Legendary
*
Offline Offline

Activity: 1624
Merit: 1030


View Profile
November 13, 2014, 08:47:25 PM
 #77

Thanks for adding us RocketSingh, great to be on that list.

Maybe it would be best to change our server to simply 'node.js', to not get people into thinking we're using vanilla.js as a server (which would not make sense, but still..)

I'm confused !!! Then what is the purpose of vanilla ? Sorry, I'm not aware of these technologies.
BitCoinDream
Legendary
*
Offline Offline

Activity: 1526
Merit: 1024

The revolution will be digital


View Profile
November 16, 2014, 03:18:39 PM
 #78

And don't forget, you can make poker provably fair. Or almost.

Hmm? I remember reading a thread where a few members were trying to accomplish it. I don't think it's been implemented ever?

What is the specialty of Poker for which achieving provable fairness is difficult ?

Dabs
Legendary
*
Offline Offline

Activity: 2534
Merit: 1330


The Concierge of Crypto


View Profile
November 17, 2014, 01:55:55 AM
 #79

And don't forget, you can make poker provably fair. Or almost.

Hmm? I remember reading a thread where a few members were trying to accomplish it. I don't think it's been implemented ever?

What is the specialty of Poker for which achieving provable fairness is difficult ?

You have to shuffle the cards, deal them, and the players can't tell what the other cards are even after the game. The part where discarded cards and mucked and folded hands ... thats the difficult part.

RocketSingh
Legendary
*
Offline Offline

Activity: 1624
Merit: 1030


View Profile
December 26, 2014, 06:53:28 PM
 #80

There multiple new gambling sites in the market now. Would like to know if they are interested to share their technology behind...
RHavar
Legendary
*
Offline Offline

Activity: 1848
Merit: 1486



View Profile
December 26, 2014, 11:47:34 PM
Last edit: October 14, 2015, 08:41:27 PM by RHavar
 #81

The server 'cowboy' you list for MoneyPot.com and PrimeDoes is just a header that heroku's reverse proxy adds. The actual webserver MoneyPot uses is raw node.js (for better or worse). The front-end framework we use is react (from facebook) and works quite well. BTW the entire MoneyPot.com stack is open source: https://github.com/moneypot
RocketSingh
Legendary
*
Offline Offline

Activity: 1624
Merit: 1030


View Profile
December 29, 2014, 11:25:03 PM
 #82

The server 'cowboy' you list for MoneyPot.com and PrimeDoes doesn't exist, that's just a header that heroku's reverse proxy adds. The actual webserver MoneyPot uses is raw node.js (for better or worse). The front-end framework we use is react (from facebook) and works quite well. BTW the entire MoneyPot.com stack is open source: https://github.com/moneypot

Frontend updated as React for MoneyPot. As I can see, the backend is already node.js for both PD & MP. If it is not CowBoy, then what are the servers for them ?
newIndia
Legendary
*
Offline Offline

Activity: 1750
Merit: 1032


View Profile
December 31, 2014, 10:38:58 AM
 #83

I can see FortuneJack is advertising a LOT. Would like to know the technology behind their website.

baumi
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile WWW
December 31, 2014, 11:39:48 AM
 #84

Hi guys,

technologies behind CoinXerox are:

  • nginx as reverse proxy
  • backend is coded in Python
  • PostgreSQL for data storage
  • sockjs for handling WebSocket connections
  • frontend is coded in plain JavaScript (no framework)

nginx has ultimate performance and it's as simple to use as possible.

Python is used because we love Python. Some people may argue that Python is slow but they are not right until Python is used for matrix calculations or something similar. Bottleneck of today's typical transaction based applications are databases, not programming languages.

PostgreSQL is mature full featured database. Its features list is infinity.

Zawamiya
Hero Member
*****
Offline Offline

Activity: 527
Merit: 500



View Profile
December 31, 2014, 08:04:38 PM
 #85

i think they are coded in php,asp and flash using solid frameworks
IMO asp C# is a good choice to create such site with higher security
RocketSingh
Legendary
*
Offline Offline

Activity: 1624
Merit: 1030


View Profile
January 02, 2015, 06:09:49 PM
 #86

i think they are coded in php,asp and flash using solid frameworks
IMO asp C# is a good choice to create such site with higher security

IMO ASP is not good at all for gambling sites...
RocketSingh
Legendary
*
Offline Offline

Activity: 1624
Merit: 1030


View Profile
January 20, 2015, 04:40:44 PM
 #87

Just wondering... in which language recent Ponzi Games are coded ?
newIndia
Legendary
*
Offline Offline

Activity: 1750
Merit: 1032


View Profile
January 21, 2015, 08:55:35 AM
 #88

Just wondering... in which language recent Ponzi Games are coded ?

I think simple PHP-MySQL is enough.

myohmy81
Sr. Member
****
Offline Offline

Activity: 461
Merit: 251


View Profile
January 21, 2015, 08:58:48 AM
 #89

i think they are coded in php,asp and flash using solid frameworks
IMO asp C# is a good choice to create such site with higher security

IMO ASP is not good at all for gambling sites...

ASP is terrible

recommend PHP,JSP
fox19891989
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1000



View Profile
January 21, 2015, 09:11:28 AM
 #90

Just wondering... in which language recent Ponzi Games are coded ?

I think simple PHP-MySQL is enough.

Yes, and most of them are developed by one boss, the biggest scammer.
Targetbit
Sr. Member
****
Offline Offline

Activity: 325
Merit: 250


View Profile
January 21, 2015, 10:09:33 AM
 #91

I see weeklyponzi.com script on many sites. Is that a free script? where to download?
Mitchell
Legendary
*
Offline Offline

Activity: 2338
Merit: 1429


Verified awesomeness ✔


View Profile WWW
January 21, 2015, 10:35:32 AM
 #92

No sir. Those sites are trying to scam you. No one has the script apart from myself, the owner.
Shut up, you are using a free script and you know it. You might have changed it a bit, but it's still a free and publicly available script that anyone with some form of intelligence could deploy.

I see weeklyponzi.com script on many sites. Is that a free script? where to download?
Yes, it is a free script that was released in March 2014: Thread and Github.

████████████████████████████
████████▀▀ █▀ █▀ ▀██████████
█████████▄ ▄▄▄▄▄▄███████████
██████████▀     ▀  ▀████████
███████▀ ▀  ▄█▀▀▀█▀▀████████
██████▄      █▄  ▀▀  ▀██████
██████         ▄▄█▄ ▄ ▀█████
█████ ▄         ▀▀ ▄ ▀ █████
██████▌          █▀█▀ ▐█████
███████  ▄▌         ▄ ██████
████████▄█         ▄████████
█████████▀     ▄▄ ▄█████████
████████████████████████████
.JACKMATE'S...........
.
MAJESTIC..
████████████████████████
███████████████████████
████████████████████████
████████████████████████
████████████████████████
████████████████████████
████████████████████████
████████████████████████
████████████████████████
████████████████████████
████████████████████████
████████████████████████
████████████████████████
.
..WIN 1 BITCOIN ON EVERY PREMIER LEAGUE MATCHDAY..
████████████████████████████████
████████████▀█▀ ▀█▀█▀███████████
███████████▄ ▄▄▄▄▄▄▄████████████
███████████▀▀▄▄▄▄▄▄▄▄███████████
█████████▀▄ ██▀▄▄▄ ▀ ▄▀█████████
███████▀ ▀█████▄▄▄█▄▄▄██████████
███████▀▄████████▀  ▀█ █▐███████
███████ ▀█████████▄█▀▀██ ███████
████████ ███▀██████ ▄ ██ ███████
████████▌▐▀▄ ██████████ ▄███████
█████████▄██▌▐█████▀██ █████████
████████████▄▀▀▀▀▀▄ ▀▄██████████
████████████████████████████████
.
.JOIN US - IT'S FREE! .
WinVery.com
Full Member
***
Offline Offline

Activity: 235
Merit: 100



View Profile
January 21, 2015, 12:23:46 PM
 #93

Our system is a combination of java, delphi, and php.  Cool
RocketSingh
Legendary
*
Offline Offline

Activity: 1624
Merit: 1030


View Profile
January 26, 2015, 10:21:18 AM
 #94

Our system is a combination of java, delphi, and php.  Cool

Both Java & PHP in a single APP !!! Moreover, what is Delphi ? I mean where is it used ? Can you please fill up the following for WinVery.com ?

Site = WinVery.com
Server   
Backend   
Socket lib   
DB/Storage   
Frontend
baristor
Sr. Member
****
Offline Offline

Activity: 476
Merit: 260


View Profile
January 26, 2015, 10:25:39 AM
 #95

interesting article. To know the language code of the gambler sites Cheesy are u planning to start one yourself?
adaseb
Legendary
*
Offline Offline

Activity: 2170
Merit: 1161



View Profile
January 26, 2015, 10:39:41 AM
 #96

Most websites that are interactived these days are written in js. Long time ago it was probably php but much has changed in the language.

████████████████████████████
████████▀▀ █▀ █▀ ▀██████████
█████████▄ ▄▄▄▄▄▄███████████
██████████▀     ▀  ▀████████
███████▀ ▀  ▄█▀▀▀█▀▀████████
██████▄      █▄  ▀▀  ▀██████
██████         ▄▄█▄ ▄ ▀█████
█████ ▄         ▀▀ ▄ ▀ █████
██████▌          █▀█▀ ▐█████
███████  ▄▌         ▄ ██████
████████▄█         ▄████████
█████████▀     ▄▄ ▄█████████
████████████████████████████
.JACKMATE'S...........
.
MAJESTIC..
████████████████████████
███████████████████████
████████████████████████
████████████████████████
████████████████████████
████████████████████████
████████████████████████
████████████████████████
████████████████████████
████████████████████████
████████████████████████
████████████████████████
████████████████████████
.
..WIN 1 BITCOIN ON EVERY PREMIER LEAGUE MATCHDAY..
████████████████████████████████
████████████▀█▀ ▀█▀█▀███████████
███████████▄ ▄▄▄▄▄▄▄████████████
███████████▀▀▄▄▄▄▄▄▄▄███████████
█████████▀▄ ██▀▄▄▄ ▀ ▄▀█████████
███████▀ ▀█████▄▄▄█▄▄▄██████████
███████▀▄████████▀  ▀█ █▐███████
███████ ▀█████████▄█▀▀██ ███████
████████ ███▀██████ ▄ ██ ███████
████████▌▐▀▄ ██████████ ▄███████
█████████▄██▌▐█████▀██ █████████
████████████▄▀▀▀▀▀▄ ▀▄██████████
████████████████████████████████
.
.JOIN US - IT'S FREE! .
RocketSingh
Legendary
*
Offline Offline

Activity: 1624
Merit: 1030


View Profile
January 26, 2015, 03:18:00 PM
 #97

Most websites that are interactived these days are written in js. Long time ago it was probably php but much has changed in the language.

PHP is a server side language, whereas JS is a client side one. One has nothing to do with the other.
sethminer14
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
January 26, 2015, 03:35:42 PM
 #98

I always enjoy seeing which languages things are coded with. It lets me see which language I may want to learn next.

▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
♥ ♦ ♣ ♠ SATOSHIBTCET 100% Provably Fair Bitcoin Video Poker & Casino Games » In-Game Faucet ♥ ♦ ♣ ♠
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
RocketSingh
Legendary
*
Offline Offline

Activity: 1624
Merit: 1030


View Profile
January 28, 2015, 01:51:10 PM
 #99

interesting article. To know the language code of the gambler sites Cheesy are u planning to start one yourself?

Helping out people to start more Wink
RocketSingh
Legendary
*
Offline Offline

Activity: 1624
Merit: 1030


View Profile
March 02, 2015, 12:16:51 AM
 #100

Does anyone know in which language former Seals with Club or current SWC Poker are coded ? Which DB they are using ?
BitCoinDream
Legendary
*
Offline Offline

Activity: 1526
Merit: 1024

The revolution will be digital


View Profile
February 16, 2016, 12:23:44 PM
 #101

I'd like to know, in which language, FastDice.com is coded in?

NLNico
Legendary
*
hacker
Offline Offline

Activity: 1876
Merit: 1248


DiceSites.com owner


View Profile WWW
February 16, 2016, 12:45:45 PM
 #102

In PHP.

Server: Apache/2.4.7 (Ubuntu)
X-Powered-By: PHP/5.5.9-1ubuntu4.14


(@fastdice: can't hurt to hide those headers btw, easy apache+php setting.)

RocketSingh
Legendary
*
Offline Offline

Activity: 1624
Merit: 1030


View Profile
February 16, 2016, 06:55:08 PM
 #103

In PHP.

Server: Apache/2.4.7 (Ubuntu)
X-Powered-By: PHP/5.5.9-1ubuntu4.14


(@fastdice: can't hurt to hide those headers btw, easy apache+php setting.)
So, can we assume, they are using MySQL at the backend?
Mitchell
Legendary
*
Offline Offline

Activity: 2338
Merit: 1429


Verified awesomeness ✔


View Profile WWW
February 16, 2016, 07:12:52 PM
 #104

So, can we assume, they are using MySQL at the backend?
No.

████████████████████████████
████████▀▀ █▀ █▀ ▀██████████
█████████▄ ▄▄▄▄▄▄███████████
██████████▀     ▀  ▀████████
███████▀ ▀  ▄█▀▀▀█▀▀████████
██████▄      █▄  ▀▀  ▀██████
██████         ▄▄█▄ ▄ ▀█████
█████ ▄         ▀▀ ▄ ▀ █████
██████▌          █▀█▀ ▐█████
███████  ▄▌         ▄ ██████
████████▄█         ▄████████
█████████▀     ▄▄ ▄█████████
████████████████████████████
.JACKMATE'S...........
.
MAJESTIC..
████████████████████████
███████████████████████
████████████████████████
████████████████████████
████████████████████████
████████████████████████
████████████████████████
████████████████████████
████████████████████████
████████████████████████
████████████████████████
████████████████████████
████████████████████████
.
..WIN 1 BITCOIN ON EVERY PREMIER LEAGUE MATCHDAY..
████████████████████████████████
████████████▀█▀ ▀█▀█▀███████████
███████████▄ ▄▄▄▄▄▄▄████████████
███████████▀▀▄▄▄▄▄▄▄▄███████████
█████████▀▄ ██▀▄▄▄ ▀ ▄▀█████████
███████▀ ▀█████▄▄▄█▄▄▄██████████
███████▀▄████████▀  ▀█ █▐███████
███████ ▀█████████▄█▀▀██ ███████
████████ ███▀██████ ▄ ██ ███████
████████▌▐▀▄ ██████████ ▄███████
█████████▄██▌▐█████▀██ █████████
████████████▄▀▀▀▀▀▄ ▀▄██████████
████████████████████████████████
.
.JOIN US - IT'S FREE! .
CrazyJoker
Full Member
***
Offline Offline

Activity: 692
Merit: 102



View Profile
April 07, 2016, 10:34:01 AM
 #105

In which language 777Coin.com & Bitvest.io are coded?
NLNico
Legendary
*
hacker
Offline Offline

Activity: 1876
Merit: 1248


DiceSites.com owner


View Profile WWW
April 07, 2016, 10:39:55 AM
 #106

Both set a PHPSESSID cookie, so both in PHP.

JasonXG
Hero Member
*****
Offline Offline

Activity: 770
Merit: 500


View Profile
April 08, 2016, 11:35:30 PM
 #107

Busy gambling sites need to provide high security as well as serve high traffic. In which language today's top sites are coded ? Which DB are they using ?

I'm listing a few sites below. Please post if u know about their configuration. If u know about a site which is not in the list, please post that too...

Following table is updated as per latest data found in this thread...





SiteServerBackendSocket libDB/StorageFrontend
Just-Dice.com                    Node.js               socket.io             redis+MySQL      
PrimeDice.comCowboyNode.jssocket.ioPostgreSQLEmberJS
DiceBitco.innginxNode.js+ExpressPrimusAngularJS
Dicenow.comnginxNode.js+Expresssocket.ioAngularJS
Satoshibet.comnginxNode.jssocket.iomySQL+mongoDB
MoneyPot.comCowboyNode.jssocket.ioPostgreSQLReact
PRCDice.euMS-IIS.NETSignalR
Win88.meMS-IIS.NETServiceStackAngularJS
Peerbet.orgMS-IIS.NET---
Dice.ninjacyclonePythonsockjs-cycloneMySQL
luckyb.itPython+Flask---
Rollin.ioApachePHP+laravelsocket.io
BitDice.menginxRoR+RabbitMQRedis+MySQL
PocketDice.ionginxPHPsocket.io---AngularJS
FastSlots.covanillanode.jssocket.iomySQLbackbone



I'm so glad you made this thread and kept it updated i have wanted to know this for a really long time. There is one more thing i wonder about and that is how powerful their servers are.
adaseb
Legendary
*
Offline Offline

Activity: 2170
Merit: 1161



View Profile
April 09, 2016, 12:07:43 AM
 #108

I am pretty sure most are coded in PHP these days and every gambling site has more or less the same code.

████████████████████████████
████████▀▀ █▀ █▀ ▀██████████
█████████▄ ▄▄▄▄▄▄███████████
██████████▀     ▀  ▀████████
███████▀ ▀  ▄█▀▀▀█▀▀████████
██████▄      █▄  ▀▀  ▀██████
██████         ▄▄█▄ ▄ ▀█████
█████ ▄         ▀▀ ▄ ▀ █████
██████▌          █▀█▀ ▐█████
███████  ▄▌         ▄ ██████
████████▄█         ▄████████
█████████▀     ▄▄ ▄█████████
████████████████████████████
.JACKMATE'S...........
.
MAJESTIC..
████████████████████████
███████████████████████
████████████████████████
████████████████████████
████████████████████████
████████████████████████
████████████████████████
████████████████████████
████████████████████████
████████████████████████
████████████████████████
████████████████████████
████████████████████████
.
..WIN 1 BITCOIN ON EVERY PREMIER LEAGUE MATCHDAY..
████████████████████████████████
████████████▀█▀ ▀█▀█▀███████████
███████████▄ ▄▄▄▄▄▄▄████████████
███████████▀▀▄▄▄▄▄▄▄▄███████████
█████████▀▄ ██▀▄▄▄ ▀ ▄▀█████████
███████▀ ▀█████▄▄▄█▄▄▄██████████
███████▀▄████████▀  ▀█ █▐███████
███████ ▀█████████▄█▀▀██ ███████
████████ ███▀██████ ▄ ██ ███████
████████▌▐▀▄ ██████████ ▄███████
█████████▄██▌▐█████▀██ █████████
████████████▄▀▀▀▀▀▄ ▀▄██████████
████████████████████████████████
.
.JOIN US - IT'S FREE! .
Dabs
Legendary
*
Offline Offline

Activity: 2534
Merit: 1330


The Concierge of Crypto


View Profile
April 09, 2016, 03:19:31 AM
 #109

Servers for the big sites are usually on dedicated machines either rented or co-located at a datacenter.

Servers for really big gambling sites (the ones that don't accept bitcoin; the ones that have government licenses to operate) could be clustered or replicated or has some form of failover / high-availability / redundancy / whatever.

Small gambling sites can be run from a small VPS.

Small (or big) gambling sites using bitcoind with pruning also require less disk space than before. 70 GB for old versions versus 2 GB for the latest.

The codes differ in exactly how the games are determined, like what hash they use or what provably fair method they use, and if they are running dice games or lotto games or card games.

Dice games need a "real" server. Lotto games or any game that is "slow" could theoretically run on a home laptop (only the front facing website is on a server) or a really cheap VPS.

CrazyJoker
Full Member
***
Offline Offline

Activity: 692
Merit: 102



View Profile
May 26, 2016, 11:03:12 AM
 #110

Servers for the big sites are usually on dedicated machines either rented or co-located at a datacenter.

Servers for really big gambling sites (the ones that don't accept bitcoin; the ones that have government licenses to operate) could be clustered or replicated or has some form of failover / high-availability / redundancy / whatever.

Small gambling sites can be run from a small VPS.

Small (or big) gambling sites using bitcoind with pruning also require less disk space than before. 70 GB for old versions versus 2 GB for the latest.

The codes differ in exactly how the games are determined, like what hash they use or what provably fair method they use, and if they are running dice games or lotto games or card games.

Dice games need a "real" server. Lotto games or any game that is "slow" could theoretically run on a home laptop (only the front facing website is on a server) or a really cheap VPS.
I think big sites operate on clouds like AWS or Heroku. Small ones are on Digital Ocean or Shared Hosting.
RocketSingh
Legendary
*
Offline Offline

Activity: 1624
Merit: 1030


View Profile
May 31, 2016, 02:47:36 PM
 #111

In PHP.

Server: Apache/2.4.7 (Ubuntu)
X-Powered-By: PHP/5.5.9-1ubuntu4.14


(@fastdice: can't hurt to hide those headers btw, easy apache+php setting.)

Both set a PHPSESSID cookie, so both in PHP.
OP updated with these data. If you know the blanks fields, please let me know. I'll update accordingly. I'd also request site owners to participate in this thread for data accuracy.


I'm so glad you made this thread and kept it updated i have wanted to know this for a really long time. There is one more thing i wonder about and that is how powerful their servers are.
Nice to know that it helped. I guess, server specs will highly vary depending on site load.
DutchDemon
Jr. Member
*
Offline Offline

Activity: 81
Merit: 3


View Profile
July 20, 2016, 04:58:48 PM
 #112

Is not PRCDice.eu now known as BetKing.io?
Ryan Dugan
Hero Member
*****
Offline Offline

Activity: 840
Merit: 501


View Profile WWW
July 20, 2016, 09:05:01 PM
 #113

I only know of some of what's going on bit this is a very informative list .
How do you know all this ?

freedomcoinz
Member
**
Offline Offline

Activity: 60
Merit: 10


View Profile WWW
September 28, 2016, 05:04:18 AM
 #114

https://wajur.com uses nginx in front of Java/JSP.

Ironically, the primary developer makes extensive use of Node.js at his or her "day job", but falls back to more traditional technologies when the stakes are higher.

Agree with the sentiment that GO will become more popular for the back end.

Wish someone would start a thread about the best places to host...
BitsandBites
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250



View Profile
September 28, 2016, 07:31:17 AM
 #115

I dont think there are so many websites where you can have lots of language becuase most of the time it is only in english because everyone can speak english unless the france people off course.
bitcoin-hunter
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250


View Profile
September 28, 2016, 08:13:36 AM
 #116

Most of the commend language is english off course i dont think you should listn to this but if you are trying to make a gamble site dont do it because there are to many of them you wont get hits.
hughsjack
Newbie
*
Offline Offline

Activity: 51
Merit: 0


View Profile
September 28, 2016, 08:34:11 AM
 #117

I dont think there are so many websites where you can have lots of language becuase most of the time it is only in english because everyone can speak english unless the france people off course.

you misunderstood, the thread is about code language
PrediMarket
Member
**
Offline Offline

Activity: 63
Merit: 10

Advanced Sportsbook Exchange


View Profile WWW
September 28, 2016, 11:48:21 AM
 #118

Just out of curiosity, why would you want to know what languages/technologies are used for gambling sites?

Advanced Sportsbook Exchange - https://predimarket.net/
Dabs
Legendary
*
Offline Offline

Activity: 2534
Merit: 1330


The Concierge of Crypto


View Profile
September 28, 2016, 01:48:41 PM
 #119

How about what languages are used for large bitcoin exchanges? bitcoin to altcoin exchanges? bitcoin shopping carts?

For server size and capacity, just think about ... microsoft exchange email hosting. App hosting. Dedicated hosts can usually handle 300 transactions (games, bets, etc) per second. Then even bigger sites have redundancy so there are two or three or more of every server. Database availability groups. Backup servers. "Replica" ... RAID, for when hard drives or SSDs fail.

All usually taken care of by the hosting provider. For a price.

Daffadile
Hero Member
*****
Offline Offline

Activity: 1148
Merit: 500

CryptoTalk.Org - Get Paid for every Post!


View Profile WWW
September 28, 2016, 02:59:11 PM
 #120

Ok we speaking about what languages they use and the data bases but what about the security they using ?
Also what exactly is a backend and how does it work and what is it's function. I see there a few people that seem to know what is going on and what they are talking about so perhaps someone could answer me.

 
                                . ██████████.
                              .████████████████.
                           .██████████████████████.
                        -█████████████████████████████
                     .██████████████████████████████████.
                  -█████████████████████████████████████████
               -███████████████████████████████████████████████
           .-█████████████████████████████████████████████████████.
        .████████████████████████████████████████████████████████████
       .██████████████████████████████████████████████████████████████.
       .██████████████████████████████████████████████████████████████.
       ..████████████████████████████████████████████████████████████..
       .   .██████████████████████████████████████████████████████.
       .      .████████████████████████████████████████████████.

       .       .██████████████████████████████████████████████
       .    ██████████████████████████████████████████████████████
       .█████████████████████████████████████████████████████████████.
        .███████████████████████████████████████████████████████████
           .█████████████████████████████████████████████████████
              .████████████████████████████████████████████████
                   ████████████████████████████████████████
                      ██████████████████████████████████
                          ██████████████████████████
                             ████████████████████
                               ████████████████
                                   █████████
.CryptoTalk.org.|.MAKE POSTS AND EARN BTC!.🏆
RocketSingh
Legendary
*
Offline Offline

Activity: 1624
Merit: 1030


View Profile
September 30, 2016, 07:37:46 PM
 #121

https://wajur.com uses nginx in front of Java/JSP.

Ironically, the primary developer makes extensive use of Node.js at his or her "day job", but falls back to more traditional technologies when the stakes are higher.

Agree with the sentiment that GO will become more popular for the back end.

Wish someone would start a thread about the best places to host...
Never heard of this game. Could u please point to the official thread of wajur?
AOL
Newbie
*
Offline Offline

Activity: 31
Merit: 0


View Profile
July 23, 2017, 09:20:41 PM
 #122

Is the table in OP updated?
RocketSingh
Legendary
*
Offline Offline

Activity: 1624
Merit: 1030


View Profile
July 25, 2017, 10:53:19 PM
 #123

Is the table in OP updated?
Lately I have not received info about new sites. Hence OP has not been updated for a while.
Angelina Jolie
Member
**
Offline Offline

Activity: 169
Merit: 10

Global Risk Exchange - gref.io


View Profile
March 07, 2018, 03:23:27 PM
 #124

Needs info about Stake.com. What they are coded at?

▐▐ █     GRE   ≣   GLOBAL RISK EXCHANGE     █ ▌▌
━━  ((     Whitepaper     |     ANN Thread     ))  ━━
Telegram     Medium     Facebook     Twitter     Github
RocketSingh
Legendary
*
Offline Offline

Activity: 1624
Merit: 1030


View Profile
September 29, 2018, 10:31:18 PM
 #125

Needs info about Stake.com. What they are coded at?

Also would like to know about https://bitkong.com/ .

See How fast results are updated ?
Also if you are a developer.. kindly pm me.. for a similar work.
Thanks

Anyone has any info regarding these two?
rata_for
Copper Member
Newbie
*
Offline Offline

Activity: 238
Merit: 0


View Profile
May 02, 2019, 02:00:04 PM
 #126

SEE here!! pays
Date : 05/01/2019 20:38
From/To Account : U18493892
Amount : 1.60
Currency : USD
Batch : 258686377
Memo : API Payment. weenzee.com.
wuvdoll
Legendary
*
Offline Offline

Activity: 1442
Merit: 1025



View Profile
May 03, 2019, 06:13:29 PM
 #127

From what we can gather by common sense I can assume that both stake and bitkong has javascript on their front end, this is not a guarantee but it does seem like the regular old html/css/javascript combo should be enough for the front end, I have messaged to their support to ask what language they were coded but unfortunately I was not capable of getting any answers.

Stake customer support thought I was asking the "language" of the casino as in English and all that, bitkong didn't replied yet at all. I think the safest option to assume could be c# for now, at least for the gaming parts of course because that would be the easiest option yet again to build these games on C# but I am not entirely sure how the payment part of it is coded since it could be anything.
RocketSingh
Legendary
*
Offline Offline

Activity: 1624
Merit: 1030


View Profile
October 12, 2019, 06:48:40 PM
 #128

From what we can gather by common sense I can assume that both stake and bitkong has javascript on their front end, this is not a guarantee but it does seem like the regular old html/css/javascript combo should be enough for the front end, I have messaged to their support to ask what language they were coded but unfortunately I was not capable of getting any answers.

Stake customer support thought I was asking the "language" of the casino as in English and all that, bitkong didn't replied yet at all. I think the safest option to assume could be c# for now, at least for the gaming parts of course because that would be the easiest option yet again to build these games on C# but I am not entirely sure how the payment part of it is coded since it could be anything.

Rather than asking customer support, it is probably better to ask directly in their BitcoinTalk thread and mention about this thread over there.

Stake.com: https://bitcointalk.org/index.php?topic=2072589.0

BitKong.com: https://bitcointalk.org/index.php?topic=1214505.0

I want everyone's participation to make this thread a hub of technical know-how for gambling portals.
Pages: 1 2 3 4 5 6 7 [All]
  Print  
 
Jump to: