Skip to content
Raj Kumar Sony

Engineering case study

Cast Me!

Influencer marketing platform migrated from PHP to Spring Boot microservices, cutting API latency by 60%

Role
Backend engineer on the PHP to Spring Boot migration
Period
Sep 2023 – Sep 2024 · Apr 2025 – Present
Cast Me! product interface mockup
  • ContextPLAN-B, Inc. · Influencer marketing platform
  • LocationOsaka, Japan · Hybrid
  • TeamCastMe! team

01 Measured outcomes

60%

Lower API latency

35%

Lower server infrastructure cost

02 The challenge

The platform connecting brands with Instagram and TikTok influencers ran on a legacy PHP backend that was slow and expensive to run, while live users depended on it every day.

03 Responsibilities

  • Built REST APIs on the new Spring Boot backend for the influencer, campaign, profile and Instagram/TikTok integration modules
  • Implemented OAuth2-based authentication and authorization with Spring Security
  • Found and fixed slow endpoints as part of the migration's performance work
  • Worked with frontend developers on API contracts and with QA on regression testing before each release
  • Supported the platform in production, tracing issues through logs and AWS CloudWatch

04 How the system works

  1. Frontend keeps calling the same API paths, fields and status codes
  2. Spring Security validates the OAuth2-based authentication on every request
  3. Spring Boot services split by business area: influencer, campaign, profile, social integration
  4. Spring Data JPA / Hibernate handles persistence in the new backend

05 What I built

  • Rebuilt endpoints in Spring Boot while preserving existing contracts, so the frontend didn't notice which backend answered
  • Agreed API changes with frontend developers before coding and added new fields as optional
  • Worked with QA on regression runs before each part of the old backend was retired

06 Technology

Backend
Java · Spring Boot · REST APIs · Spring Data JPA · Hibernate
Security
Spring Security · OAuth2
Integrations
Instagram API · TikTok API
Data & cloud
SQL · AWS · CloudWatch

This case study describes my engineering contribution at PLAN-B, Inc.. Product details are limited to what can be shared publicly.