Senior Database Performance Engineer - Remote
PayNearMeAbout the role
Company Description
At PayNearMe, we’re on a mission to make paying and getting paid as simple as possible. We build innovative technology that transforms the way businesses and their customers experience payments. Our industry-leading platform, PayXM™, is the first of its kind—designed to manage the entire payment experience from start to finish. Every click, swipe or tap is seamless, fast and secure, helping non-commerce businesses boost customer satisfaction, accelerate payments, and reduce costs.
Our single platform handles it all: cards, ACH, digital wallets such as PayPal, Venmo, Cash App Pay, Apple Pay and Google Pay, and even cash at more than 62,000 retail locations nationwide. Today, thousands of businesses across consumer lending, iGaming and online sports betting, property management, and tolling trust PayNearMe to deliver a payment experience that drives real results.
In September 2025, we raised a $50 million Series E funding round to accelerate our growth.
We’re a team of 200+ employees across 41 states, headquartered in Silicon Valley with satellite offices in Dallas, TX and Holmdel, NJ.
Join us and be part of a team that’s shaping the future of payments—one experience at a time.
Job Description
The Performance and Scale team ensures our systems remain fast, reliable, and efficient as we grow. We’re looking for a Sr. Database Performance Engineer to identify and fix slow MySQL queries across our Rails monolith, improving application responsiveness and overall system performance. In this role, you’ll take ownership of known database performance issues, use Datadog and other profiling tools to uncover high-impact optimization opportunities, and address underlying inefficiencies in query patterns or application logic. Over time, this position will expand to include performance and scalability work across other data systems such as TiDB, Elasticache, and Opensearch—directly improving user experience, enabling infrastructure efficiency, and reducing operational costs.
We're looking for someone who has built highly performant OLTP systems, who fully understands the importance and impact of efficient MySQL at scale, and who knows how to identify and focus on the areas that will have the most impact. You should be a Rails wizard who understands all the subtleties of generating performant MySQL using ActiveRecord. You should have a passion for database efficiency!
Responsibilities
- Work hands-on to identify, analyze, and resolve slow ActiveRecord queries across the Rails monolith
- Optimize query performance through indexing, query rewriting, and schema improvements
- Collaborate with DBAs and other technical teams to diagnose and remediate database bottlenecks
- Validate all performance improvements through testing, and performance measurement at high load
- Use Datadog to analyze query performance and identify high-impact optimization opportunities
- Implement selective caching in Redis where appropriate to reduce database load
- Document findings and share best practices for performant query design
- Contribute to long-term performance and scalability efforts across MySQL, TiDB, Elasticache, and Opensearch
Qualifications
- Deep expertise with Ruby on Rails, able to craft elegant and minimal solutions to complex problems
- Deep expertise with ActiveRecord MySQL query optimization — must go way beyond standard ActiveRecord use
- Strong understanding of SQL execution and query optimization at the engine level
- 6–10+ years of professional experience (senior level)
- Proven ability to read, understand, and improve complex application code across large systems
- Experience tuning queries, adding indexes, and interpreting execution plans
- Comfortable partnering with DBAs and other technical teams to debug and resolve performance issues
- Clear communicator who’s unafraid to ask questions or seek domain input when needed
- Bachelor’s degree (BA or BS) or equivalent experience
Preferred Qualifications
- Familiarity with alternative database technologies such as TiDB, Elasticache, Opensearch, or DynamoDB
- Direct experience moving a Rails application to TiDB would be a huge plus
- Opinions and practical experience regarding when to choose one database technology over another
- Experience with query analysis and performance tooling (e.g., Datadog, Looker, K6)
- Experience with large-scale data migrations, and tools for doing this (e.g. gh-ost)
- Familiarity with the AWS ecosystem
What Success Looks Like
- Methodically identify, fix, and validate known slow queries across the Rails monolith, demonstrating measurable performance improvements
- Use Datadog to surface additional slow or ineffici
Apply for this role
Generate a tailored application kit with a matched cover letter, interview prep, and CV highlights — in under 60 seconds.
Apply Now →Generate Application KitFree account required — sign up in 30s