René's URL Explorer Experiment


Title: RFC: A collection of abstractions for network programming · Issue #4 · cpp-netlib/netlib · GitHub

Open Graph Title: RFC: A collection of abstractions for network programming · Issue #4 · cpp-netlib/netlib

X Title: RFC: A collection of abstractions for network programming · Issue #4 · cpp-netlib/netlib

Description: Background The goal of the project is to provide some abstractions to use for network programming at large. These include defining vocabulary concepts which will allow us to build higher level abstractions on top of. Some of these will s...

Open Graph Description: Background The goal of the project is to provide some abstractions to use for network programming at large. These include defining vocabulary concepts which will allow us to build higher level abst...

X Description: Background The goal of the project is to provide some abstractions to use for network programming at large. These include defining vocabulary concepts which will allow us to build higher level abst...

Opengraph URL: https://github.com/cpp-netlib/netlib/issues/4

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"RFC: A collection of abstractions for network programming","articleBody":"# Background\r\n\r\nThe goal of the project is to provide some abstractions to use for network programming at large. These include defining vocabulary concepts which will allow us to build higher level abstractions on top of. Some of these will sound familiar, but will require some elaboration.\r\n\r\nSome guidelines for the discussion:\r\n\r\n- We will attempt to operate only on the abstractions. If these are \"concepts\" we will provide type erasure facilities which can be used in ABI boundaries.\r\n\r\n- We will not constrain the APIs to just async, blocking, or streaming. Consider when an operation on an abstraction is defined that it may be any one of the aforementioned styles.\r\n\r\n- We may consider implementing the abstractions directly, or wrapping a dependency. For example, we might decide that we don't want to depend on Asio or implementations of the networking TS and instead implement these lower-level libraries ourselves.\r\n\r\nAs a conversation starter, here's a list of the abstractions I've been thinking about and opening up the list for comments on what might be the minimum required set of abstractions for us to build, say an HTTP server and client? Or if someone wanted to build/implement an RPC system with a custom protocol?\r\n\r\n# Proposed Abstractions\r\n\r\nHere's a non-complete list of abstractions:\r\n\r\n- **Connection** -- an abstraction which allows for performing `write(Connection, ...)` and `read(Connection, ...)` operations.\r\n- **Buffer** -- a backing store of data which may be segmented in nature (i.e. a list of blocks) or associated with an external resource (can be associated with a `Connection`) which provides iterators (in the STL sense) for the data associated with a `Buffer`.\r\n- **Address** -- a data type which represents a location of a resource. There may be many kinds of addresses, which depend on the underlying network implementation -- this should be able to represent things like domain sockets, named pipes, IPv4 and IPv6 addresses, etc.\r\n\r\nThe abstractions themselves don't mean much on their own, but the operations on these abstractions define much of the requirements. We elucidate some of these below.\r\n\r\n## Connection\r\n\r\nFirst, establishing a connection will be dependent on the type of the `Connection` which can be as diverse as it needs to be. Consider the many ways to establish an HTTPS connection with TLS behind an HTTP proxy -- we may need to first establish a connection to the proxy, then set up a tunnel to a remote resource, and then \"upgrade\" the connection to be a TLS-encrypted connection. Some protocols enable multiple \"streams\" in a conceptual connection (for HTTP/2 for instance there can be multiple streams associated with a single connection, similar to IRC with different channels through the same session) which all compose.\r\n\r\nWe want to ensure that all `Connection` types support at least the following operations:\r\n\r\n- `write(Connection, ...)`\r\n- `read(Connection, ...)`\r\n- `query(Connection, ...)`\r\n- `configure(Connection, ...)`\r\n\r\nThe results of these operations will be specific to the Connection, but typically these free functions will be implemented as a forwarding template to public member functions of the `Connection` type.\r\n\r\nAll of these operations can fail, and failures are not exceptional conditions -- therefore we will refrain from using exceptions to report course-of-normal-operation failure states. We will reserve the use of exceptions to reporting failures in constructing types which have no way to represent a valid `Connection` object with invalid internal state (one example is if the construction fails to acquire a critical resource).\r\n\r\n## Buffer\r\n\r\nWe can represent a lot of data for higher level protocols with the concept of a `Buffer` -- these objects provide a means of staging data that is not immediately written to a `Connection`. The main operations for a buffer are:\r\n\r\n- `write(Buffer, ...)`\r\n- `read(Buffer, ...)`\r\n\r\nWe may have more refined buffer types which allow for seeking, and connection-backed buffers which also supports flushing contents of the buffer to the underlying connection.\r\n\r\n## Address\r\n\r\nThis abstraction covers the gamut of addressing systems which are supported/defined by the Internet Protocol addressing system, POSIX domain socket addressing, and even non-IP/POSIX addressing. The only requirement for an `Address` is that it support a `query(Address, ...)` operation which is dependent on the domain for which a particular address is defined.\r\n\r\n# Implementation Details\r\n\r\nSometimes we will need to expose underlying implementation details. We'll only require that the implementation details be domain-specific, non-ABI stable, and in its own namespace. While we want to provide the abstractions for ease of use, we recognise that some users (including us!) will need to reach into the implementation details at a higher level for platform/domain-specific configuration.\r\n\r\nWe may, given experience over time, consolidate more implementation details into abstraction-level functionality/support. This will require a consultation with the community on the extent/acceptability of the change.","author":{"url":"https://github.com/deanberris","@type":"Person","name":"deanberris"},"datePublished":"2019-01-11T02:32:20Z","url":"https://github.com/cpp-netlib/netlib/issues/4"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:af0ecbca-d44d-7b14-6619-ba447377c3fb
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9CE0:3A1F14:D8AD5:13272B:6AFDDD32
html-safe-nonce69fffc11a4c9d5aaf50c0e16e3cc31a28e1e6c496a390139599e2e5c32d77a93
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Q0UwOjNBMUYxNDpEOEFENToxMzI3MkI6NkFGREREMzIiLCJ2aXNpdG9yX2lkIjoiMzQwNzIyOTk1NzkyMDQzMzE0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac957077224221b884de8ebbfd473c644c9b50b0c65dae917b223cafb7200dad2e
hovercard-subject-tagissue:398104921
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cpp-netlib/netlib/4/issue_layout
twitter:imagehttps://opengraph.githubassets.com/118174e4326e96bdb3098b4fa1d98c5c1be51924d763455695b7e41beb1b1696/cpp-netlib/netlib/issues/4
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/118174e4326e96bdb3098b4fa1d98c5c1be51924d763455695b7e41beb1b1696/cpp-netlib/netlib/issues/4
og:image:altBackground The goal of the project is to provide some abstractions to use for network programming at large. These include defining vocabulary concepts which will allow us to build higher level abst...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedeanberris
hostnamegithub.com
expected-hostnamegithub.com
None90d7884679efe0f89b35e0eef84213a75179f38d11a62f2a0af551bbe5110799
turbo-cache-controlno-preview
go-importgithub.com/cpp-netlib/netlib git https://github.com/cpp-netlib/netlib.git
octolytics-dimension-user_id192422
octolytics-dimension-user_logincpp-netlib
octolytics-dimension-repository_id165154949
octolytics-dimension-repository_nwocpp-netlib/netlib
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id165154949
octolytics-dimension-repository_network_root_nwocpp-netlib/netlib
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release89e3d4b2f59ef440fc496c853aee1d9a06a137d6
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/cpp-netlib/netlib/issues/4#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcpp-netlib%2Fnetlib%2Fissues%2F4
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcpp-netlib%2Fnetlib%2Fissues%2F4
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=cpp-netlib%2Fnetlib
Reloadhttps://github.com/cpp-netlib/netlib/issues/4
Reloadhttps://github.com/cpp-netlib/netlib/issues/4
Reloadhttps://github.com/cpp-netlib/netlib/issues/4
cpp-netlibhttps://github.com/cpp-netlib
netlibhttps://github.com/cpp-netlib/netlib
Codehttps://github.com/cpp-netlib/netlib
Issues9 (9)https://github.com/cpp-netlib/netlib/issues
Pull requests1 (1)https://github.com/cpp-netlib/netlib/pulls
Actionshttps://github.com/cpp-netlib/netlib/actions
Projectshttps://github.com/cpp-netlib/netlib/projects
Security and qualityhttps://github.com/cpp-netlib/netlib/security
Insightshttps://github.com/cpp-netlib/netlib/insights
https://github.com/cpp-netlib/netlib
New issuehttps://github.com/login?return_to=https://github.com/cpp-netlib/netlib/issues/4
New issuehttps://github.com/login?return_to=https://github.com/cpp-netlib/netlib/issues/4
RFC: A collection of abstractions for network programminghttps://github.com/cpp-netlib/netlib/issues/4#top
https://github.com/glynos
https://github.com/deanberris
help wantedExtra attention is neededhttps://github.com/cpp-netlib/netlib/issues?q=state%3Aopen%20label%3A%22help%20wanted%22
https://github.com/deanberris
deanberrishttps://github.com/deanberris
on Jan 11, 2019https://github.com/cpp-netlib/netlib/issues/4#issue-398104921
deanberrishttps://github.com/deanberris
deanberrishttps://github.com/deanberris
glynoshttps://github.com/glynos
on Jan 11, 2019https://github.com/cpp-netlib/netlib/issues/4#event-2067507350
https://github.com/glynos
glynoshttps://github.com/glynos
on Jan 15, 2019https://github.com/cpp-netlib/netlib/issues/4#issuecomment-454329104
@deanberrishttps://github.com/deanberris
already existshttps://github.com/cpp-netlib/url/
https://github.com/glynos
glynoshttps://github.com/glynos
on Jan 18, 2019https://github.com/cpp-netlib/netlib/issues/4#issuecomment-455486996
https://github.com/deanberris
deanberrishttps://github.com/deanberris
on Jan 25, 2019https://github.com/cpp-netlib/netlib/issues/4#issuecomment-457437002
@glynoshttps://github.com/glynos
deanberrishttps://github.com/deanberris
help wantedExtra attention is neededhttps://github.com/cpp-netlib/netlib/issues?q=state%3Aopen%20label%3A%22help%20wanted%22
on Jan 25, 2019https://github.com/cpp-netlib/netlib/issues/4#event-2096182027
https://github.com/glynos
glynoshttps://github.com/glynos
on Jan 28, 2019https://github.com/cpp-netlib/netlib/issues/4#issuecomment-458077806
@deanberrishttps://github.com/deanberris
https://github.com/AngleNet
AngleNethttps://github.com/AngleNet
on Jun 6, 2019https://github.com/cpp-netlib/netlib/issues/4#issuecomment-499332816
@deanberrishttps://github.com/deanberris
Sign up for freehttps://github.com/signup?return_to=https://github.com/cpp-netlib/netlib/issues/4
Sign in to commenthttps://github.com/login?return_to=https://github.com/cpp-netlib/netlib/issues/4
deanberrishttps://github.com/deanberris
glynoshttps://github.com/glynos
help wantedExtra attention is neededhttps://github.com/cpp-netlib/netlib/issues?q=state%3Aopen%20label%3A%22help%20wanted%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.