Giter Club home page Giter Club logo

Comments (7)

chris48s avatar chris48s commented on August 15, 2024

https://{server}/api/magazine/name/{magazine name}

Are you able to give an example of a public mbin instance (and magazine name if discovering one is non-trivial) we can call this on?

from shields.

chris-y avatar chris-y commented on August 15, 2024

You can use the following;

Instance: fedia.io
Magazine: teletext

from shields.

M4rtineski avatar M4rtineski commented on August 15, 2024

https://fedia.io/m/teletext for easier access.

from shields.

chris48s avatar chris48s commented on August 15, 2024

OK, just to clarify (I have no familiarity with Mbin) there are multiple Mbin instances aside from https://fedia.io ?

One thing I notice is that if I call https://fedia.io/api/magazine/name/teletext (and if I look at the docs), it seems like there are rate limits on this API and it looks like fedia.io applies a rate limit of 60 reqs per minute with anonymous access.

Although I would not expect this to be a super popular service, that is quite a low rate limit. Even quite a small number of users could cause us to make more than that.

from shields.

chris-y avatar chris-y commented on August 15, 2024

Yes, there are others although I'm not sure if there is a list of them anywhere. Kbin.run is another example.

from shields.

M4rtineski avatar M4rtineski commented on August 15, 2024

Mbin instaces: https://fedidb.org/software/mbin

Kbin instances: https://fedidb.org/software/kbin

from shields.

chris48s avatar chris48s commented on August 15, 2024

I guess the worry here is hitting the rate limits on popular instances.
Just having a look at other fediverse services (mastodon, lemmy) as a reasonable-ish point of comparison: In the last hour we've served just over 1000 from the origin for both of those so a rate limit of 60 reqs/minute per instance seems like its in a ballpark where Mbin/Kbin badges could get as widely used as mastodon/lemmy currently are and we'd be mostly under the limits - especially if there are multiple instances in play. It does risk being a flaky integration at times though.

I'm inclined to say go with it. We do need to care about rate limits, but not every service is going to be NPM.

from shields.

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.