Click here to Skip to main content
15,887,267 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi guys,i've been trying to order something from a website...but because of the massive

line i couldn't get to the headline and because of the limited sale per day , i've never had a chance...my internet speed is not bad but i was told that i should use a code to get in headline...i was wondering if there was a way to write a code to run in the exact opening time(miliseconds) and get into the frontline....thx a lot

What I have tried:

i have not tried anything yet.i dont know how to start
Posted
Updated 7-Apr-20 21:24pm
v3

1 solution

No. There isn't: you're always going to be down to the design of the internet: it's not a deterministic system, the latency will always vary.

Try it - ping google: WinKey + R, "cmd", ENTER, "ping Google.com", ENTER:
Microsoft Windows [Version 10.0.18363.720]
(c) 2019 Microsoft Corporation. All rights reserved.

C:\Users\PaulG>ping google.com

Pinging google.com [172.217.20.142] with 32 bytes of data:
Reply from 172.217.20.142: bytes=32 time=17ms TTL=56
Reply from 172.217.20.142: bytes=32 time=18ms TTL=56
Reply from 172.217.20.142: bytes=32 time=18ms TTL=56
Reply from 172.217.20.142: bytes=32 time=18ms TTL=56

Ping statistics for 172.217.20.142:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 17ms, Maximum = 18ms, Average = 17ms

C:\Users\PaulG>
You don't get the same numbers from one of the fastest and most frequently accessed sites on the internet! Try it with Amazon, FleaBay - you'll find the same.

And those numbers will change for many sites depending on how "busy" they are!

So you can't automatically do anything that will arrive "at midnight on the dot" at a specific site, even assuming you know exactly when they "release" the product.
 
Share this answer
 
Comments
milad 2 8-Apr-20 3:56am    
thank you very much...frankly i am trying to buy some stock from market...but since the demanding is so high , i have never been able to buy some...even i launch my order exactly on time but there is always a massive line in front of me...i was told that it is a matter of milliseconds and they are using a sophisticated algorithms to get in the headline...so i thought maybe i could use a code too

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900