Ask for infos about outgoing requests

Hello guys,
I collaborate with an open source coding bootcamp. We are planning to use Gomix to teach how to make a request to an external service. The candidate API has a limit of 20 calls per minute (no API key needed).

The question is the following:
Will the APi see each gomix instance as a single app having its own limit, or will it see just one/few IPs and cumulate the outgoing requests, causing limits exceeding ?

Thanks for you help, and keep up the great work. Gomix is becoming better and better :heart: :clap:

UPDATE:
These are the request headers for 4 request coming from 2 apps. They seem to have different IPs.
May I safely assume that the API will identify each gomix instance as an individual app ?

Thanks.

//  req1 - app1
{ 'x-forwarded-host': 'nedb-test.gomix.me',
  'x-amzn-trace-id': 'Root=1-584c6d34-2ad58ef46a1f61304a36b92f',
  'x-forwarded-port': '443,80,80,80',
  'x-forwarded-proto': 'https,http,http,http',
  'x-forwarded-for': '54.210.139.101,::ffff:10.10.11.210,::ffff:10.10.10.174,::ffff:172.17.0.1',
  connection: 'close' }

//  req-2 - app2
{ 'x-forwarded-host': 'nedb-test.gomix.me',
  'x-amzn-trace-id': 'Root=1-584c6e00-157cb22466ac7f59682b6a37',
  'x-forwarded-port': '443,80,80,80',
  'x-forwarded-proto': 'https,http,http,http',
  'x-forwarded-for': '54.198.34.53,::ffff:10.10.10.16,::ffff:10.10.10.239,::ffff:172.17.0.1',
  connection: 'close' }

// req3 - app2
{ 'x-forwarded-host': 'nedb-test.gomix.me',
  'x-amzn-trace-id': 'Root=1-584c6e1c-78b259a343090e18363c555c',
  'x-forwarded-port': '443,80,80,80',
  'x-forwarded-proto': 'https,http,http,http',
  'x-forwarded-for': '54.198.34.53,::ffff:10.10.11.210,::ffff:10.10.10.130,::ffff:172.17.0.1',
  connection: 'close' }

// req-4  -  app1
{ 'x-forwarded-host': 'nedb-test.gomix.me',
  'x-amzn-trace-id': 'Root=1-584c6e36-1bdd77f9696fa85b43293689',
  'x-forwarded-port': '443,80,80,80',
  'x-forwarded-proto': 'https,http,http,http',
  'x-forwarded-for': '54.210.139.101,::ffff:10.10.11.210,::ffff:10.10.10.239,::ffff:172.17.0.1',
  connection: 'close' }

It sounds like this API is tracking usage by IP, so you could have a problem. We have multiple servers running projects, but you could be unlucky and have a bunch of your projects running on the same one by chance. Is there another mode where the API uses a key? If you could do it that way, each coder could use their own key.

1 Like

Thank you. We’ll find a better solution.