Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

SoundCloud Backstage 2 min read Announcement mediumAdept

Action required: Upcoming Update to SoundCloud API id fields

SoundCloud's public API is deprecating its numeric `id` field because resource IDs for tracks, playlists, users and comments will soon exceed the 32-bit integer limit. It is being replaced by a string `urn` field in the form `soundcloud:tracks:12345678`. Clients must switch by June 30, 2025, after which integrations relying on `id` may miss new resources or see failed responses. Endpoints already accept URNs in the path, and developers are told to treat the URN as an opaque primary key rather than parsing out the numeric part.

Assumes: REST APIsJSON

Related posts

  • Less Is More: Why Audio on SoundCloud Looks Different

    SoundCloud Backstage mediumAdept

    SoundCloud's switch to Fraunhofer's libfdk_aac encoder introduces a hard low-pass shelf around 17 kHz that the old encoder lacked, which looks like a downgrade on a spectrogram but improves perceived quality. With a fixed bit budget per audio chunk, discarding barely audible high frequencies frees bits for the 2–5 kHz range where hearing is most sensitive. Error plots on a pop mix show the old encoder losing signal in the upper mids and adding low-end artifacts, while the filtered encoder concentrates its loss in a single top band. Even at 256 kbps the rolloff still gives a smaller but measurable benefit, backed by Fraunhofer's listening tests.

  • Inside Shopify Hack Days: Building a prototype for music-playing pages

    Shopify Engineering mediumAdept

    A 13-person Shopify Hack Days team prototyped Shop Sounds, a toolkit for selling music on storefronts. It combined a first-class Audio media type built across Core, the Admin API, admin-web and Liquid, mirroring how 3D models already render via media_tag, with a standalone app that uses metaobjects and metafields as its entire data layer. The storefront side adds a tracklist player backed by a global audio singleton so playback continues across page navigation. It also has six GLSL fragment shaders driven by bass, mid, treble and energy uniforms with cosine-palette color schemes on Three.js with bloom, and a tour-dates block that uses Haversine distance from the visitor's geolocation. Publishing a release is about seven coordinated GraphQL mutations, and building on Shopify primitives avoided any custom backend or sync problems.

  • Incident Report: March 30th, 2026 — Authenticated user data cached

    Railway easyNovice

    A CDN configuration change meant to enable Surrogate Keys for per-domain caching accidentally turned on edge caching for about 0.05% of Railway domains that had CDN disabled. For 52 minutes on March 30, 2026, GET responses, including authenticated ones, could be served to other users. Origin Cache-Control headers were honored and Set-Cookie headers were not cached, but GET responses without explicit cache headers were cached by default. Railway reverted the change, purged caches globally, added tests for caching behavior and now shards CDN rollouts over hours instead of minutes.

  • Incident Report: March 30th, 2026 — Authenticated user data cached

    Railway easyNovice

    A CDN configuration change meant to enable Surrogate Keys for per-domain cache purging accidentally turned on edge caching for about 0.05% of Railway domains that had CDN disabled. For 52 minutes on March 30, 2026, responses to other users could be served from cache, including authenticated pages. Origin Cache-Control directives were respected and Set-Cookie headers were not cached, but GET responses without explicit cache headers were cached by default. Railway reverted the change, purged caches globally, added tests for caching behavior, and now shards CDN rollouts over hours instead of minutes.

  • From 2,500 requests to 24: Rebuilding star history without the stargazers

    GitHub Engineering mediumAdept

    GitHub replaced identity-bearing stargazer pagination with an aggregate star-history endpoint that returns up to 30 weeks of daily star counts per request, with no usernames attached. Aggregating stars and then paginating with LIMIT/OFFSET still forced the database to scan and group every star on each call, so the shipped design converts page parameters into an indexed created_at range and filters by time before grouping. Building react/react's full history drops from about 2,511 requests to 24, with each star examined roughly once. Unusually dense weeks remain a scaling limit, and the same audit moved the stargazers page to cached counts, eliminating its slow queries.

The quest for software engineering knowledge.

Look:
Layout: