Reddit150 open jobs

Software Engineer, Content Platform

BackendPosted over 2 months agofrom Reddit's own hiring page

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

From the ad

  • Degree or equivalent experienceBS in Computer Science, a related field, or equivalent work experience

Skills it mentions

Add your skills to see which ones you have.

Interview questions for this job6 with answers below, on Python, Go, C++ and 6 more

About the job

Reddit is a community of communities. It’s built on shared interests, passion, and trust, and is home to the most open and authentic conversations on the internet. Every day, Reddit users submit, vote, and comment on the topics they care most about. With 100,000+ active communities and approximately 130 million daily active unique visitors, Reddit is one of the internet’s largest sources of information. For more information, visit www.redditinc.com.

This role is remote friendly. Reddit has a flexible first workforce.

Who We Are:
The Infrastructure organization enables Reddit to deliver Reliability, Performance and Efficiency, with a single opinionated technology stack. The Content Platform team within Infrastructure additionally focuses on empowering product teams to build the best possible Content-related experiences, easily and reliably. This is a high-impact team that owns the Tier-0 services and core data models that power some of the most visible aspects of our product - viewing a feed, posting, commenting, upvoting - and we work closely with teams like Consumer, Ads, Feeds, Storage and Ranking. This team is also responsible for running and maintaining R2 – Reddit’s monolith legacy stack that is pretty much in the critical path for every Critical User Journey at Reddit.

We are looking to hire a Software Engineer to help us in this mission. This is a high impact role where your passion for building and maintaining high quality code, scaling Tier-0 infrastructure and building high-leverage platform services will enable our partner product teams to deliver tangible user value.

What You’ll Do:
As a software engineer, you will work with teammates and partner teams to create and improve scalable, fault tolerant, self-serve systems that comprise the Content Platform at Reddit. You will also:

  • Design, write, and deliver software (mostly in Go, sometimes in Python) to improve the availability, scalability, latency, and efficiency of Reddit’s products
  • Dive deep into the codebase of a suite of Go services owned by the team as well as one of Reddit’s monolith Python legacy stack
  • Be able to make system level improvements, enhancements and implement complex code modifications
  • Develop judgment to identify and discuss gaps in our current platform; Help evolve it for next 2+ years of growth
  • Work collaboratively with wide variety of cross-functional teams across Reddit; actively engage in soliciting customer feedback 
  • Collaborate with teammates to share on-call responsibilities and support monitoring/alerting to improve the reliability, scalability, latency, and efficiency of Reddit
  • Continue improving your own technical abilities, acumen and soft skills

Who You Might Be:

  • 3+ years of software engineering experience in a production setting writing clean, maintainable, and well-tested code 
  • BS in Computer Science, a related field, or equivalent work experience
  • Proficiency in one or more backend programming languages like Golang, Python, C++, Java
  • Experience working with one or more databases like Cassandra, Postgres, Redis 
  • Experience with modern cloud-based infrastructure like Kubernetes, gRPC, AWS/GCP
  • Strong communication skills and a desire to collaborate with cross-functional teams
  • Prior experience with scaled, high rate platform services and API design is a plus

Benefits:

  • Comprehensive Healthcare Benefits and Income Replacement Programs
  • 401k with Employer Match
  • Global Benefit programs that fit your lifestyle, from workspace to professional development to caregiving support
  • Family Planning Support
  • Gender-Affirming Care
  • Mental Health & Coaching Benefits
  • Flexible Vacation & Paid Volunteer Time Off
  • Generous Paid Parental Leave 

Pay Transparency:

This job posting may span more than one career level.

In addition to base salary, this job is eligible to receive equity in the form of restricted stock units, and depending on the position offered, it may also be eligible to receive a commission. Additionally, Reddit offers a wide range of benefits to U.S.-based employees, including medical, dental, and vision insurance, 401(k) program with employer match, generous time off for vacation, and parental leave. To learn more, please visit https://www.redditinc.com/careers/.

To provide greater transparency to candidates, we share base salary ranges for all US-based job postings regardless of state. We set standard base pay ranges for all roles based on function, level, and country location, benchmarked against similar stage growth companies. Final offer amounts are determined by multiple factors including, skills, depth of work experience and relevant licenses/credentials, and may vary from the amounts listed below.

The base salary range for this position is:$164,200—$229,900 USD

In select roles and locations, the interviews will be recorded, transcribed and summarized by artificial intelligence (AI). You will have the opportunity to opt out of recording, transcription and summarization prior to any scheduled interviews.

During the interview, we will collect the following categories of personal information: Identifiers, Professional and Employment-Related Information, Sensory Information (audio/video recording), and any other categories of personal information you choose to share with us. We will use this information to evaluate your application for employment or an independent contractor role, as applicable.  We will not sell your personal information or disclose it to any third party for their marketing purposes.  We will delete any recording of your interview promptly after making a hiring decision.  For more information about how we will handle your personal information, including our retention of it, please refer to our Candidate Privacy Policy for Potential Employees and Contractors.

Reddit is proud to be an equal opportunity employer, and is committed to building a workforce representative of the diverse communities we serve.  Reddit is committed to providing reasonable accommodations for qualified individuals with disabilities and disabled veterans in our job application procedures. If, due to a disability, you need an accommodation during the interview process, please let your recruiter know.

Interested?Software Engineer, Content Platform at Reddit

Apply on company site (opens in a new tab)

The job ad ends here

Interview questions for this job6 with answers, on Python, Go, C++ and 6 more

Interview questions for this job

For the skills the ad mentions: Python, Go, C++, Java, PostgreSQL, Redis, Kubernetes, AWS and Google Cloud.

652 questions
  • Why does -22 // 10 return -3?Python

    It’s primarily driven by the desire that i % j have the same sign as j. If you want that, and also want:

    i == (i // j) * j + (i % j)
    

    then integer division has to return the floor. C also requires that identity to hold, and then compilers that truncate i // j need to make i % j have the same sign as i.

    There are few real use cases for i % j when j is negative. When j is positive, there are many, and in virtually all of them it’s more useful for i % j to be >= 0. If the clock says 10 now, what did it say 200 hours ago? -190 % 12 == 2 is useful; -190 % 12 == -10 is a bug waiting to bite.

    From Python Frequently Asked Questions (PSF License Version 2)

  • Pointers vs. values in parameters and return valuesGo

    tl;dr:

    • Methods using receiver pointers are common; the rule of thumb for receivers is, "If in doubt, use a pointer."
    • Slices, maps, channels, strings, function values, and interface values are implemented with pointers internally, and a pointer to them is often redundant.
    • Elsewhere, use pointers for big structs or structs you'll have to change, and otherwise pass values, because getting things changed by surprise via a pointer is confusing.

    One case where you should often use a pointer:

    • Receivers are pointers more often than other arguments. It's not unusual for methods to modify the thing they're called on, or for named types to be large structs, so the guidance is to default to pointers except in rare cases.
      • Jeff Hodges' copyfighter tool automatically searches for non-tiny receivers passed by value.

    Some situations where you don't need pointers:

    Read the rest at the sourceFrom Stack Overflow: asked by Zef Hemel, answered by twotwotwo (CC BY-SA 4.0)

  • What is the difference between #include <filename> and #include "filename"?C++

    What differs is the locations in which the preprocessor searches for the file to be included.

    • #include <filename>   The preprocessor searches in an implementation-defined manner, normally in directories pre-designated by the compiler/IDE. This method is normally used to include header files for the C standard library and other header files associated with the target platform.

    • #include "filename"   The preprocessor also searches in an implementation-defined manner, but one that is normally used to include programmer-defined header files and typically includes same directory as the file containing the directive (unless an absolute path is given).

    For GCC, a more complete description is available in the GCC documentation on search paths.

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

  • How HashMap works?Java

    HashMap works

    HashMap in Java works on hashing principles. It is a data structure which allows us to store object and retrieve it in constant time O(1) provided we know the key. In hashing, hash functions are used to link key and value in HashMap.

    Before understanding the internal working of HashMap, you must be aware of hashCode() and equals() method.

    • equals() - It checks the equality of two objects. It compares the Key, whether they are equal or not. It is a method of the Object class. It can be overridden. If you override the equals() method, then it is mandatory to override the hashCode() method.
    • hashCode() - This is the method of the object class. It returns the memory reference of the object in integer form. The value received from the method is used as the bucket number. The bucket number is the address of the element inside the map. Hash code of null Key is 0.

    Buckets. A bucket is one element of HashMap array. It is used to store nodes. Two or more nodes can have the same bucket. In that case link list structure is used to connect the nodes. Buckets are different in capacity. A relation between bucket and capacity is as follows:

    capacity = number of buckets * load factor

    A single bucket can have more than one nodes, it depends on hashCode() method. The better your hashCode() method is, the better your buckets will be utilized.

    Put()/Get()

    What put() method does:

    • First of all, the key object is checked for null. If the key is null, the value is stored in table[0] position. Because hashcode for null is always 0
    • Then on next step, a hash value is calculated using the key’s hash code by calling its hashCode() method. This hash value is used to calculate the index in the array for storing Entry object. JDK designers well assumed that there might be some poorly written hashCode() functions that can return very high or low hash code value. To solve this issue, they introduced another hash() function and passed the object’s hash code to this hash() function to bring hash value in the range of array index size.
    • Now indexFor(hash, table.length) function is called to calculate exact index position for storing the Entry object.

    Same logic is applied in get() method. The moment hashmap identify the exact match for the key object passed as an argument, it simply returns the value object stored in current Entry object.

    Collisions

    Two unequal objects can have the same hash code value, so they will be stored in same array location called bucket. For resolve such situation HashMap uses LinkedList. Entry class had an attribute "next". This attribute always points to the next object in the chain.

    So, in case of collision, Entry objects are stored in linked list form. When an Entry object needs to be stored in particular index, HashMap checks whether there is already an entry? If there is no entry already present, the entry object is stored in this location. If there is already an object sitting on calculated index, its next attribute is checked. If it is null, and current entry object becomes next node in linkedlist. If next variable is not null, procedure is followed until next is evaluated as null.

    Read the rest at the sourceFrom Android Interview Questions (Apache 2.0)

  • How to manage DEFAULT PRIVILEGES for USERs on a DATABASE vs SCHEMA?PostgreSQL

    Postgres 14 adds the predefined roles pg_read_all_data and pg_write_all_data, which allow shortcuts for the purposes implied by the names.

    Where can I find a decent guide, tutorial or video series on this?

    You'll find everything in the manual. Links below.
    Granted, the matter is not trivial and sometimes confusing. Here is a recipe for the use case:

    Recipe

    I want to have it configured so only the hostdb_admin can create (and drop and alter) tables;
    the hostdb_mgr can read, insert, update and delete on all tables by default;
    and the hostdb_usr can only read all tables (and views).

    As superuser postgres:

    CREATE USER schma_admin WITH PASSWORD 'youwish';
    -- CREATE USER schma_admin WITH PASSWORD 'youwish' CREATEDB CREATEROLE; -- see below
    CREATE USER schma_mgr   WITH PASSWORD 'youwish2';
    CREATE USER schma_usr   WITH PASSWORD 'youwish3';
    

    If you want a more powerful admin that can also manage databases and roles, add the role attributes CREATEDB and CREATEROLE above.

    Grant each role to the next higher level, so all levels "inherit" at least the set of privileges from the next lower level (cascading):

    GRANT schma_usr TO schma_mgr;
    GRANT schma_mgr TO schma_admin;
    CREATE DATABASE hostdb;
    REVOKE ALL ON DATABASE hostdb FROM public;  -- see notes below!
    GRANT CONNECT ON DATABASE hostdb TO schma_usr;  -- others inherit
    \connect hostdb  -- psql syntax
    

    I am naming the schema schma (not hostdb which would be confusing). Pick any name. Optionally make schma_admin the owner of the schema:

    CREATE SCHEMA schma AUTHORIZATION schma_admin;
    SET search_path = schma;  -- see notes
    ALTER ROLE schma_admin IN DATABASE hostdb SET search_path = schma; -- not inherited
    ALTER ROLE schma_mgr   IN DATABASE hostdb SET search_path = schma;
    ALTER ROLE schma_usr   IN DATABASE hostdb SET search_path = schma;
    GRANT USAGE  ON SCHEMA schma TO schma_usr;
    GRANT CREATE ON SCHEMA schma TO schma_admin;
    ALTER DEFAULT PRIVILEGES FOR ROLE schma_admin
    GRANT SELECT                           ON TABLES TO schma_usr;  -- only read
    ALTER DEFAULT PRIVILEGES FOR ROLE schma_admin
    GRANT INSERT, UPDATE, DELETE, TRUNCATE ON TABLES TO schma_mgr;  -- + write, TRUNCATE optional
    ALTER DEFAULT PRIVILEGES FOR ROLE schma_admin
    GRANT USAGE, SELECT, UPDATE ON SEQUENCES TO schma_mgr;  -- SELECT, UPDATE are optional 
    

    For and drop and alter see notes below.

    Postgres 14 adds the predefined, non-login roles pg_read_all_data and pg_write_all_data to give read-only / write-only access to all objects in all schemas. That goes beyond what's being asked here, but may be useful. See:

    As things get more advanced I'll also have questions to apply similar restrictions on TRIGGERS, stored procedures, VIEWS and perhaps other objects.

    Views are special.

    The manual:

    ... (but note that ALL TABLES is considered to include views and foreign tables).

    And for Updatable Views:

    Read the rest at the sourceFrom Database Administrators Stack Exchange: asked by Jim Dennis, answered by Erwin Brandstetter (CC BY-SA 4.0)

  • Have you ever failed at a task?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: Backend developer jobs in the USA (630) and Remote Backend developer jobs in the USA (356)