Cloudflare386 open jobs

Software Engineer, Data Primitives

Software engineeringPosted 2 weeks agofrom Cloudflare's own hiring page

Work type
HybridNew York, Austin, London
Experience
2+ years
Pay
€54k–68k a year
Posted
2 weeks ago
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 TypeScript, Go, JavaScript and 4 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: Lisbon or London or NYC or Austin 

About the Department

The Workers team makes it possible for Cloudflare customers to run JavaScript and WebAssembly on Cloudflare's edge network. We build and maintain the developer platform that executes trillions of requests per month on behalf of developers and grants them nearly limitless control over how their requests are handled and responded to. The Workers team is split into several groups. The Data Primitives group is focused on how we bring state to the edge.

About the Team

The Data Primitives Group enables developers to build with data and asynchronous tasks, taking their applications beyond simple request manipulation to complete, globally delivered applications. We build and operate Cloudflare D1, our managed SQLite database; Queues, our messaging primitive; and Workers KV, a global low-latency key-value data store. We also design and build new services to address critical customer application integration requirements.

What you'll do

In this role, you'll join one of our top-notch engineering teams (D1, Queues or Workers KV) that keep our services and customers’ applications running smoothly at global scale while implementing new features, ensuring reliability, and improving performance.

You will own your code from inception to release, delivering solutions at all layers of the software stack to empower Cloudflare customers. On any given day, you might write or review a design document that outlines how you plan to solve a specific problem, modify how your service processes and stores data, or fix a bug in how our user experience renders. You will use your experience to mentor and guide other engineers as they begin their careers. You can expect to interact with a variety of languages and technologies including, but not limited to Typescript, Go, Rust, and C++.

Examples of desirable skills, knowledge and experience

  • 2+ years of experience with (and love for) distributed systems and data
  • Willing and eager to share knowledge, and mentor
  • Great oral and written communications skills, especially concisely documenting complex conceptsSolid understanding of TypeScript and Go, including asynchronous programming in both
  • Strong systems level programming skillsUnderstanding of security issues and responsibilities
  • Experience with monitoring, alerting and debugging high volume production systems
  • Experience with a continuous integration workflow and using source control (we use git)Solid Linux experience
  • Fluent in analyses of data sets such as logs
  • Designing and building APIs
  • A desire for continuous learning and improvement

Compensation

Compensation may be adjusted depending on work location.

  • For Lisbon based hires: Estimated annual salary of €54,000 - €68,000
  • For NYC 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?Software Engineer, Data Primitives at Cloudflare

Apply on company site (opens in a new tab)

The job ad ends here

Interview questions for this job6 with answers, on TypeScript, Go, JavaScript and 4 more

Interview questions for this job

For the skills the ad mentions: TypeScript, Go, JavaScript, Rust, C++, CI/CD and Linux.

951 questions
  • What is the difference between types String and string?TypeScript

    Here is an example that shows the differences, which will help with the explanation.

    var s1 = new String("Avoid newing things where possible");
    var s2 = "A string, in TypeScript of type 'string'";
    var s3: string;
    

    String is the JavaScript String type, which you could use to create new strings. Nobody does this as in JavaScript the literals are considered better, so s2 in the example above creates a new string without the use of the new keyword and without explicitly using the String object.

    string is the TypeScript string type, which you can use to type variables, parameters and return values.

    Additional notes...

    Currently (Feb 2013) Both s1 and s2 are valid JavaScript. s3 is valid TypeScript.

    Use of String. You probably never need to use it, string literals are universally accepted as being the correct way to initialise a string. In JavaScript, it is also considered better to use object literals and array literals too:

    var arr = []; // not var arr = new Array();
    var obj = {}; // not var obj = new Object();
    

    If you really had a penchant for the string, you could use it in TypeScript in one of two ways...

    var str: String = new String("Hello world"); // Uses the JavaScript String object
    var str: string = String("Hello World"); // Uses the TypeScript string type
    

    From Stack Overflow: asked by Paul0515, answered by Fenton (CC BY-SA 3.0)

  • Does Go have a runtime?Go

    Go has an extensive runtime library, often just called the runtime, that is part of every Go program. This library implements garbage collection, concurrency, stack management, and other critical features of the Go language. Although it is more central to the language, Go's runtime is analogous to libc, the C library.

    It is important to understand, however, that Go's runtime does not include a virtual machine, such as is provided by the Java runtime. Go programs are compiled ahead of time to native machine code (or JavaScript or WebAssembly, for some variant implementations). Thus, although the term is often used to describe the virtual environment in which a program runs, in Go the word "runtime" is just the name given to the library providing critical language services.

    From Go Frequently Asked Questions (CC BY 4.0)

  • What is the most efficient way to deep clone an object in JavaScript?JavaScript

    Native deep cloning

    There's now a structuredClone(value) function supported in all major browsers and node >= 17. It has polyfills for older systems.

    structuredClone(value)
    

    If needed, loading the polyfill first:

    import structuredClone from '@ungap/structured-clone';
    

    See this answer for more details, but note these limitations:

    • Function objects cannot be duplicated by the structured clone algorithm; attempting to throws a DataCloneError exception.
    • Cloning DOM nodes likewise throws a DataCloneError exception.
    • Certain object properties are not preserved:
      • The lastIndex property of RegExp objects is not preserved.
      • Property descriptors, setters, getters, and similar metadata-like features are not duplicated. For example, if an object is marked readonly with a property descriptor, it will be read/write in the duplicate, since that's the default.
      • The prototype chain is not walked or duplicated.

    Older answers

    Fast cloning with data loss - JSON.parse/stringify

    If you do not use Dates, functions, undefined, Infinity, RegExps, Maps, Sets, Blobs, FileLists, ImageDatas, sparse Arrays, Typed Arrays or other complex types within your object, a very simple one liner to deep clone an object is:

    JSON.parse(JSON.stringify(object))

    const a = {
      string: 'string',
      number: 123,
      bool: false,
      nul: null,
      date: new Date(),  // stringified
      undef: undefined,  // lost
      inf: Infinity,  // forced to 'null'
      re: /.*/,  // lost
    }
    console.log(a);
    console.log(typeof a.date);  // Date object
    const clone = JSON.parse(JSON.stringify(a));
    console.log(clone);
    console.log(typeof clone.date);  // result of .toISOString()

    See Corban's answer for benchmarks.

    Reliable cloning using a library

    Since cloning objects is not trivial (complex types, circular references, function etc.), most major libraries provide function to clone objects. Don't reinvent the wheel - if you're already using a library, check if it has an object cloning function. For example,

    • lodash - cloneDeep; can be imported separately via the lodash.clonedeep module and is probably your best choice if you're not already using a library that provides a deep cloning function
    • Ramda - clone
    • AngularJS - angular.copy
    • jQuery - jQuery.extend(true, { }, oldObject); .clone() only clones DOM elements
    • just library - just-clone; Part of a library of zero-dependency npm modules that do just do one thing. Guilt-free utilities for every occasion.

    From Stack Overflow: asked by jschrab, answered by John Resig (CC BY-SA 4.0)

  • What is the syntax for a multiline string literal?Rust

    All string literals can be broken across several lines; for example:

    let string = "line one
    line two";
    

    is a two line string, the same as "line one\nline two" (of course one can use the \n newline escape directly too). If you wish to just break a string across multiple lines for formatting reasons you can escape the newline and leading whitespace with a \; for example:

    let string = "one line \
        written over \
        several";
    

    is the same as "one line written over several".

    If you want linebreaks in the string you can add them before the \:

    let string = "multiple\n\
                  lines\n\
                  with\n\
                  indentation";
    

    It's the same as "multiple\nlines\nwith\nindentation";

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

  • What is The Rule of Three?C++

    Introduction

    C++ treats variables of user-defined types with value semantics. This means that objects are implicitly copied in various contexts, and we should understand what "copying an object" actually means.

    Let us consider a simple example:

    class person
    {
        std::string name;
        int age;
    public:
        person(const std::string& name, int age) : name(name), age(age)
        {
        }
    };
    int main()
    {
        person a("Bjarne Stroustrup", 60);
        person b(a);   // What happens here?
        b = a;         // And here?
    }
    

    (If you are puzzled by the name(name), age(age) part, this is called a member initializer list.)

    Special member functions

    What does it mean to copy a person object? The main function shows two distinct copying scenarios. The initialization person b(a); is performed by the copy constructor. Its job is to construct a fresh object based on the state of an existing object. The assignment b = a is performed by the copy assignment operator. Its job is generally a little more complicated because the target object is already in some valid state that needs to be dealt with.

    Since we declared neither the copy constructor nor the assignment operator (nor the destructor) ourselves, these are implicitly defined for us. Quote from the standard:

    The [...] copy constructor and copy assignment operator, [...] and destructor are special member functions. [ Note: The implementation will implicitly declare these member functions for some class types when the program does not explicitly declare them. The implementation will implicitly define them if they are used. [...] end note ] [n3126.pdf section 12 §1]

    By default, copying an object means copying its members:

    The implicitly-defined copy constructor for a non-union class X performs a memberwise copy of its subobjects. [n3126.pdf section 12.8 §16]

    The implicitly-defined copy assignment operator for a non-union class X performs memberwise copy assignment of its subobjects. [n3126.pdf section 12.8 §30]

    Implicit definitions

    The implicitly-defined special member functions for person look like this:

    // 1. copy constructor
    person(const person& that) : name(that.name), age(that.age)
    {
    }
    // 2. copy assignment operator
    person& operator=(const person& that)
    {
        name = that.name;
        age = that.age;
        return *this;
    }
    // 3. destructor
    ~person()
    {
    }
    

    Memberwise copying is exactly what we want in this case: name and age are copied, so we get a self-contained, independent person object. The implicitly-defined destructor is always empty. This is also fine in this case since we did not acquire any resources in the constructor. The members' destructors are implicitly called after the person destructor is finished:

    After executing the body of the destructor and destroying any automatic objects allocated within the body, a destructor for class X calls the destructors for X's direct [...] members [n3126.pdf 12.4 §6]

    Managing resources

    So when should we declare those special member functions explicitly? When our class manages a resource, that is, when an object of the class is responsible for that resource. That usually means the resource is acquired in the constructor (or passed into the constructor) and released in the destructor.

    Let us go back in time to pre-standard C++. There was no such thing as std::string, and programmers were in love with pointers. The person class might have looked like this:

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

  • Do you have any weaknesses?Behavioural

    You should be honest when answering questions on your weaknesses. Say how you're working to improve them.

    Example

    Question - "Do you have any weaknesses?"

    Answer - "I struggle with time management on projects. To make sure I stick to the time frame I'm creating a timetable of steps at the start of each project".

    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) and Software engineer jobs in the USA (1,765)