MongoDB209 open jobs

Senior Software Engineer, Query Optimization

Software engineeringPosted over 2 months agofrom MongoDB's own hiring page

Work type
RemoteIn the US
Experience
5+ years
Pay
$101k–273k a year
Posted
Over 2 months agoOpen 4 months
Before you apply: make your resume fit this job

From the ad

  • Degree or equivalent experienceDegree in Computer Science or similar field, or equivalent practical experience, with strong competencies in data structures, algorithms, and software design/architecture

Skills it mentions

Add your skills to see which ones you have.

Interview questions for this job6 with answers below, on MongoDB and C++

About the job

Join the MongoDB Server Query Optimization team, and help us build a world-class distributed open-source query optimizer. Our team plays a crucial role in the experience and performance of data processing. We are responsible for the MongoDB Query Language and the lifecycle of each query, through parsing, optimization and plan selection.

We have tons of interesting problems to solve with a direct impact on users for transactional, time-series, and analytical workloads. The team is endeavoring to systematically rewrite every major component of our optimization and execution systems. We need your help to design and build the heart of a distributed, flexible schema, document database.

This role can be based remotely in the U.S. or Canada, limited to Eastern or Central time zones only.

Candidate Profile

  • 5+ years of experience in data management systems, distributed systems, or large-scale backend engineering
  • Experience with building production-level code with a large user base, robust design structure and rigorous code quality
  • Degree in Computer Science or similar field, or equivalent practical experience, with strong competencies in data structures, algorithms, and software design/architecture
  • Experience with large code bases written in C++ or another systems programming language. You'll need to trace down defects, estimate work complexity, and design evolution and integration strategies as we rewrite different components of the system
  • A strong foundation in core database internals is essential. While direct experience in query optimization is a massive bonus, it is not a prerequisite. We are also excited to meet candidates with strong backgrounds in compilers, language transpilers, or distributed storage systems

Position Expectations

  • Innovate in the area of flexible schema databases. Help us build a world-class query optimization system
  • Research state-of-the art query systems to inform our design
  • Leverage deep knowledge of the strength and weakness of the product and of industry trends to provide technical vision and direction 
  • Set initiative level strategy, architect plans, and lead the team towards successful execution
  • Advise and partner with management on roadmap decisions, processes, and architectural designs
  • Identify, design, implement, test, and support new features related to query performance and robustness, query language enhancements, diagnostics, and integration with other products and tools
  • Work with other engineers to coordinate seamless changes in a feature-rich, large code base
  • Work with other teams including client drivers, cloud services, enterprise tools, support, consulting, education, and marketing to coordinate changes or contribute to their projects
  • Influence and grow team members through active mentoring, coaching and leading by example

Success Measures

  • In three months you’ll have contributed to the development of a project slated for the next major version, as well as fixed a few bugs in a minor version of our latest stable release series; You'll have learned about MongoDB's project lifecycle, and our long-term goals for the system
  • In six months, you’ll have taken on code review responsibilities and are playing an active role in drafting and reviewing the design for new features; You have expanded the team's horizons by presenting a favorite paper or system architecture related to query systems
  • In twelve months, on the basis of your extensive past experience in the query space, you have contributed to the long-term technical roadmap of the MongoDB Query team

About MongoDB

MongoDB is built for change, empowering our customers and our people to innovate at the speed of the market. We have redefined the data platform for the AI era, enabling builders to create, transform, and disrupt industries with software. MongoDB’s unified data platform, the most widely available, globally distributed data platform on the market, helps organizations modernize legacy workloads, embrace innovation, and unleash AI. Our cloud-native platform, MongoDB Atlas, is the only globally distributed, multi-cloud data platform and is available across AWS, Google Cloud, and Microsoft Azure.

With offices worldwide and over 67,000 customers, including 75% of the Fortune 100 and AI-native startups, relying on MongoDB for their most important applications, we’re powering the next era of software.

Our compass at MongoDB is our Leadership Commitment, guiding how and why we make decisions, show up for each other, and win. It’s what makes us MongoDB. 

To drive the personal growth and business impact of our employees, we’re committed to developing a supportive and enriching culture for everyone. From employee affinity groups, to fertility assistance and a generous parental leave policy, we value our employees’ wellbeing and want to support them along every step of their professional and personal journeys. Learn more about what it’s like to work at MongoDB, and help us make an impact on the world!

MongoDB is committed to providing any necessary accommodations for individuals with disabilities within our application and interview process. To request an accommodation due to a disability, please inform your recruiter.

MongoDB, Inc. provides equal employment opportunities to all employees and applicants for employment and prohibits discrimination and harassment of any type and makes all hiring decisions without regard to race, color, religion, age, sex, national origin, disability status, genetics, protected veteran status, sexual orientation, gender identity or expression, or any other characteristic protected by federal, state or local laws.

Req. ID: 1273425622

MongoDB’s base salary range for this role is posted below. Compensation at the time of offer is unique to each candidate and based on a variety of factors such as skill set, experience, qualifications, and work location. Salary is one part of MongoDB’s total compensation and benefits package. Other benefits for eligible employees may include: equity, participation in the employee stock purchase program, flexible paid time off, 20 weeks fully-paid gender-neutral parental leave, fertility and adoption assistance, 401(k) plan, mental health counseling, access to transgender-inclusive health insurance coverage, and health benefits offerings. Please note, the base salary range listed below and the benefits in this paragraph are only applicable to U.S.-based candidates.

MongoDB’s base salary range for this role in the U.S. is:$101,000—$273,000 USD

Interested?Senior Software Engineer, Query Optimization at MongoDB

Apply on company site (opens in a new tab)

The job ad ends here

Interview questions for this job6 with answers, on MongoDB and C++

Interview questions for this job

For the skills the ad mentions: MongoDB and C++.

39 questions
  • "Large data" workflows using pandasMongoDB

    I routinely use tens of gigabytes of data in just this fashion e.g. I have tables on disk that I read via queries, create data and append back.

    It's worth reading the docs and late in this thread for several suggestions for how to store your data.

    Details which will affect how you store your data, like:
    Give as much detail as you can; and I can help you develop a structure.

    1. Size of data, # of rows, columns, types of columns; are you appending rows, or just columns?
    2. What will typical operations look like. E.g. do a query on columns to select a bunch of rows and specific columns, then do an operation (in-memory), create new columns, save these.
      (Giving a toy example could enable us to offer more specific recommendations.)
    3. After that processing, then what do you do? Is step 2 ad hoc, or repeatable?
    4. Input flat files: how many, rough total size in Gb. How are these organized e.g. by records? Does each one contains different fields, or do they have some records per file with all of the fields in each file?
    5. Do you ever select subsets of rows (records) based on criteria (e.g. select the rows with field A > 5)? and then do something, or do you just select fields A, B, C with all of the records (and then do something)?
    6. Do you 'work on' all of your columns (in groups), or are there a good proportion that you may only use for reports (e.g. you want to keep the data around, but don't need to pull in that column explicity until final results time)?

    Solution

    Ensure you have pandas at least 0.10.1 installed.

    Read iterating files chunk-by-chunk and multiple table queries.

    Since pytables is optimized to operate on row-wise (which is what you query on), we will create a table for each group of fields. This way it's easy to select a small group of fields (which will work with a big table, but it's more efficient to do it this way... I think I may be able to fix this limitation in the future... this is more intuitive anyhow):
    (The following is pseudocode.)

    import numpy as np
    import pandas as pd
    # create a store
    store = pd.HDFStore('mystore.h5')
    # this is the key to your storage:
    #    this maps your fields to a specific group, and defines 
    #    what you want to have as data_columns.
    #    you might want to create a nice class wrapping this
    #    (as you will want to have this map and its inversion)  
    group_map = dict(
        A = dict(fields = ['field_1','field_2',.....], dc = ['field_1',....,'field_5']),
        B = dict(fields = ['field_10',......        ], dc = ['field_10']),
        .....
        REPORTING_ONLY = dict(fields = ['field_1000','field_1001',...], dc = []),
    )
    group_map_inverted = dict()
    for g, v in group_map.items():
        group_map_inverted.update(dict([ (f,g) for f in v['fields'] ]))
    

    Reading in the files and creating the storage (essentially doing what append_to_multiple does):

    Read the rest at the sourceFrom Stack Overflow: asked by Zelazny7, answered by Jeff (CC BY-SA 4.0)

  • What is the '-->' operator in C/C++?C++

    --> is not an operator. It is in fact two separate operators, -- and >.

    The code in the condition decrements x, while returning x's original (not decremented) value, and then compares the original value with 0 using the > operator.

    To better understand, the statement could be written as follows:

    while( (x--) > 0 )
    

    From Stack Overflow: asked by GManNickG, answered by Charles Salvia (CC BY-SA 4.0)

  • Checking if a field contains a stringMongoDB

    You can do it with the following code.

    db.users.findOne({"username" : {$regex : "son"}});
    

    From Stack Overflow: asked by johnny, answered by Parvin Gasimzade (CC BY-SA 4.0)

  • What does the explicit keyword mean?C++

    The compiler is allowed to make one implicit conversion to resolve the parameters to a function. This means that the compiler can use constructors callable with a single parameter to convert from one type to another in order to get the right type for a parameter.

    Here's an example with converting constructors that shows how it works:

    struct Foo {
        // Single parameter constructor, can be used as an implicit conversion.
        // Such a constructor is called "converting constructor".
        Foo(int x) {}
    };
    struct Faz {
        // Also a converting constructor.
        Faz(Foo foo) {}
    };
    // The parameter is of type Foo, not of type int, so it looks like
    // we have to pass a Foo.
    void bar(Foo foo) {};
    int main() {
        // However, the converting constructor allows us to pass an int.
        bar(42);
        // Also allowed thanks to the converting constructor.
        Foo foo = 42;
        // Error! This would require two conversions (int -> Foo -> Faz).
        Faz faz = 42;
    }
    

    Prefixing the explicit keyword to the constructor prevents the compiler from using that constructor for implicit conversions. Adding it to the above class will create a compiler error at the function call bar(42). It is now necessary to call for conversion explicitly with bar(Foo(42))

    The reason you might want to do this is to avoid accidental construction that can hide bugs.
    Contrived example:

    • You have a MyString class with a constructor that constructs a string of the given size. You have a function print(const MyString&) (as well as an overload print (char *string)), and you call print(3) (when you actually intended to call print("3")). You expect it to print "3", but it prints an empty string of length 3 instead.

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

  • What is the "__v" field in Mongoose?MongoDB

    From here:

    The versionKey is a property set on each document when first created by Mongoose. This keys value contains the internal revision of the document. The name of this document property is configurable. The default is __v.

    If this conflicts with your application you can configure as such:

    new Schema({..}, { versionKey: '_somethingElse' })
    

    From Stack Overflow: asked by Simon Lomax, answered by Tony The Lion (CC BY-SA 3.0)

  • What are your hobbies and interests?Behavioural

    Employers will want to get to know you and may ask things like:

    • what do you do in your spare time?
    • what are your hobbies and interests?

    Show what kind of personal qualities, interests and skills you have. For example, you could talk about:

    • cooking - to show you're organised and can follow instructions
    • travel - to show you're adventurous and flexible
    • team sports - to show you're a team player with good communication
    • music - to show you're creative

    If the job requires certain skills, you should demonstrate these in your examples.

    Example

    If it's a graphic designer role, you could talk about taking a desktop publishing course.

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

Similar jobs

More like this: Software engineer jobs in New York (301), Jobs in New York (6,234), Software engineer jobs in the USA (1,765) and Remote Software engineer jobs in the USA (709)