Git Product home page Git Product logo

Comments (7)

maximumstock avatar maximumstock commented on September 24, 2024

According to 1,2, that would at most double the rate-limit for a given IP address. And that only works if you have two accounts and two session ids. Can you check if this matches your source?

Even if that works, cutting the fetching time in half is still not enough to be as fast as poe.trade.
The really only fastest way is to use your own stash tab API indexer.

from poe-currency-flip-planner.

rbriank avatar rbriank commented on September 24, 2024

from poe-currency-flip-planner.

rbriank avatar rbriank commented on September 24, 2024

from poe-currency-flip-planner.

maximumstock avatar maximumstock commented on September 24, 2024

I read this yesterday:
https://www.reddit.com/r/pathofexile/comments/emh24g/oops_we_are_also_working_on_a_trademacro_clone/

But based on your links, it may not be factual. Unless they've changed how
it works since those were posted?

Okay, so I did some research on this and the new tooling people released. I played around with pathofexile.com/trade/exchange and found that:

First of all, it seems like the default rate limit has changed from 5 requests per 5 seconds to 12 requests per 6 seconds since I looked a it the last time. A wider rate-limit is obviously very good.

Second, when I trigger the very first request without a POE_SESSION_ID cookie value, the server automatically instructs my browser to set a (seemingly random, server-side generated) one for me. If I manually delete that cookie from my browser, the server sends a new one. When doing requests with that cookie, the rate-limit state does not change between requests, effectively meaning no rate-limit at all.

Since they now have a unique, mandatory session id to identify you, they are probably not using the x-rate-limit-ip and x-rate-limit-ip-state headers anymore. Instead, they do some other rate-limiting based on the session id and that might be that magic number of 80 connections which is referred to here.

I'll do some experimenting on running the poeofficial backend with that session id setup and report back.

from poe-currency-flip-planner.

rbriank avatar rbriank commented on September 24, 2024

from poe-currency-flip-planner.

maximumstock avatar maximumstock commented on September 24, 2024

@rbriank Should be much faster now :) See https://github.com/maximumstock/poe-currency-flip-planner/releases/tag/0.1

from poe-currency-flip-planner.

rbriank avatar rbriank commented on September 24, 2024

from poe-currency-flip-planner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.