Senior Software Engineer, Data Primitives
Software engineeringPosted 2 weeks agofrom Cloudflare's own hiring page
- Work type
- HybridNew York, Austin, London
- Experience
- 5+ years
- Pay
- €66k–83k a year
- Posted
- 2 weeks ago
Skills it mentions
Add your skills to see which ones you have.
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
- 5+ 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 €66,000 - €83,000
- For NYC based hires: Estimated annual salary of $185,000 - $231,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?Senior 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.
What is the syntax for Typescript arrow functions with generics?TypeScript
Edit
Per @Thomas comment, in newer TS compilers, we can simply do:
const foo = <T,>(x: T) => x;Original Answer
The full example explaining the syntax referenced by Robin... brought it home for me:
Generic functions
Something like the following works fine:
function foo<T>(x: T): T { return x; }However using an arrow generic function will not:
const foo = <T>(x: T) => x; // ERROR : unclosed `T` tagWorkaround: Use extends on the generic parameter to hint the compiler that it's a generic, e.g.:
const foo = <T extends unknown>(x: T) => x;From Stack Overflow: asked by Andreas Frische, answered by jbmilgrom (CC BY-SA 4.0)
What is the best way to test for an empty string in Go?Go
Both styles are used within the Go's standard libraries.
if len(s) > 0 { ... }can be found in the
strconvpackage: http://golang.org/src/pkg/strconv/atoi.goif s != "" { ... }can be found in the
encoding/jsonpackage: http://golang.org/src/pkg/encoding/json/encode.goBoth are idiomatic and are clear enough. It is more a matter of personal taste and about clarity.
Russ Cox writes in a golang-nuts thread:
The one that makes the code clear.
If I'm about to look at element x I typically write
len(s) > x, even for x == 0, but if I care about
"is it this specific string" I tend to write s == "".It's reasonable to assume that a mature compiler will compile
len(s) == 0 and s == "" into the same, efficient code.
...Make the code clear.
As pointed out in Timmmm's answer, the Go compiler does generate identical code in both cases.
From Stack Overflow: asked by Richard, answered by ANisus (CC BY-SA 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 difference between Copy and Clone?Rust
Cloneis designed for arbitrary duplications: aCloneimplementation for a typeTcan do arbitrarily complicated operations required to create a newT. 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
Copytrait represents values that can be safely duplicated viamemcpy: things like reassignments and passing an argument by-value to a function are alwaysmemcpys, and so forCopytypes, 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)
What's the problem with "using namespace std;"?C++
Consider two libraries called Foo and Bar:
using namespace foo; using namespace bar;Everything works fine, and you can call
Blah()from Foo andQuux()from Bar without problems. But one day you upgrade to a new version of Foo 2.0, which now offers a function calledQuux(). Now you've got a conflict: Both Foo 2.0 and Bar importQuux()into your global namespace. This is going to take some effort to fix, especially if the function parameters happen to match.If you had used
foo::Blah()andbar::Quux(), then the introduction offoo::Quux()would have been a non-event.From Stack Overflow: asked by akbiggs, answered by Greg Hewgill (CC BY-SA 4.0)
Why do you think you're a good fit for our company?Behavioural
Employers want to see that you have a genuine interest in working for them by asking questions like:
- what do you know about our company?
- why do you think you're a good fit for our company?
- why do you want to work for us?
To prepare for questions about the employer, you need to research the company. You should look at their website and 'about us' pages to find out more about their products, services and values.
Show what you've learned about the company throughout the interview.From National Careers Service: interview advice (Open Government Licence v3.0)
Similar jobs
- Remote Part-Time PowerBuilder DeveloperTEKsystems, Pierre, on-siteToday
- Member of Technical StaffClera, San Francisco Bay Area, on-siteToday
- Content DeveloperCentralReach, Remote in the USToday
- Senior Engineer, Presource Transformation Commercial SolutionsCardinal Health, Remote in the USToday
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)



