Im trying to create a arbitrage bot, so I need to query data faster than other bots. I tried all methods such as using aiohttp, multi-threading, multi-processing, but seems that my bot still slower than competitor. I realized that problem can be Waiting Server response time (it's cloudflare server). It takes 0.29s to complete a request. Is there anything I can do to optimize this waiting time ? I'm thinking about sending request directly to origin server not cloudflare server . Is it possible ?
How to reduce server response waiting time when sending requests?
38 Views Asked by Mike At
0
There are 0 best solutions below
Related Questions in PYTHON
- How to store a date/time in sqlite (or something similar to a date)
- Instagrapi recently showing HTTPError and UnknownError
- How to Retrieve Data from an MySQL Database and Display it in a GUI?
- How to create a regular expression to partition a string that terminates in either ": 45" or ",", without the ": "
- Python Geopandas unable to convert latitude longitude to points
- Influence of Unused FFN on Model Accuracy in PyTorch
- Seeking Python Libraries for Removing Extraneous Characters and Spaces in Text
- Writes to child subprocess.Popen.stdin don't work from within process group?
- Conda has two different python binarys (python and python3) with the same version for a single environment. Why?
- Problem with add new attribute in table with BOTO3 on python
- Can't install packages in python conda environment
- Setting diagonal of a matrix to zero
- List of numbers converted to list of strings to iterate over it. But receiving TypeError messages
- Basic Python Question: Shortening If Statements
- Python and regex, can't understand why some words are left out of the match
Related Questions in PYTHON-REQUESTS
- I can't call a FastAPI POST route using Python's "requests" module, but I'm able to call the same route via cURL command line
- WebScraping doesnt work, even without error
- Python Requests: Handling Exceptions and Ensuring Server Response
- Issue with sending POST request using Python requests library
- Post request response time spikes
- Python GET Request returns data when tried on Postman but the generated python code not working
- downloading pdf using requests not working
- Trying to scrape a dynamic website in python with requests_html
- Chain multiple ajax requests in website to show more pages and get full list in single page
- Steam API - Available stats when I don't own a game?
- Trying to detect expired short urls, trouble with status_code and response url
- How can I download a file from a URL using Python when requests is redirecting to an error page
- certificate verify failed: unable to get local issuer certificate nothing seems wrong
- langchain: how to use a custom deployed fastAPI embedding model locally?
- How to Extract Data from Multiple Pages Using BeautifulSoup?
Related Questions in BOTS
- Bot.load_Extension is returning this error for disnake and discord.py library both
- Download files (spec. images) with telegram bot (python-telegram-bot)
- "If" condition with numbers doesnt working
- Deploying telegram bot
- Function call Reverts from Smart Contract without a reason unniswap V3
- Pyrogram: telegram API returns 400: INPUT_FILTER_INVALID after search_messages() request
- Java music bot not playing music
- JDA Lavaplayer bot doesn't work without changing .jar file
- How can a bot find out that a reaction emoji was left in a Telegram channel post? telebot python
- Telegram Bot "START" Button issue on history clean up on iOS devices
- how do i communicate 2 bots in webot using emitter and reciever i need creative idea to implement a specified motion
- Discord bot can't send messages from the server but sends messages from dm
- how to edit a message by id using telegraf.js
- issue with Twitter API :
- i need help making a reaction time test bot to impress my friends XD. for the website https://skoonova.com/tests/reactiontime
Related Questions in CLOUDFLARE
- My Blazor UI is not responding on a domain, but working on another domain
- I created a domain name from cloudflare, and Hoisted my static site hosted in google firebase, error in adding custom domain in firebase
- Cloudflare not respecting Cache-Control
- Angular application loading weirdly when I add "/" at the end of URL
- Primeng Angular styles on subdomain don't work
- Cookies not accessible when I fetch in Astro frontmatter
- Scrape Glassdoor data with selenium
- Serve static site on S3 + CloudFlare with Apache retaining the source URL
- JS doesn't put cookies after domain change for localhost
- Rewrite subdomain to subpath of another subdomain
- How to get geolocalisation , request from AWS API Gateway?
- How should I enable my AWS API gateway use a custom domain?
- Hosting multiple static sites programmatically
- Framework error on cloudflare global network
- Unable to update cloudflare split tunnels using python and api token
Related Questions in CLOUDFLARE-WORKERS
- How to add static HTML to Rust worker on Cloudflare
- How to reduce server response waiting time when sending requests?
- Trying to deploy my AdonisJS back-end using Serverless on a Cloudflare Worker, It fails telling me env is missing
- MP3 file won't load on iOS Safari, works fine on MacOS / Chrome / Edge?
- Cannot get bindings from KV to worker to operate (Cloudflare)
- Cloudflare worker always exceed cpu with puppeteer on queue
- How do I fix "MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start" error in CloudFlare Wrangler?
- Trouble Accessing FetchEvent in Hono JS Context on Cloudflare Workers
- WASM/QuickJS - callback from getQuickJS() is never entered?
- Wrangler build failed "Could not resolve "events"
- Cloudflare Email Worker via HTML form
- Getting 403 Response from Autodesk Derivative API When Fetching Derivative from Cloudflare Workers
- Angular 17 Passing Http Status code When Using Cloudflare Worker/Pages
- Cloudflare bindings with nuxt
- Async database queries with CloudFlare workers
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?