Cloudflare386 open jobs

Software Engineer, Rulesets

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

Work type
HybridLondon
Experience
Not stated
Pay
Not listedUsually £42k a yearSoftware engineering, median, all levels, in the UK (Payscale)
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 Rust, Go and Networking

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: London (Hybrid)

  • About Engineering at Cloudflare

    Cloudflare’s Engineering team is responsible for the software platform that serves 115 million HTTP requests per second on average. We also build and run the tools that empower our colleagues to rapidly deliver products to market, as well as monitor and deploy software updates across the globe to 350+ data centers. You’ll experience the full breadth of technologies needed to run one of the world’s largest networks serving the world's largest customers such as Shopify and VISA.

    About The Team

    Cloudflare’s Front Line (FL) group is responsible for maintaining and developing the main Cloudflare web server, processing over 100 million HTTP requests per second. In other words, we own the largest web server in the world.

    The Product Team is responsible for creating new customer-facing features, improving efficiency & safety, and building the next iteration of Cloudflare products. The platform is mostly in Rust, and most of our API is in Golang.

    What you'll do

    You will work with a team of talented engineers to create new features to increase the availability, safety & reliability of the edge ecosystem. You will improve current features, create new systems from scratch, and collaborate with platform teams to help to build the best web server in the world, with a particular focus on the rules engine and associated control plane.

    This is a unique opportunity to be at the nexus of Cloudflare edge applications and operations and to collaborate closely with most other product and engineering teams at Cloudflare. 

    Examples of desirable skills, knowledge and experience

    • Solid competencies in practical computer science, applying the right algorithms, data structures, concurrency control systems to software design, and building large, distributed systems
    • Experience in performance engineering
    • Driving communication and consensus across teams
    • A drive for continuous improvement when it comes to both operations and new product development

    Bonus Points

    These are things which the role is likely to require; we’re happy to help you learn on the job, but prior experience is beneficial

    • Experience of languages: Rust, Go
    • Knowledge of web servers and web protocols
    • Distributed systems
    • Web security issues and industry standards

    Most importantly, we are looking for people who want to learn something new. We maintain the largest web server in the world, and we face unique challenges. You will be collaborating and designing innovative solutions to improve the life of millions of people around the globe, everywhere they are, whatever their needs are.

    Join and help us build a better Internet!

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, Rulesets at Cloudflare

Apply on company site (opens in a new tab)

The job ad ends here

Interview questions for this job6 with answers, on Rust, Go and Networking

Interview questions for this job

For the skills the ad mentions: Rust, Go and Networking.

309 questions
  • What is the difference between Copy and Clone?Rust

    Clone is designed for arbitrary duplications: a Clone implementation for a type T can do arbitrarily complicated operations required to create a new T. It is a normal trait (other than being in the prelude), and so requires being used like a normal trait, with method calls, etc.

    The Copy trait represents values that can be safely duplicated via memcpy: things like reassignments and passing an argument by-value to a function are always memcpys, and so for Copy types, the compiler understands that it doesn't need to consider those a move.

    From Stack Overflow: asked by user12341234, answered by huon (CC BY-SA 3.0)

  • 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)

  • Explain the function of each of the following DNS records: SOA, PTR, A, MX, and CNAME.NetworkingBasic

    DNS records are basically mapping files that tell the DNS server which IP address each domain is associated with, and how to handle requests sent to each domain. Some DNS records syntax that are commonly used in nearly all DNS record configurations are A, AAAA, CNAME, MX, PTR, NS, SOA, SRV, TXT, and NAPTR.

    • SOA - A Start Of Authority
    • A - Address Mapping records
    • AAAA - IP Version 6 Address records
    • CNAME - Canonical Name records
    • MX - Mail exchanger record
    • NS - Name Server records
    • PTR - Reverse-lookup Pointer records

    Useful resources:

    From Test your Sysadmin Skills (MIT)

  • What is the difference between iter and into_iter?Rust

    TL;DR:

    • The iterator returned by into_iter may yield any of T, &T or &mut T, depending on the context.
    • The iterator returned by iter will yield &T, by convention.
    • The iterator returned by iter_mut will yield &mut T, by convention.

    The first question is: "What is into_iter?"

    into_iter comes from the IntoIterator trait:

    pub trait IntoIterator 
    where
        <Self::IntoIter as Iterator>::Item == Self::Item, 
    {
        type Item;
        type IntoIter: Iterator;
        fn into_iter(self) -> Self::IntoIter;
    }
    

    You implement this trait when you want to specify how a particular type is to be converted into an iterator. Most notably, if a type implements IntoIterator it can be used in a for loop.

    For example, Vec implements IntoIterator... thrice!

    impl<T> IntoIterator for Vec<T>
    impl<'a, T> IntoIterator for &'a Vec<T>
    impl<'a, T> IntoIterator for &'a mut Vec<T>
    

    Each variant is slightly different.

    This one consumes the Vec and its iterator yields values (T directly):

    impl<T> IntoIterator for Vec<T> {
        type Item = T;
        type IntoIter = IntoIter<T>;
        fn into_iter(mut self) -> IntoIter<T> { /* ... */ }
    }
    

    The other two take the vector by reference (don't be fooled by the signature of into_iter(self) because self is a reference in both cases) and their iterators will produce references to the elements inside Vec.

    This one yields immutable references:

    impl<'a, T> IntoIterator for &'a Vec<T> {
        type Item = &'a T;
        type IntoIter = slice::Iter<'a, T>;
        fn into_iter(self) -> slice::Iter<'a, T> { /* ... */ }
    }
    

    While this one yields mutable references:

    impl<'a, T> IntoIterator for &'a mut Vec<T> {
        type Item = &'a mut T;
        type IntoIter = slice::IterMut<'a, T>;
        fn into_iter(self) -> slice::IterMut<'a, T> { /* ... */ }
    }
    

    So:

    What is the difference between iter and into_iter?

    into_iter is a generic method to obtain an iterator, whether this iterator yields values, immutable references or mutable references is context dependent and can sometimes be surprising.

    iter and iter_mut are inherent methods. Their return type is therefore independent of the context, and will conventionally be iterators yielding immutable references and mutable references, respectively.

    The author of the Rust by Example post used Rust pre-1.53.0 to illustrate the surprise coming from the dependence on the context (i.e., the type) on which into_iter is called, and is also compounding the problem by using the fact that:

    1. Back then, IntoIterator was not implemented for [T; N], only for &[T; N] and &mut [T; N].
    2. When a method is not implemented for a value, it is automatically searched for references to that value instead

    which is very surprising for into_iter since all types (except [T; N]) implement it for all 3 variations (value and references).

    Read the rest at the sourceFrom Stack Overflow: asked by vitiral, answered by Matthieu M. (CC BY-SA 4.0)

  • Why does Go not have exceptions?Go

    We believe that coupling exceptions to a control structure, as in the try-catch-finally idiom, results in convoluted code. It also tends to encourage programmers to label too many ordinary errors, such as failing to open a file, as exceptional.

    Go takes a different approach. For plain error handling, Go's multi-value returns make it easy to report an error without overloading the return value. A canonical error type, coupled with Go's other features, makes error handling pleasant but quite different from that in other languages.

    Go also has a couple of built-in functions to signal and recover from truly exceptional conditions. The recovery mechanism is executed only as part of a function's state being torn down after an error, which is sufficient to handle catastrophe but requires no extra control structures and, when used well, can result in clean error-handling code.

    See the Defer, Panic, and Recover article for details. Also, the Errors are values blog post describes one approach to handling errors cleanly in Go by demonstrating that, since errors are just values, the full power of Go can be deployed in error handling.

    From Go Frequently Asked Questions (CC BY 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 London (165), Jobs in London (4,438) and Software engineer jobs in the UK (313)