I am looking for help for my sniperbot (competitive buying of products from a website VS other bots)

Cancelled Posted 5 years ago Paid on delivery
Cancelled Paid on delivery

I need somebody with deep knowledge of how and where to decrease latency.

My usecase: My in nodejs written script is listening to a websocket that feeds the script with jsons of newly listed items.

Those items are beeing compared with a json that is ready and waiting.

If the item is good, an api call is fired to buy.

This script runs on a nano instance that is beeing hosted in the same serverfarm as the websites. The OS is ubuntu 16.04.

One thing that I am doing already to improve latency is to utilize keep-alive. Therefor i make periodical apicalls to another endpoint to have a connection that is ready when the buy-call is fired.

Facts about latency:

Nodejs: <3ms

Websocket: ~15ms

Apicall: 900-2000ms

If you are able to improve my overall performance, have tips or suggestions, the money is yours.

JavaScript Linux Node.js Software Architecture Ubuntu

Project ID: #17625530

About the project

3 proposals Remote project Active 5 years ago

3 freelancers are bidding on average $673 for this job

amaksr

Hello, API call latency can probably be decreased by opening connection in advance, keeping it open for whatever time API allows. API will either close connection by timeout, in which case new connection needs to be o More

$777 USD in 10 days
(5 Reviews)
4.3
maheshcnair

Hi, I am interested in your project. l would like to know more details. Kindly drop a message so that we can discuss.

$688 USD in 15 days
(0 Reviews)
0.0