Senior Software Engineer, CockroachDB
BackendPosted 3 days agofrom Cloudflare's own hiring page
- Work type
- HybridAustin, London
- Experience
- 5+ years
- Pay
- Not listedUsually $119k a yearBackend, median at 5–9 years, in the US (Payscale)
- Posted
- 3 days ago
Skills it mentions
Nice to have
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: Austin, TX or London, UK (Hybrid)
About the Department
Cloudflare’s Developer Platform gives developers everything they need to build full-stack applications on our global network: compute with Workers, and storage with Durable Objects, R2, Workers KV and more. Our storage products are among the fastest-growing parts of the platform. They all rest on shared infrastructure that has to be correct, durable and fast at a scale few organizations ever reach. Cloudflare’s edge and network make it possible to solve problems at massive scale and efficiency which would be impossible for almost any other organization.
What you'll do
The CockroachDB team runs one of the largest CockroachDB deployments in the world. It is the database underneath the most significant storage products on Cloudflare's Developer Platform:
- Every Durable Object depends on it to know where it lives and when its alarms fire.
- The metadata for every object stored in R2 lives in it.
- Workers KV uses CockroachDB for its top storage tier.
Our fleet spans well over a thousand nodes in more than 80 data centers across multiple continents. Single tables hold tens of billions of rows, and every cluster is held to high availability targets. When this database is slow, applications across the Developer Platform are slow. When it is unavailable, so are they.
We maintain our own fork of CockroachDB, so we fix, tune and extend the database ourselves instead of waiting on upstream. You will work with a top-notch engineering team to keep the fleet reliable, push its performance further and build the features our storage products need next. You will own your code from inception to release, at every layer from the storage engine to the tooling that operates the fleet.
On any given day, you might:
- Write a design document for bringing a new region online.
- Profile and remove a bottleneck in the Raft log write path.
- Backport a fix into the Pebble storage engine.
- Build tooling that safely rolls a change across hundreds of nodes.
- Track down why a range won't stay replicated.
You will work primarily in Go, alongside C++, Rust and Bazel.
Examples of desirable skills, knowledge and experience
- 5+ years experience working with distributed systems or developing on cloud platforms.
- Experience managing high volume software applications.
- Solid understanding of computer science fundamentals including data structures, algorithms, and object-oriented or functional design.
- Knowledge of at least one modern strongly-typed programming language such as Go, Java, C#, Rust, or C++.
Bonus Points
- Previous experience working on database internals, such as storage engines (LSM trees like Pebble or RocksDB), query planning and execution, transaction processing, or replication.
- Experience operating, tuning, or contributing to CockroachDB, Spanner, FoundationDB, TiDB, YugabyteDB, or a similar distributed SQL database in production.
- Deep understanding of distributed systems concepts such as consensus (Raft, Paxos), MVCC, clock synchronization, partitioning and rebalancing, failure detection, and consistency models.
- Experience writing high-performance Go: profiling with pprof, reducing allocations and GC pressure, designing concurrent code that scales across many cores, and understanding the Go runtime and scheduler.
- Experience debugging, optimizing and identifying failure modes in a large-scale Linux-based distributed system.
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, CockroachDB at Cloudflare
Apply on company site (opens in a new tab)The job ad ends here
Interview questions for this job6 with answers, on Go, C++, Rust and 5 more
Interview questions for this job
For the skills the ad mentions: Go, C++, Rust, Java, C#, Networking, SQL and Linux.
How can I guarantee my type satisfies an interface?Go
You can ask the compiler to check that the type
Timplements the interfaceIby attempting an assignment using the zero value forTor pointer toT, as appropriate:type T struct{} var _ I = T{} // Verify that T implements I. var _ I = (*T)(nil) // Verify that *T implements I.If
T(or*T, accordingly) doesn't implementI, the mistake will be caught at compile time.If you wish the users of an interface to explicitly declare that they implement it, you can add a method with a descriptive name to the interface's method set. For example:
type Fooer interface { Foo() ImplementsFooer() }A type must then implement the
ImplementsFooermethod to be aFooer, clearly documenting the fact and announcing it in go doc's output.type Bar struct{} func (b Bar) ImplementsFooer() {} func (b Bar) Foo() {}Most code doesn't make use of such constraints, since they limit the utility of the interface idea. Sometimes, though, they're necessary to resolve ambiguities among similar interfaces.
From Go Frequently Asked Questions (CC BY 4.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)
What's the de-facto way of reading and writing files in Rust 1.x?Rust
None of the functions I show here panic on their own, but I am using
expectbecause I don't know what kind of error handling will fit best into your application. Go read The Rust Programming Language's chapter on error handling to understand how to appropriately handle failure in your own program.Rust 1.26 and onwards
If you don't want to care about the underlying details, there are one-line functions for reading and writing.
Read a file to a
Stringuse std::fs; fn main() { let data = fs::read_to_string("/etc/hosts").expect("Should be able to read hosts file"); println!("{}", data); }Read a file as a
Vec<u8>use std::fs; fn main() { let data = fs::read("/etc/hosts").expect("Should be able to read hosts file"); println!("{}", data.len()); }Write a file
use std::fs; fn main() { let data = "Some data!"; fs::write("/tmp/foo", data).expect("Should be able to write to `/foo/tmp`"); }Rust 1.0 and onwards
These forms are slightly more verbose than the one-line functions that allocate a
StringorVecfor you, but are more powerful in that you can reuse allocated data or append to an existing object.Reading data
Reading a file requires two core pieces:
FileandRead.Read a file to a
Stringuse std::fs::File; use std::io::Read; fn main() { let mut data = String::new(); let mut f = File::open("/etc/hosts").expect("Should be able to open `/etc/hosts`"); f.read_to_string(&mut data).expect("Should be able to read to string"); println!("{}", data); }Read a file as a
Vec<u8>use std::fs::File; use std::io::Read; fn main() { let mut data = Vec::new(); let mut f = File::open("/etc/hosts").expect("Should be able to open `/etc/hosts`"); f.read_to_end(&mut data).expect("Should be able to read data"); println!("{}", data.len()); }Write a file
Writing a file is similar, except we use the
Writetrait and we always write out bytes. You can convert aString/&strto bytes withas_bytes:use std::fs::File; use std::io::Write; fn main() { let data = "Some data!"; let mut f = File::create("/tmp/foo").expect("Should be able to create file"); f.write_all(data.as_bytes()).expect("Should be able to write data"); }Buffered I/O
I felt a bit of a push from the community to use
BufReaderandBufWriterinstead of reading straight from a fileA buffered reader (or writer) uses a buffer to reduce the number of I/O requests. For example, it's much more efficient to access the disk once to read 256 bytes instead of accessing the disk 256 times.
That being said, I don't believe a buffered reader/writer will be useful when reading the entire file.
read_to_endseems to copy data in somewhat large chunks, so the transfer may already be naturally coalesced into fewer I/O requests.Here's an example of using it for reading:
use std::fs::File; use std::io::{BufReader, Read}; fn main() { let mut data = String::new(); let f = File::open("/etc/hosts").expect("Should be able to open `/etc/hosts`"); let mut br = BufReader::new(f); br.read_to_string(&mut data).expect("Should be able to read to string"); println!("{}", data); }Read the rest at the sourceFrom Stack Overflow: asked by Jared, answered by Shepmaster (CC BY-SA 4.0)
What are the memory types in Java?Java
- Stack. Stack memory is responsible for holding references to heap objects and for storing value types (also known in Java as primitive types), which hold the value itself rather than a reference to an object from the heap.
- Heap. This part of memory stores the actual object in memory. Those are referenced by the variables from the stack. Links
- https://dzone.com/articles/java-memory-management
From Java interview (MIT)
What is the difference between String and string in C#?C#
stringis an alias in C# forSystem.String.
So technically, there is no difference. It's likeintvs.System.Int32.As far as guidelines, it's generally recommended to use
stringany time you're referring to an object.e.g.
string place = "world";Likewise, I think it's generally recommended to use
Stringif you need to refer specifically to the class.e.g.
string greet = String.Format("Hello {0}!", place);This is the style that Microsoft tends to use in their examples.
It appears that the guidance in this area may have changed, as StyleCop now enforces the use of the C# specific aliases.
From Stack Overflow: asked by Lance Fisher, answered by Derek Park (CC BY-SA 4.0)
Can you tell us about a personal achievement at work?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
- Software LeadClera, San Francisco Bay Area, on-siteToday
- Ruby API Senior Developer (Remote Opportunity)VetsEZ, Remote in the USToday
- Software Developer – Enterprise Microservices and API SystemsGeneral Dynamics Information Technology, Remote in the USToday
- Systems/Software Engineer - Interface DevelopmentCACI International Inc, Remote in the USToday
More like this: Backend developer jobs in Austin (25), Jobs in Austin (1,472) and Backend developer jobs in the USA (630)



