Comments (9)
Only ready, the probe should be active and process measurements to get credits
from globalping.
Once per day makes sense, with some logic where it has to stay up at least 20 hours during that day to be counted.
from globalping.
I am thinking about having a cron to call /probes
every 10 mins with a 5 min deviation. If probe was found in the response increment new onlineTimes
field by 1. If at the end of a day onlineTimes > 20 * 6
, assign credits. Then set onlineTimes
to 0. Time intervals are configurable.
from globalping.
Seems reasonable.
from globalping.
Btw we will need to add anti abuse logic at some point, but I'm guessing it won't impact the current implemention and we can come back to it later?
from globalping.
What abuse scenario do you mean?
from globalping.
Credits farming, e.g. starting 500 probes with some super cheap hosting provider.
I would add rules like limiting the number of probes from the same ASN and same ASN+same city.
Maybe also a global probe limit per account
from globalping.
Ok, current logic is extensible enough to support that in future.
from globalping.
@jimaek should we assign credits for probes in any status or only in "ready"?
from globalping.
Related Issues (20)
- Setting data for adopted probes HOT 9
- Dashboard: Show probe details HOT 2
- Use socket.io rooms to categorize the probes
- Allow reusing measurement IDs for selecting same group of probes HOT 5
- Can I use the globalping source code to build my own service? HOT 1
- New sys tags, eyeball networks HOT 13
- Make a GPT friendly API schema HOT 11
- HTTP 422 with error type `no_probes_found` when using `region` location filter to create measurement HOT 4
- IPv6 support
- Fix DB setup in tests
- task
- Split redis use to persistent and non-persistent part HOT 2
- Credits farming anti abuse
- Default uppercase `World` does not work on website HOT 1
- Possible abuse happening right now HOT 2
- Default "World" location always picks WorldStream B.V. (AS49981) HOT 2
- Open more DNS record types HOT 5
- Support private DNS
- Add HTTPS DNS type support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from globalping.