on master help sign in
Merge pull request #1749 from urbit/la/updated-eyre-scry
5061f87tacryt-socryp
content/grants/eyre-scry.md+4−7
@@ -44,16 +44,13 @@ work, but the desired speedup will not occur until both parts are in.
44
44
45## Implementation
45## Implementation
46
46
47−Eyre will store a map from URLs to clay scry paths. HTTP requests coming in to
47+Eyre will store a map of mutable URL bindings to a trie (`+of` core) that contains a tagged union of either a scry path or a pair of a simple payload (defined in lull.hoon) and an aeon (a revision number).
48−eyre will first check this map, and if it matches, scries the file out of clay
48+
49−and returns it immediately. It if doesn't match, it just goes through the
49+HTTP requests coming in to eyre will first check this map, and if it matches, returns either the payload immediately, or performs the scry and returns that immediately. It if doesn't match, it just goes through the current normal path for HTTP requests.
50−current normal path for HTTP requests.
51
50
52New %tasks will be created for eyre to add and remove from this map.
51New %tasks will be created for eyre to add and remove from this map.
53
52
54−A %warp request to clay is maintained for each clay file in the map in order to
53+Eyre will give a %gift to the runtime upon startup and whenever a binding is added or removed from the map.
55−be notified about changes to them. When notified about said changes, Eyre will
56−give a %gift to the runtime.
57
54
58### Milestone 1: 3 stars
55### Milestone 1: 3 stars
59
56