Cloudflare386 open jobs

Systems Engineer - Database Platform

System and IT adminPosted over 2 months agofrom Cloudflare's own hiring page

Work type
HybridNew York, San Francisco Bay Area, Austin
Experience
Not stated
Pay
$157k–196k a year
Posted
Over 2 months agoOpen 3 months
Before you apply: make your resume fit this job

Skills it mentions

Add your skills to see which ones you have.

Interview questions for this job6 with answers below, on PostgreSQL, Docker, Terraform and 9 more

About the job

About Us

At Cloudflare, we are on a mission to help build a better Internet. Today the company runs one of the world’s largest networks that powers millions of websites and other Internet properties for customers ranging from individual bloggers to SMBs to Fortune 500 companies. Cloudflare protects and accelerates any Internet application online without adding hardware, installing software, or changing a line of code. Internet properties powered by Cloudflare all have web traffic routed through its intelligent global network, which gets smarter with every request. As a result, they see significant improvement in performance and a decrease in spam and other attacks. Cloudflare was named to Entrepreneur Magazine’s Top Company Cultures list and ranked among the World’s Most Innovative Companies by Fast Company.

At Cloudflare, we’re not looking for people who wait for a polished roadmap; we’re looking for the builders who see the cracks in the Internet that everyone else has simply learned to live with. We value candidates who have the instinct to spot a "normalized" problem and the AI-native curiosity to create a solution using the latest tools. Our culture is built on iteration, leveraging AI to ship faster today to make it better tomorrow, while ensuring that every improvement, no matter how small, is shared across the team to lift everyone up. If you’re the type of person who values curiosity over bureaucracy, and that AI is a partner in solving tough problems to keep the Internet moving forward, you’ll fit right in.

 Available Locations: Austin, New York, San Francisco, Canada, Remote

About the Team

We manage an internal, multi-region PostgreSQL platform that enables engineers to rapidly build, deploy, and operate services. Our mission is to provide a highly available, stable, and self-service platform with clear operational visibility. As a Systems Engineer, you will collaborate with database engineers, developers, and infrastructure teams to evolve our database architecture and automation. You will be instrumental in scaling our PostgreSQL infrastructure and enhancing database reliability. If you are passionate about PostgreSQL, automation, reliability, and database tooling, let's connect!

Role Responsibilities

  • Build, deploy, and manage PostgreSQL database clusters in production environments. 
  • Develop and maintain database tooling for automation, monitoring and performance tuning.
  • Implement high availability, backup and disaster recovery solutions. 
  • Work closely with Infrastructure and Applications teams to integrate database tools. 
  • Implement proactive solutions using observability tools to monitor database health. 
  • Optimize database performance, indexing strategies, and query tuning. 

Role Requirements (Must-Have Skills)

Must-Have Skills

  • Experience with building, scaling, and managing large-scale multi-tenant PostgreSQL database clusters, encompassing high availability failover, and disaster recovery strategies.
  • Experience with infrastructure-as-code (Terraform, Ansible or Salt) .
  • Experience in scripting languages (Python, Bash) for automation. 
  • Experience building and maintaining database tooling for automation and monitoring.
  • Experience with containerization technologies like Docker and Kubernetes.
  • Experience optimizing database performance and query tuning.
  • Experience with alerting and monitoring tools such as Prometheus, Grafana, and Kibana.

Nice-to-Have Skills

  • Experience developing software in Go, Ruby or C/C++
  • Contributions to PostgreSQL or relevant open-source projects.
  • Expertise in database schema migrations and automation using tools like Flyway, Liquibase or goose. 
  • Experience with connection pooling solutions such as PgBouncer, HAProxy.
  • Experience with non-relational data stores such as Distributed & time-series databases (ex. Cassandra, Timescale) and key-value stores (eg., Redis) 

Compensation

Compensation may be adjusted depending on work location.

  • For Bay Area based hires: Estimated annual salary of $157,000 - $196,000
  • For New York based hires: Estimated annual salary of $150,000 - $187,000 

Equity

This role is eligible to participate in Cloudflare’s equity plan.

Benefits

Cloudflare offers a complete package of benefits and programs to support you and your family.  Our benefits programs can help you pay health care expenses, support caregiving, build capital for the future and make life a little easier and fun!  The below is a description of our benefits for employees in the United States, and benefits may vary for employees based outside the U.S.

Health & Welfare Benefits

  • Medical/Rx Insurance
  • Dental Insurance
  • Vision Insurance
  • Flexible Spending Accounts
  • Commuter Spending Accounts
  • Fertility & Family Forming Benefits
  • On-demand mental health support and Employee Assistance Program
  • Global Travel Medical Insurance

Financial Benefits

  • Short and Long Term Disability Insurance
  • Life & Accident Insurance
  • 401(k) Retirement Savings Plan
  • Employee Stock Participation Plan

Time Off

  • Flexible paid time off covering vacation and sick leave
  • Leave programs, including parental, pregnancy health, medical, and bereavement leave

What Makes Cloudflare Special?

We’re not just a highly ambitious, large-scale technology company. We’re a highly ambitious, large-scale technology company with a soul. Fundamental to our mission to help build a better Internet is protecting the free and open Internet.

Project Galileo: Since 2014, we've equipped more than 2,400 journalism and civil society organizations in 111 countries with powerful tools to defend themselves against attacks that would otherwise censor their work, technology already used by Cloudflare’s enterprise customers--at no cost.

Athenian Project: In 2017, we created the Athenian Project to ensure that state and local governments have the highest level of protection and reliability for free, so that their constituents have access to election information and voter registration. Since the project, we've provided services to more than 425 local government election websites in 33 states.

1.1.1.1: We released 1.1.1.1 to help fix the foundation of the Internet by building a faster, more secure and privacy-centric public DNS resolver. This is available publicly for everyone to use - it is the first consumer-focused service Cloudflare has ever released. Here’s the deal - we don’t store client IP addresses never, ever. We will continue to abide by our privacy commitment and ensure that no user data is sold to advertisers or used to target consumers.

Sound like something you’d like to be a part of? We’d love to hear from you!

Please note that applicants who progress to the offer stage of the interview process may be asked to attend an in-person interview within one of the Cloudflare Offices or Cloudflare Hubs.  More details about this will be available at that stage of the interview process.

This position may require access to information protected under U.S. export control laws, including the U.S. Export Administration Regulations. Please note that any offer of employment may be conditioned on your authorization to receive software or technology controlled under these U.S. export laws without sponsorship for an export license.

Cloudflare is proud to be an equal opportunity employer.  We are committed to providing equal employment opportunity for all people and place great value in both diversity and inclusiveness.  All qualified applicants will be considered for employment without regard to their, or any other person's, perceived or actual race, color, religion, sex, gender, gender identity, gender expression, sexual orientation, national origin, ancestry, citizenship, age, physical or mental disability, medical condition, family care status, or any other basis protected by law. We are an AA/Veterans/Disabled Employer.

Cloudflare provides reasonable accommodations to qualified individuals with disabilities.  Please tell us if you require a reasonable accommodation to apply for a job. Examples of reasonable accommodations include, but are not limited to, changing the application process, providing documents in an alternate format, using a sign language interpreter, or using specialized equipment.  If you require a reasonable accommodation to apply for a job, please contact us via e-mail at hr@cloudflare.com or via mail at 101 Townsend St. San Francisco, CA 94107.

Interested?Systems Engineer - Database Platform at Cloudflare

Apply on company site (opens in a new tab)

The job ad ends here

Interview questions for this job6 with answers, on PostgreSQL, Docker, Terraform and 9 more

Interview questions for this job

For the skills the ad mentions: PostgreSQL, Docker, Terraform, Ansible, Python, Shell scripting, Kubernetes, Go, Ruby, C, C++ and Redis.

639 questions
  • What is faster, one big query or many small queries?PostgreSQL

    What would address your question is the subject JOIN DECOMPOSITION.

    According to Page 209 of the Book

    You can decompose a join by running multiple single-table queries instead of a multitable join, and then performing the join in the application. For example, instead of this single query:

    SELECT * FROM tag
    JOIN tag_post ON tag_post.tag_id = tag.id
    JOIN post ON tag_post.post_id = post.id
    WHERE tag.tag = 'mysql';
    

    You might run these queries:

    SELECT * FROM tag WHERE tag = 'mysql';
    SELECT * FROM tag_post WHERE tag_id=1234;
    SELECT * FROM post WHERE post.id IN (123,456,567,9098,8904);
    

    Why on earth would you do this ? It looks wasteful at first glance, because you've increased the number of queries without getting anything in return. However, such restructuring can actually give significant performance advantages:

    • Caching can be more efficient. Many applications cache "objects" that map directly to tables. In this example, if the object with the tag mysql is already cached, the application will skip the first query. If you find posts with an ID of 123, 567, or 908 in the cache, you can remove them from the IN() list. The query cache might also benefit from this strategy. If only one of the tables changes frequently, decomposing a join can reduce the number of cache invalidations.
    • Executing the queries individually can sometimes reduce lock contention
    • Doing joins in the application makes it easier to scale the database by placing tables on different servers.
    • The queries themselves can be more efficient. In this example, using an IN() list instead of a join lets MySQL sort row IDs and retrieve rows more optimally than might be possible with a join.
    • You can reduce redundant row accesses. Doing a join in the application means retrieving each row only once., whereas a join in the query is essentially a denormalization that might repeatedly access the same data. For the same reason, such restructuring might also reduce the total network traffic and memory usage.
    • To some extent, you can view this technique as manually implementing a hash join instead of the nested loops algorithm MySQL uses to execute a join. A hash join might be more efficient.

    As a result, doings joins in the application can be more efficient when you cache and reuse a lot of data from earlier queries, you distribute data across multiple servers, you replace joins with IN() lists, or a join refers to the same table multiple times.

    OBSERVATION

    I like the first bulletpoint because InnoDB is a little heavy-handed when it crosschecks the query cache.

    As for the last bulletpoint, I wrote a post back on Mar 11, 2013 (Is there an execution difference between a JOIN condition and a WHERE condition?) that describes the nested loop algorithm. After reading it, you will see how good join decomposition may be.

    Read the rest at the sourceFrom Database Administrators Stack Exchange: asked by sudo.ie, answered by RolandoMySQLDBA (CC BY-SA 4.0)

  • How to change the owner of VOLUME directory in Dockerfile?Docker

    As stated in the documentation, VOLUME instruction inherits the directory content and permissions existing in the container, so you can workaround the problem with a dockerfile like this:

    FROM ubuntu:xenial
    RUN useradd -d /home/ubuntu -ms /bin/bash -g root -G sudo -p ubuntu ubuntu
    RUN mkdir /opt/myvolume  && chown ubuntu /opt/myvolume
    WORKDIR /home/ubuntu
    VOLUME /opt/myvolume
    

    The creation of the directory has to be done as root (to be able to write within /opt).

    From DevOps Stack Exchange: asked by kenorb, answered by Tensibai (CC BY-SA 4.0)

  • What is a local/remote state and when should I use them?Terraform

    A local state is a state that is stored in your machine, whereas a remote state is a state that is stored somewhere in the cloud, like S3 Buckets on AWS or Azure Blob Storage on Azure.

    • Use a local state when you're working independently on infrastructure.
    • Use a remote state when collaborating as part of a team.

    From Tech Vault (Apache 2.0)

  • Safely limiting Ansible playbooks to a single machine?Ansible

    Turns out it is possible to enter a host name directly into the playbook, so running the playbook with hosts: imac-2.local will work fine. But it's kind of clunky.

    A better solution might be defining the playbook's hosts using a variable, then passing in a specific host address via --extra-vars:

    # file: user.yml  (playbook)
    ---
    - hosts: '{{ target }}'
      user: ...
    

    Running the playbook:

    ansible-playbook user.yml --extra-vars "target=imac-2.local"
    

    If {{ target }} isn't defined, the playbook does nothing. A group from the hosts file can also be passed through if need be. Overall, this seems like a much safer way to construct a potentially destructive playbook.

    Playbook targeting a single host:

    $ ansible-playbook user.yml --extra-vars "target=imac-2.local" --list-hosts
    playbook: user.yml
      play #1 (imac-2.local): host count=1
        imac-2.local
    

    Playbook with a group of hosts:

    $ ansible-playbook user.yml --extra-vars "target=office" --list-hosts
    playbook: user.yml
      play #1 (office): host count=3
        imac-1.local
        imac-2.local
        imac-3.local
    

    Forgetting to define hosts is safe!

    $ ansible-playbook user.yml --list-hosts
    playbook: user.yml
      play #1 ({{target}}): host count=0
    

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

  • How do I write a function with output parameters (call by reference)?Python

    Remember that arguments are passed by assignment in Python. Since assignment just creates references to objects, there’s no alias between an argument name in the caller and callee, and consequently no call-by-reference. You can achieve the desired effect in a number of ways.

    1. By returning a tuple of the results:

      >>> def func1(a, b):
      ...     a = 'new-value'        # a and b are local names
      ...     b = b + 1              # assigned to new objects
      ...     return a, b            # return new values
      ...
      >>> x, y = 'old-value', 99
      >>> func1(x, y)
      ('new-value', 100)
      

      This is almost always the clearest solution.

    2. By using global variables. This isn’t thread-safe, and is not recommended.

    3. By passing a mutable (changeable in-place) object:

      >>> def func2(a):
      ...     a[0] = 'new-value'     # 'a' references a mutable list
      ...     a[1] = a[1] + 1        # changes a shared object
      ...
      >>> args = ['old-value', 99]
      >>> func2(args)
      >>> args
      ['new-value', 100]
      
    4. By passing in a dictionary that gets mutated:

      >>> def func3(args):
      ...     args['a'] = 'new-value'     # args is a mutable dictionary
      ...     args['b'] = args['b'] + 1   # change it in-place
      ...
      >>> args = {'a': 'old-value', 'b': 99}
      >>> func3(args)
      >>> args
      {'a': 'new-value', 'b': 100}
      
    5. Or bundle up values in a class instance:

      >>> class Namespace:
      ...     def __init__(self, /, **args):
      ...         for key, value in args.items():
      ...             setattr(self, key, value)
      ...
      >>> def func4(args):
      ...     args.a = 'new-value'        # args is a mutable Namespace
      ...     args.b = args.b + 1         # change object in-place
      ...
      >>> args = Namespace(a='old-value', b=99)
      >>> func4(args)
      >>> vars(args)
      {'a': 'new-value', 'b': 100}
      

      There’s almost never a good reason to get this complicated.

    Your best choice is to return a tuple containing the multiple results.

    From Python Frequently Asked Questions (PSF License Version 2)

  • Can you tell us about a personal achievement at work?Behavioural

    Employers usually base questions on jobs you have done in the past. This gives you the chance to talk about your experience. For instance, they might ask:

    • when have you faced a challenging situation?
    • can you tell us about a personal achievement at work?
    • have you ever taken the initiative?
    • have you ever failed at a task?

    Your answers should reflect the skills the employer wants. Be positive and tailor your examples to the job description.

    If you don't have much work history, you can use examples from outside of work. You can also use examples from volunteering experience.

    Use the  STAR method  to help structure your answers.

    From National Careers Service: interview advice (Open Government Licence v3.0)

Similar jobs

More like this: System and IT admin jobs in New York (61), Jobs in New York (6,234) and System and IT admin jobs in the USA (934)