PathAI22 open jobs

Staff Software Engineer, Database & Data Platform

Data engineeringPosted 12 days agofrom PathAI's own hiring page

Work type
HybridBoston
Experience
7+ years
Pay
$146k–224k a year
Posted
12 days ago
Before you apply: make your resume fit this job

Skills it mentions

Nice to have

Add your skills to see which ones you have.

Interview questions for this job6 with answers below, on PostgreSQL, Kubernetes, Machine learning and 10 more

About the job

Location: Boston, New York City

PathAI's mission is to improve patient outcomes with AI-powered pathology. 

Our platform promises substantial improvements to the accuracy of diagnosis and the efficacy of treatment of diseases like cancer, leveraging modern approaches in machine learning and artificial intelligence. We have a track record of success in deploying AI algorithms for histopathology in translational research, pathology labs and clinical trials.  Rigorous science and careful analysis is critical to the success of everything we do. Our team, composed of diverse employees with a wide range of backgrounds and experiences, is passionate about solving challenging problems and making a huge impact on patient outcomes.

At PathAI, we are constantly evaluating our tech stack and our current tools consist of:

  • Languages & Frameworks: Python, SQL, Django / DRF, FastAPI
  • Platform: PostgreSQL, Kubernetes (on-prem and EKS), RDS / PostgreSQL
  • Tooling: GitLab CI/CD, Terraform, Docker, Datadog

The Opportunity

We’re looking for a database focused Staff Software Engineer to own the data tier for AISight across on-premises, multi-tenant cloud, and private cloud deployments. You will design, deploy, tune, and operate the PostgreSQL databases behind our clinical platform and set the standard for how every team works with data.

  • You will own the deployment, administration, and lifecycle of AISight's PostgreSQL databases across on-prem (Kubernetes), multi-tenant cloud, and private cloud, including high availability, replication, backup and restore, upgrades, and disaster recovery.
  • You will define a consistent database architecture and operating model across these environments, accounting for where managed services (RDS) and our self-managed deployments differ.
  • You will design and evolve multi-tenant data strategies, including tenant isolation, migration management at scale, and the tradeoffs between shared and dedicated databases.
  • You will diagnose and resolve performance problems: query plans, indexing, partitioning, vacuum and bloat, connection pooling, locking, and configuration tuning, including how Kubernetes resource limits and storage classes affect database behavior.
  • You will design schemas with application teams and review migrations for safety and performance at scale.
  • You will plan capacity and storage for growing datasets, including retention, archival, and expiration strategies.
  • You will build tooling, automation, and runbooks that make database operations repeatable and observable.
  • You will drive database architecture decisions, considering the team and our future product roadmap.
  • You will collaborate with product, design, machine learning, infrastructure, and SRE teams.
  • You will foster a culture of continuous learning by mentoring teammates and documenting systems clearly so others can maintain them.
  • You will contribute to a platform used in clinical settings, ensuring reliability, data integrity, and compliance with industry standards.
  • You will collaborate with clinical, QA, and regulatory teams to ensure database changes meet validation expectations and support inspection readiness.

Who You Are: (Required)

  • You have a BS in Computer Science, Software Engineering or closely related technical field.
  • You have 7+ years of full life cycle development experience, including deep, hands-on PostgreSQL experience in production. At the Staff level, you have demonstrated technical leadership across teams and ownership of complex, multi-system problems.
  • You have demonstrated expertise in schema design, query optimization, and performance tuning.
  • You have demonstrated experience running PostgreSQL on Kubernetes, including operators (e.g., CloudNativePG, Zalando, Crunchy) or equivalent, persistent storage, and stateful workloads.
  • You have demonstrated experience with managed PostgreSQL on AWS (RDS / Aurora).
  • You have demonstrated experience with high availability and failover, replication, backup and point-in-time recovery, and major-version upgrades with minimal downtime.
  • You have experience with multi-tenant database architectures and their isolation, migration, and operational challenges.
  • You have strong Python skills for automation and tooling.
  • You have a demonstrated ability to collaborate with a distributed team and to work autonomously on projects; You have demonstrated problem-solving skills and the ability to work in a fast-paced, agile environment.
  • You have strong interpersonal and communication skills, including clear technical documentation and the ability to explain technical concepts to non-experts.

Preferred:

  • We have a hybrid work environment with 2 days a week in person at one of our office
  • You have an advanced degree in Computer Science, Software Engineering or closely related technical field
  • You have experience working in a regulated environment such as healthtech, including change control and validation
  • You have hands-on experience with CI/CD tools, e.g. GitLab CI
  • You have knowledge of some IaC framework, e.g. Terraform
  • You have familiarity with Linux, storage, and networking fundamentals as they affect database performance
  • You have experience with Apache Airflow or similar workflow orchestration
  • You have experience with ETL / data warehousing, or with analytics-heavy or ML data environments
  • You have experience with data governance, retention policy, or storage cost optimization
  • You have experience supporting customer-hosted or air-gapped deployments
  • You have excellent organizational skills and the ability to prioritize and manage multiple projects efficiently.

This is a hybrid position based in Boston, MA.

Relocation benefits are not available for this position.

The expected salary range for this position based on the primary location Boston, MA is $146,250 - $224,250.  Actual pay will be determined based on experience, qualifications, geographic location, and other job-related factors permitted by law.  

PathAI is an equal opportunity employer. It is our policy and practice to employ, promote, and otherwise treat any and all employees and applicants on the basis of merit, qualifications, and competence. The company's policy prohibits unlawful discrimination, including but not limited to, discrimination on the basis of Protected Veteran status, individuals with disabilities status, and consistent with all federal, state, or local laws.

Interested?Staff Software Engineer, Database & Data Platform at PathAI

Apply on company site (opens in a new tab)

The job ad ends here

Interview questions for this job6 with answers, on PostgreSQL, Kubernetes, Machine learning and 10 more

Interview questions for this job

For the skills the ad mentions: PostgreSQL, Kubernetes, Machine learning, CI/CD, Terraform, Python, SQL, Django, FastAPI, Docker, AWS, Linux and Networking.

1,370 questions
  • Understanding "bitmap heap scan" and "bitmap index scan"PostgreSQL

    How does PostgreSQL knows by just a bitmap anything about rows' physical order?

    The bitmap is one bit per heap page. The bitmap index scan sets the bits based on the heap page address that the index entry points to.

    So when it goes to do the bitmap heap scan, it just does a linear table scan, reading the bitmap to see whether it should bother with a particular page or seek over it.

    Or generates the bitmap so that any element of it can be mapped to the pointer to a page easily?

    No, the bitmap corresponds 1:1 to heap pages.

    I wrote some more on this here.

    OK, it looks like you might be misunderstanding what "bitmap" means in this context.

    It's not a bit string like "101011" that's created for each heap page, or each index read, or whatever.

    The whole bitmap is a single bit array, with as many bits as there are heap pages in the relation being scanned.

    One bitmap is created by the first index scan, starting off with all entries 0 (false). Whenever an index entry that matches the search condition is found, the heap address pointed to by that index entry is looked up as an offset into the bitmap, and that bit is set to 1 (true). So rather than looking up the heap page directly, the bitmap index scan looks up the corresponding bit position in the bitmap.

    The second and further bitmap index scans do the same thing with the other indexes and the search conditions on them.

    Then each bitmap is ANDed together. The resulting bitmap has one bit for each heap page, where the bits are true only if they were true in all the individual bitmap index scans, i.e. the search condition matched for every index scan. These are the only heap pages we need to bother to load and examine. Since each heap page might contain multiple rows, we then have to examine each row to see if it matches all the conditions - that's what the "recheck cond" part is about.

    One crucial thing to understand with all this is that the tuple address in an index entry points to the row's ctid, which is a combination of the heap page number and the offset within the heap page. A bitmap index scan ignores the offsets, since it'll check the whole page anyway, and sets the bit if any row on that page matches the condition.

    Graphical example

    Heap, one square = one page:
    +---------------------------------------------+
    |c____u_____X___u___X_________u___cXcc______u_|
    +---------------------------------------------+
    Rows marked c match customers pkey condition.
    Rows marked u match username condition.
    Rows marked X match both conditions.
    Bitmap scan from customers_pkey:
    +---------------------------------------------+
    |100000000001000000010000000000000111100000000| bitmap 1
    +---------------------------------------------+
    One bit per heap page, in the same order as the heap
    Bits 1 when condition matches, 0 if not
    Bitmap scan from ix_cust_username:
    +---------------------------------------------+
    |000001000001000100010000000001000010000000010| bitmap 2
    +---------------------------------------------+
    

    Once the bitmaps are created a bitwise AND is performed on them:

    +---------------------------------------------+
    |100000000001000000010000000000000111100000000| bitmap 1
    |000001000001000100010000000001000010000000010| bitmap 2
     &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
    |000000000001000000010000000000000010000000000| Combined bitmap
    +-----------+-------+--------------+----------+
                |       |              |
                v       v              v
    Used to scan the heap only for matching pages:
    +---------------------------------------------+
    |___________X_______X______________X__________|
    +---------------------------------------------+
    

    The bitmap heap scan then seeks to the start of each page and reads the page:

    Read the rest at the sourceFrom Database Administrators Stack Exchange: asked by St.Antario, answered by Craig Ringer (CC BY-SA 3.0)

  • What's the difference between Apache's Mesos and Google's Kubernetes?Kubernetes

    Kubernetes is an open source project that brings 'Google style' cluster management capabilities to the world of virtual machines, or 'on the metal' scenarios. It works very well with modern operating system environments (like CoreOS or Red Hat Atomic) that offer up lightweight computing 'nodes' that are managed for you. It is written in Golang and is lightweight, modular, portable and extensible. We (the Kubernetes team) are working with a number of different technology companies (including Mesosphere who curate the Mesos open source project) to establish Kubernetes as the standard way to interact with computing clusters. The idea is to reproduce the patterns that we see people needing to build cluster applications based on our experience at Google. Some of these concepts include:

    • pods — a way to group containers together
    • replication controllers — a way to handle the lifecycle of containers
    • labels — a way to find and query containers, and
    • services — a set of containers performing a common function.

    So with Kubernetes alone you will have something that is simple, easy to get up-and-running, portable and extensible that adds 'cluster' as a noun to the things that you manage in the lightest weight manner possible. Run an application on a cluster, and stop worrying about an individual machine. In this case, cluster is a flexible resource just like a VM. It is a logical computing unit. Turn it up, use it, resize it, turn it down quickly and easily.

    With Mesos, there is a fair amount of overlap in terms of the basic vision, but the products are at quite different points in their lifecycle and have different sweet spots. Mesos is a distributed systems kernel that stitches together a lot of different machines into a logical computer. It was born for a world where you own a lot of physical resources to create a big static computing cluster. The great thing about it is that lots of modern scalable data processing application run well on Mesos (Hadoop, Kafka, Spark) and it is nice because you can run them all on the same basic resource pool, along with your new age container packaged apps. It is somewhat more heavy weight than the Kubernetes project, but is getting easier and easier to manage thanks to the work of folks like Mesosphere.

    Now what gets really interesting is that Mesos is currently being adapted to add a lot of the Kubernetes concepts and to support the Kubernetes API. So it will be a gateway to getting more capabilities for your Kubernetes app (high availability master, more advanced scheduling semantics, ability to scale to a very large number of nodes) if you need them, and is well suited to run production workloads (Kubernetes is still in an alpha state).

    When asked, I tend to say:

    1. Kubernetes is a great place to start if you are new to the clustering world; it is the quickest, easiest and lightest way to kick the tires and start experimenting with cluster oriented development. It offers a very high level of portability since it is being supported by a lot of different providers (Microsoft, IBM, Red Hat, CoreOs, MesoSphere, VMWare, etc).

    2. If you have existing workloads (Hadoop, Spark, Kafka, etc), Mesos gives you a framework that let's you interleave those workloads with each other, and mix in a some of the new stuff including Kubernetes apps.

    3. Mesos gives you an escape valve if you need capabilities that are not yet implemented by the community in the Kubernetes framework.

    From Stack Overflow: asked by binaryanomaly, answered by Craig Mcluckie (CC BY-SA 3.0)

  • What is the difference between data mining, statistics, machine learning and AI?Machine learning

    There is considerable overlap among these, but some distinctions can be made. Of necessity, I will have to over-simplify some things or give short-shrift to others, but I will do my best to give some sense of these areas.

    Firstly, Artificial Intelligence is fairly distinct from the rest. AI is the study of how to create intelligent agents. In practice, it is how to program a computer to behave and perform a task as an intelligent agent (say, a person) would. This does not have to involve learning or induction at all, it can just be a way to 'build a better mousetrap'. For example, AI applications have included programs to monitor and control ongoing processes (e.g., increase aspect A if it seems too low). Notice that AI can include darn-near anything that a machine does, so long as it doesn't do it 'stupidly'.

    In practice, however, most tasks that require intelligence require an ability to induce new knowledge from experiences. Thus, a large area within AI is machine learning. A computer program is said to learn some task from experience if its performance at the task improves with experience, according to some performance measure. Machine learning involves the study of algorithms that can extract information automatically (i.e., without on-line human guidance). It is certainly the case that some of these procedures include ideas derived directly from, or inspired by, classical statistics, but they don't have to be. Similarly to AI, machine learning is very broad and can include almost everything, so long as there is some inductive component to it. An example of a machine learning algorithm might be a Kalman filter.

    Data mining is an area that has taken much of its inspiration and techniques from machine learning (and some, also, from statistics), but is put to different ends. Data mining is carried out by a person, in a specific situation, on a particular data set, with a goal in mind. Typically, this person wants to leverage the power of the various pattern recognition techniques that have been developed in machine learning. Quite often, the data set is massive, complicated, and/or may have special problems (such as there are more variables than observations). Usually, the goal is either to discover / generate some preliminary insights in an area where there really was little knowledge beforehand, or to be able to predict future observations accurately. Moreover, data mining procedures could be either 'unsupervised' (we don't know the answer--discovery) or 'supervised' (we know the answer--prediction). Note that the goal is generally not to develop a more sophisticated understanding of the underlying data generating process. Common data mining techniques would include cluster analyses, classification and regression trees, and neural networks.

    I suppose I needn't say much to explain what statistics is on this site, but perhaps I can say a few things. Classical statistics (here I mean both frequentist and Bayesian) is a sub-topic within mathematics. I think of it as largely the intersection of what we know about probability and what we know about optimization. Although mathematical statistics can be studied as simply a Platonic object of inquiry, it is mostly understood as more practical and applied in character than other, more rarefied areas of mathematics. As such (and notably in contrast to data mining above), it is mostly employed towards better understanding some particular data generating process. Thus, it usually starts with a formally specified model, and from this are derived procedures to accurately extract that model from noisy instances (i.e., estimation--by optimizing some loss function) and to be able to distinguish it from other possibilities (i.e., inferences based on known properties of sampling distributions). The prototypical statistical technique is regression.

    From Cross Validated: asked by Olivier Lalonde, answered by gung - Reinstate Monica (CC BY-SA 3.0)

  • Change email address in GitCI/CD

    Locally set email-address (separately for each repository)

    1. Open Git Bash.

    2. Change the current working directory to the local repository in which you want to set your Git config email.

    3. Set your email address with the following command:

    git config user.email "your_email@abc.example"
    
    1. Confirm that you have set your email address correctly with the following command.
    git config user.email
    

    Globally set email-address (only used when nothing is set locally)

    1. Open Git Bash.

    2. Set your email address with the following command:

    git config --global user.email "your_email@abc.example"
    
    1. Confirm that you have set your email address:
    git config --global user.email
    

    Or using environment variables

    1. GIT_COMMITTER_EMAIL=your_email@abc.example
    2. GIT_AUTHOR_EMAIL=your_email@abc.example

    PD: Info from GitHub official guide

    From Stack Overflow: asked by mani_nz, answered by Marc (CC BY-SA 4.0)

  • What is Terraform state?Terraform

    In general terms, the Terraform state is a real-time description of all cloud infrastructure that has been created by terraform. The Terraform state however, branches into two:

    • Current state: Description of all infrastructure created by Terrafrom in the present. Usually stored in .tfstate files.
    • Desired state: Description of what you want to be created in the cloud. Stored in .tf files

    Terraform will always match the current state to the desired state.

    From Tech Vault (Apache 2.0)

  • What is the STAR method, and how do you use it to answer?Behavioural

    Use the STAR method to prepare for interviews and to show your skills and experience on a CV or application form.

    What STAR stands for

    • Situation - the situation you had to deal with
    • Task - the task you were given to do
    • Action - the action you took
    • Result - what happened as a result of your action and what you learned from the experience

    When to use STAR

    You can use the STAR method in your:

    How to use STAR

    You can use the STAR method to structure the examples you give to questions, especially in interviews.

    A job description lists the skills and qualities the employer is looking for. You can use the STAR method to show how you meet these. 

    It can help to look at common interview questions when preparing.

    When using STAR, remember to:

    • use examples that work for you - these could be from work, home or volunteering
    • keep examples short and to the point
    • try to get your points across in a conversational way so as not to appear too rehearsed
    • be prepared to answer follow-up questions about the examples you give

    Example 1 - leadership skills

    Tell me about a time when you have shown leadership skills.

    Situation - in my previous digital marketing job, the company wanted to get more people to sign up to a newsletter which was not receiving a lot of attention.

    Task - my job was to find a way of getting more people to sign up.

    Action - I organised a meeting with other members of the marketing team to come up with creative ideas, and I led the social media campaign to generate interest in the revamped newsletter.

    Result - over a period of 3 months, there was an 25% increase in sign-ups to the newsletter and the approach I took was used by the management team in other departments.

    Example 2 - teamwork

    Tell me about a time you have worked as part of a team?

    Situation - when I was at school, I was part of the netball team. We needed to raise funds to buy more equipment for the team.

    Task - my job was to work with the rest of the team to set up a bake sale to raise money.

    Action - I took the lead and found out who wanted to help with the bake sale. I then held a meeting so we could work out dates and what tasks each person would do. I made sure that we were all clear what our role was and everyone who wanted to, got a chance to get involved.

    Result - the bake sale was a success due to the team all pulling together. We raised £200 and were able to buy new equipment for the netball team.

    Example 3 - problem solving

    Give me an example of when you faced a problem at work. How did you handle it?

    Read the rest at the sourceFrom National Careers Service: interview advice (Open Government Licence v3.0)

Similar jobs

More like this: Jobs in Boston (1,288) and Data engineer jobs in the USA (318)