Back to all work

Linc Global, Inc.

Post-Purchase Platform

After an order, shoppers see the retailer's branded tracking and returns pages, which Linc served for a platform of 40M+ users. I rebuilt the shipment-tracking page and was a primary contributor after the initial product phase across its Next.js front end and GraphQL backend.

Software Engineer2023 to 20243M+ daily requests40M+ users

One slow order request, traced to a repeated lookup

Before: an order with four shipments. Each shipment resolver runs its own delivery query, four in total.orderGraphQL resolverAshipmentBshipmentCshipmentDshipmentMySQLq1q2q3q4Beforedelivery queries: 4one delivery query per shipmentAfter: one order-level query fetches delivery data for every shipment. Resolvers read it from an in-memory map, one query in total.orderGraphQL resolverMySQLIn-memory mapshipment → delivery dataAshipmentBshipmentCshipmentDshipmentq1, whole orderrowsAfterdelivery queries: 1resolvers read the map
Example: one order with four shipments. The query count grows with shipments before the fix and stays at one after it.

Endpoint timing showed one slow shopper-order request. Tracing its SQL showed the same delivery lookup running once per shipment. I fetched delivery data once per order and let each shipment resolver read it from an in-memory map. Profiled query time fell about 40% in some request scenarios, with the legacy schema and business rules untouched.

More backend work

One tracking timeline for every surface

Carrier updates arrive in many formats. I hooked history creation into the backend update paths, so a row is saved only when status or location changes. GraphQL maps internal codes to shopper stages, and no client parses carrier data.

GDPR deletion as a queued job

Customer Success submits a deletion request through an internal portal. An admission API applies a per-tenant lock, duplicate checks, and backpressure, then sends the request to SQS FIFO. A Kubernetes CronJob worker runs the cleanup with bounded retries, and each request keeps a status record.

Front-end work around the same API

I rebuilt the tracking page in TypeScript with Next.js, Apollo GraphQL, and Tailwind CSS, adding server-side rendering. Retailers change branding through the customizer, so no retailer needs a source fork.

Tracking page, account widgets, and customizer

Tracking history across the stack

Contribution
Added shipment history across heterogeneous tracking-update paths by capturing meaningful status or location changes, mapping them through GraphQL, and rendering a responsive shopper timeline.
Problem
Carrier updates arrived through APIs, webhooks, and batch EDI with different timing and granularity, while shoppers needed one stable history instead of source-specific events.
Implementation
Hooked history creation into the backend update paths, persisted new status or location combinations, mapped internal codes into shopper-facing stages through GraphQL, filtered consecutive duplicates, and built the responsive UI.
Reasoning
Recording history at the backend update boundary kept carrier-specific input and shipment semantics out of the browser while giving every product surface one canonical interpretation.
Outcome
The feature exposed a consistent shipment timeline from heterogeneous tracking signals without creating a competing client-side state model.

Embedded account widgets

Contribution
Built a separate Webpack and CDN delivery path for embedded account widgets, giving retailer account pages a stable integration contract while legacy and new experiences coexisted.
Problem
Retailer-owned account pages needed to embed the new experience without adopting the runtime or release boundary of the main Next.js application.
Implementation
Compiled compact integration scripts as a separate artifact, delivered them through the CDN, and coordinated their contract with the backend and hosted experience.
Reasoning
A second build artifact added release overhead, but kept the host-page integration small and independently deployable.
Outcome
Retailers could adopt account features incrementally instead of replacing their full post-purchase surface at once.

Multi-tenant experience and customization

Contribution
Extended the shared post-purchase experience and its component-based customizer across tracking, privacy, navigation, accessibility, and structured merchant settings, preserving one product across retailer configurations.
Problem
Retailers needed distinct branding and behavior while the next-generation experience still had to remain maintainable, accessible, and compatible with an incremental migration from the legacy UI.
Implementation
Delivered Phase 2 shopper surfaces and edge states, then extended structured component settings, variants, nested menus, defaults, reset behavior, immediate preview, customizable titles, and ARIA handling.
Reasoning
Concentrating retailer variation inside a governed component model increased configuration complexity, but kept releases and fixes reusable instead of creating retailer-specific source forks.
Outcome
A broader range of shopper and merchant-specific behavior stayed inside one shared product and deployment path.
Role
Software Engineer, primary contributor after the initial product phase
Ownership
Primary contributor across the shared experience layer and its GraphQL integration after the initial product phase.
Operating context
Multi-tenant retail platform, 3M+ daily requests, 40M+ users

Linc was acquired by Capacity.

Where this work sits

Linc post-purchase system. Shoppers, retailer account pages, and merchants reach Next.js pages, a Webpack embed, and the customizer, which call a Django GraphQL API backed by Redis and MySQL. Carrier updates feed a tracking history that saves only real changes. Customer Success submits GDPR deletions through an internal portal to a deletion API, an SQS FIFO queue, and a Kubernetes CronJob worker.Linc platformInternal toolsShopperbrowserRetailer siteaccount pageMerchant opsbrand settingsTracking pagesNext.js · SSR · ApolloMy Account embedWebpack bundle on CDNruns on the retailer pageCustomizercomponent settingsimmediate previewGraphQL APIDjangoorder + shipment resolvers3M+ daily requestsRediscacheMySQLtransactional stateCarriersmany formatsTracking historyone row per real changeLinc Analyticsreporting, BICustomerSuccess teamInternal portalrequest + statusGDPR deletion APIadmission checksSQS FIFOone message per requestWorkerKubernetes CronJobbounded retriesData cleanuppost-purchase, analytics,chatbotHTTPSscriptHTTPSGraphQLcacheSQLcarrier updatesinserteventsformrequestsendpollretrydeleteLinc post-purchase system. Shoppers, retailer account pages, and merchants reach Next.js pages, a Webpack embed, and the customizer, which call a Django GraphQL API backed by Redis and MySQL. Carrier updates feed a tracking history that saves only real changes. Customer Success submits GDPR deletions through an internal portal to a deletion API, an SQS FIFO queue, and a Kubernetes CronJob worker.Tracking pagesNext.js · SSR · ApolloMy Account embedWebpack bundle on CDNruns on the retailer pageCustomizercomponent settingsimmediate previewGraphQL APIDjango · order + shipment resolvers3M+ daily requestsRediscacheMySQLtransactional stateTracking historyone row per real changeCarriersmany formatsLinc Analyticsreporting, BICustomer Success teamInternal portalrequest + statusGDPR deletion APIadmission checksSQS FIFOone message per requestWorkerKubernetes CronJobbounded retriesData cleanuppost-purchase, analytics, chatbotGraphQLcacheSQLinsertcarrier updateseventsformrequestsendpollretrydeleteShopper and merchant readsshopper browser → HTTPSretailer site → script tagmerchant ops → HTTPSGDPR deletion · async
Simplified reconstruction of the system during my tenure. Scale figures describe the production platform.

StackPython, Django, GraphQL, Next.js, React, TypeScript, Apollo GraphQL, Tailwind CSS, MySQL, Redis, AWS, SQS, Kubernetes, Webpack