esdx-scion's People
esdx-scion's Issues
Accessible paths by an offer
Detailed conversation here: https://github.com/juagargi/esdx-scion/pull/1/files#r882890787
Observation: it seems convenient for buyers to know which paths they can reach by an offer.
The offering AS (the provider) cannot guarantee access to all or any beacons it has received in the past (even if they were received 1 minute before not_before
), since the expiration time may happen before the contract starts. What the AS can do is:
- List the neighbors attached to itself. Egress interfaces where they will allow traffic sent from the buyer.
- Forward beacons received from these interfaces.
- List which beacons will be propagated. This mandatory propagation is valid only
$T_\text{beacon} \cap T_\text{contract}$ , for each of the beacons - Filter certain beacons due to AS policy. This may include anything expressible by a path policy (filter).
- Perform traffic control on any interface. By this I mean some egress interfaces may be more expensive and thus will have a smaller allocation for the buyer. This might be difficult to express, and at least on a first version of the protocol we might omit it. This is of course, the most general approach, as traffic control can also specify 0 bps.
It seems possible that the provider lists the accessible neighbors, beacons that will propagate, and provide samples of beacons it is willing to forward to the buyers.
For the path policies, we will follow the syntax on https://scion.docs.anapaya.net/en/latest/PathPolicy.html
Pricing
Detailed discussion here: https://github.com/juagargi/esdx-scion/pull/1/files/06ddfa1c009ca9575f4a2de80b22832856eb3b49#r882891133
-
We should find examples of real wholesale prices for bandwidth among ASes.
-
Operations on prices should be carried out in the service using Python's decimal type.
-
Representation in the contract should be in currency. For now, always in US Dollars.
-
Representation of the price in the offer is per standard unit, and it should be "future-proofed". For instance by setting aside a couple of bits for a code point to indicate units the offer is quoted in. Initially we only need to define 1 code point, with others reserved until we see what range is actually needed, or things have changed enough that the original unit starts to run out of room.
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.