1
0
Fork 1

Advanced server caching #36

Open
opened 1 year ago by gravel · 1 comments
gravel commented 1 year ago
Collaborator

Concerning the internal hardcoding of servers, a few avenues are available:

  • Consider all caching short-term and push our hard-coded servers to upstream sources
  • The above, but pubkey cache is preserved as is, or in one of the manners specified below
  • Introduce a submodule repository for known servers and pubkeys, updated by less frequent CI using Shodan and other scrapers
  • Same as above, except results are simply polled by script instead of using a submodule, which requires pushes to update
  • Leave as is

Decisions should consider the following:

  • How much work is adding new hard-coded Communities?
  • How much work is adding new pubkeys to ensure security?
  • How much censorship liability does hard-coding give the project?
  • How much is it in the project's interest to be a pure aggregator with no hard-coded baggage?
Concerning the internal hardcoding of servers, a few avenues are available: - Consider all caching short-term and push our hard-coded servers to upstream sources - The above, but pubkey cache is preserved as is, or in one of the manners specified below - Introduce a submodule repository for known servers and pubkeys, updated by less frequent CI using Shodan and other scrapers - Same as above, except results are simply polled by script instead of using a submodule, which requires pushes to update - Leave as is Decisions should consider the following: - How much work is adding new hard-coded Communities? - How much work is adding new pubkeys to ensure security? - How much censorship liability does hard-coding give the project? - How much is it in the project's interest to be a pure aggregator with no hard-coded baggage?
SomeGuy commented 1 year ago
Owner
Related issue on PySOGS: https://github.com/oxen-io/session-pysogs/issues/185
This repo is archived. You cannot comment on issues.
No Label
No Milestone
No Assignees
2 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: SomeGuy/sessioncommunities.online#36
Loading…
There is no content yet.