-

   rss_rss_hh_new

 - e-mail

 

 -

 LiveInternet.ru:
: 17.03.2011
:
:
: 51

:


[ ] 20

, 06 2017 . 14:15 +

, ! , 20 . csv- PostgreSQL.


image


,


docker-compose.yml
version: "2"
services:
  app:
    image: danieljust/domain-finder-v1
    tty: true
    ports:
      - "3000:3000"
  rabbit:
    image: rabbitmq:3
  db:
    image: postgres
    environment:
      POSTGRES_PASSWORD: example
      POSTGRES_USER: postgres
      POSTGRES_DB: postgres


!


Disclaimer!


, , , . , , for fun.



, - , .
, 1-3 .



  • top-level domain (TLD) ;
  • second-level domain (SLD) .
    vk.com vk = SLD, com = TLD.


id sldlength tld domain price roubleprice available definitive
1 1 actor 1.actor 20000 1199520 True True

id
sldlength
tld
domain
price
roubleprice
available ,
definitive , available


, .


domain roubleprice
2.pizza 47981
0.fail 23991
a.xyz 1199520
ab.xyz 299880
ad.money 11876
as.mba 2400
as.guru 11996
at.network 23991
js.army 47981

2.pizza ;
0.fail -;
a.xyz, ab.xyz ;
ad.money ;
as.guru, as.mba ;
at.network , ;
js.army , .

, , .
( ), 1000 .
.
( 4% )


image



1.


SLD -1234567890abcdefghijklmnopqrstuvwxyz ( 37 ).
, p^n.
$inline$ 37+37\*37+37\*37\*37 = 52059 $inline$ .
SLD , 49284.
.


2. API


, -.
API, .
:


  1. , API;
  2. ( 5 15 ) API;
  3. API ;
  4. API $0,01.

- open-source .
API.


:


  1. ;
  2. 500 ;
  3. API .

:


  1. ;
  2. , UI.

, API , , . , UI.


?


, , , .
, definitive .


3.


API godaddy TLD, .
TLD ( *.com.ru ..). 400 TLD. $inline$ 49284*400 = 19 713 600 $inline$ .
API godaddy 500 1 , 1 .
, :


  1. 5000 ;
  2. RabbitMQ ;
  3. ;
  4. 500 . 10 ;
  5. , ;
  6. 20 ;
  7. 3-6 .

PostgreSQL RabbitMQ docker-.


4.


, , - .
domains.sql domains.csv.
image


SLD


image
image


, , , .



domain roubleprice
ads.cloud 11 906 200
vod.cloud 11 852 400
usa.cloud 11 852 400
seo.cloud 11 852 400
vip.cloud 11 852 400


domain roubleprice
xt1.company 590
xt1.casa 590
xsz.company 590
xt1.click 590
xt1.business 590


That's all Folks!


. , : , .

Original source: habrahabr.ru (comments, light).

https://habrahabr.ru/post/334992/

:  

: [1] []
 

:
: 

: ( )

:

  URL