Software Engineer, Streaming Platform
Software engineeringPosted 8 weeks agofrom Sentry's own hiring page
- Work type
- RemoteIn the US and Canada
- Experience
- 2–3 years
- Pay
- C$163k–200k a year
- Posted
- 8 weeks ago
Skills it mentions
Add your skills to see which ones you have.
About the job
About Sentry
Software runs the world and the pace is faster than ever. Sentry helps developers fix errors and performance issues before users notice, so teams can spend less time firefighting and more time building.
Trusted by 200,000+ organizations, Sentry is today’s application monitoring standard and our team is building its AI-native future.
About the roleThe Streaming Platform team at Sentry is building the next generation of infrastructure that powers our ingestion pipelines and real-time data processing systems. Our platform ingests, processes, and distributes hundreds of thousands of events per second with low latency and high reliability. We are creating a system that makes it easy for Sentry engineers to deploy and run Streaming Applications at scale by simplifying the complexity of Kafka, scaling consumers automatically, and managing state so product teams can focus on building great experiences for developers.
As part of this team, you will work on challenges at the intersection of distributed systems, real-time data processing, and developer experience. You will help us create a self-service streaming platform that improves stability, accelerates time to production, and reduces operational overhead.
In this role you will
Design, build, and operate components of our Streaming Platform, including Kafka, the streaming runtime, high-level APIs, and developer-facing abstractions.
Implement resilient, high-throughput stream processing systems that handle unbounded datasets with strong correctness guarantees (delivery, checkpointing, watermarking, and more).
Build scalable automation and control plane for Kafka fleet management and improve efficiency.
Partner with product engineers to ensure our abstractions enable fast, reliable, and consistent ingestion pipelines.
Improve observability, monitoring, and failover for mission-critical real-time systems.
You’ll love this job if you
You enjoy working on distributed systems at scale and care about reliability and performance.
You like building abstractions that make complex infrastructure easier for others to use.
You are motivated by designing systems that balance flexibility for developers with best practices for stability.
You are excited to shape how Sentry handles near real-time ingestion and analytics at scale.
You value being part of a collaborative team where your contributions make a broad impact across the company.
Qualifications
At least 2-3 years of software engineering experience, with background in distributed systems, data infrastructure, or real-time streaming.
Proficiency in a programming language such as Python, Rust, Go, or Java (we primarily use Python and Rust, but experience in similar languages is valuable).
Experience building and operating systems in cloud environments such as Kubernetes, AWS, or GCP.
Nice to have: experience with streaming technologies such as Kafka, Flink, Spark Streaming, or similar tools.
The base salary range that Sentry reasonably expects to pay for this position is $163,000 to $200,000 CAD or $155,000 to $190,000 USD. A successful candidate’s actual base salary amount will be determined by a variety of relevant factors including, without limitation, the candidate’s work location, education, work and other relevant experience, skills, and job-related knowledge. A successful candidate will be eligible to participate in Sentry’s employee benefit plans/programs applicable to the candidate’s position (including incentive compensation, equity grants, paid time off, and group health insurance coverage). See Sentry Benefits for more details about the Company’s benefit plans/programs.
Equal Opportunity at Sentry
Sentry is committed to providing equal employment opportunities to its employees and candidates for employment regardless of race, color, ancestry, religion, sex, national origin, sexual orientation, age, citizenship, marital status, disability, gender identity, veteran status, or other legally-protected characteristic. This commitment includes the provision of reasonable accommodations to employees and candidates for employment with physical or mental disabilities who require such accommodations in order to (a) perform the essential functions of their jobs, or (b) seek employment with Sentry. We strive to build a diverse team, with an inclusive culture where every teammate can thrive. Sentry is an open-source company because we believe that everyone, everywhere, should have the ability and tools to make great software. Software should be accessible. That starts with making our industry accessible.
If you need assistance or an accommodation due to a disability, you may contact us at accommodations@sentry.io.
Want to learn more about how Sentry handles applicant data? Get the details in our Applicant Privacy Policy.
Interested?Software Engineer, Streaming Platform at Sentry
Apply on company site (opens in a new tab)The job ad ends here
Interview questions for this job6 with answers, on Kafka, Python, Rust and 6 more
Interview questions for this job
For the skills the ad mentions: Kafka, Python, Rust, Go, Java, Kubernetes, AWS, Google Cloud and Spark.
Understanding Kafka Topics and PartitionsKafka
This post already has answers, but I am adding my view with a few pictures from Kafka Definitive Guide
Before answering the questions, let's look at an overview of producer components:
- When a producer is producing a message, it will specify the topic it wants to send the message to. Is that right? Does it care about partitions?
The producer will decide target partition to place any message, depending on:
- Partition id, if it's specified within the message
- key % num partitions, if no partition id is mentioned
- Round robin if neither partition id nor message key is available in the message means only the value is available
- When a subscriber is running - Does it specify its group id so that it can be part of a cluster of consumers of the same topic or several topics that this group of consumers is interested in?
You should always configure group.id unless you are using the simple assignment API and you don’t need to store offsets in Kafka. It will not be a part of any group. Source.
- Does each consumer group have a corresponding partition on the broker or does each consumer have one?
In one consumer group, each partition will be processed by one consumer only. These are the possible scenarios
If the number of consumers is less than the number of topic partitions, then multiple partitions can be assigned to one of the consumers in the group
If the number of consumers is the same as the number of topic partitions, then partition and consumer mapping can be like below,
If the number of consumers is higher than the number of topic partitions, then partition and consumer mapping can be as seen below, Not effective, check Consumer 5
- As the partitions created by the broker, therefore not a concern for the consumers?
Consumer should be aware of the number of partitions, as was discussed in question 3.
- Since this is a queue with an offset for each partition, is it the consumer's responsibility to specify which messages it wants to read? Does it need to save its state?
Kafka (to be specific Group Coordinator) takes care of the offset state by producing a message to an internal __consumer_offsets topic, this behavior can be configurable to manual as well by setting
enable.auto.committofalse. In that caseconsumer.commitSync()andconsumer.commitAsync()can help manage offset.More about Group Coordinator:
- It's one of the elected brokers in the cluster from Kafka server side.
- Consumers interact with the Group Coordinator for offset commits and fetch requests.
- Consumer sends periodic heartbeats to Group Coordinator.
- What happens when a message is deleted from the queue? - For example, The retention was for 3 hours, then the time passes, how is the offset being handled on both sides?
If any consumer starts after the retention period, messages will be consumed as per
auto.offset.resetconfiguration which could belatest/earliest. Technically, it'slatest(start processing new messages), because all the messages got expired by that time and retention is a topic-level configuration.more details here: https://mrsrinivas.github.io/posts/kafka-topics-and-partitions-explained/
From Stack Overflow: asked by Pinidbest, answered by mrsrinivas (CC BY-SA 4.0)
Is there an equivalent to Perl’s
chomp()for removing trailing newlines from strings?PythonYou can use
S.rstrip("\r\n")to remove all occurrences of any line terminator from the end of the stringSwithout removing other trailing whitespace. If the stringSrepresents more than one line, with several empty lines at the end, the line terminators for all the blank lines will be removed:>>> lines = ("line 1 \r\n" ... "\r\n" ... "\r\n") >>> lines.rstrip("\n\r") 'line 1 'Since this is typically only desired when reading text one line at a time, using
S.rstrip()this way works well.From Python Frequently Asked Questions (PSF License Version 2)
What are Rust's exact auto-dereferencing rules?Rust
Your pseudo-code is pretty much correct. For this example, suppose we had a method call
foo.bar()wherefoo: T. I'm going to use the fully qualified syntax (FQS) to be unambiguous about what type the method is being called with, e.g.A::bar(foo)orA::bar(&***foo). I'm just going to write a pile of random capital letters, each one is just some arbitrary type/trait, exceptTis always the type of the original variablefoothat the method is called on.The core of the algorithm is:
- For each "dereference step"
U(that is, setU = Tand thenU = *T, ...)- if there's a method
barwhere the receiver type (the type ofselfin the method) matchesUexactly , use it (a "by value method") - otherwise, add one auto-ref (take
&or&mutof the receiver), and, if some method's receiver matches&U, use it (an "autorefd method")
- if there's a method
Notably, everything considers the "receiver type" of the method, not the
Selftype of the trait, i.e.impl ... for Foo { fn method(&self) {} }thinks about&Foowhen matching the method, andfn method2(&mut self)would think about&mut Foowhen matching.It is an error if there's ever multiple trait methods valid in the inner steps (that is, there can be only be zero or one trait methods valid in each of 1. or 2., but there can be one valid for each: the one from 1 will be taken first), and inherent methods take precedence over trait ones. It's also an error if we get to the end of the loop without finding anything that matches. It is also an error to have recursive
Derefimplementations, which make the loop infinite (they'll hit the "recursion limit").These rules seem to do-what-I-mean in most circumstances, although having the ability to write the unambiguous FQS form is very useful in some edge cases, and for sensible error messages for macro-generated code.
Only one auto-reference is added because
- if there was no bound, things get bad/slow, since every type can have an arbitrary number of references taken
- taking one reference
&fooretains a strong connection tofoo(it is the address offooitself), but taking more starts to lose it:&&foois the address of some temporary variable on the stack that stores&foo.
Examples
Suppose we have a call
foo.refm(), iffoohas type:Read the rest at the sourceFrom Stack Overflow: asked by kFYatek, answered by huon (CC BY-SA 4.0)
- For each "dereference step"
Why is there no type inheritance?Go
Object-oriented programming, at least in the best-known languages, involves too much discussion of the relationships between types, relationships that often could be derived automatically. Go takes a different approach.
Rather than requiring the programmer to declare ahead of time that two types are related, in Go a type automatically satisfies any interface that specifies a subset of its methods. Besides reducing the bookkeeping, this approach has real advantages. Types can satisfy many interfaces at once, without the complexities of traditional multiple inheritance. Interfaces can be very lightweight—an interface with one or even zero methods can express a useful concept. Interfaces can be added after the fact if a new idea comes along or for testing—without annotating the original types. Because there are no explicit relationships between types and interfaces, there is no type hierarchy to manage or discuss.
It's possible to use these ideas to construct something analogous to type-safe Unix pipes. For instance, see how
fmt.Fprintfenables formatted printing to any output, not just a file, or how thebufiopackage can be completely separate from file I/O, or how theimagepackages generate compressed image files. All these ideas stem from a single interface (io.Writer) representing a single method (Write). And that's only scratching the surface. Go's interfaces have a profound influence on how programs are structured.It takes some getting used to but this implicit style of type dependency is one of the most productive things about Go.
From Go Frequently Asked Questions (CC BY 4.0)
Explain: Hashtable vs ConcurrentHashMapJava
Hashtable vs ConcurrentHashMap
Hashtable. This class implements a hash table, which maps keys to values. Any non-null object can be used as a key or as a value. To successfully store and retrieve objects from a hashtable, the objects used as keys must implement the
hashCodemethod and theequalsmethod. Unlike the new collection implementations,Hashtableis synchronized. If a thread-safe implementation is not needed, it is recommended to useHashMapin place ofHashtable.ConcurrentHashMap. A hash table supporting full concurrency of retrievals and high expected concurrency for updates. This class obeys the same functional specification as
Hashtable, and includes versions of methods corresponding to each method ofHashtable. However, even though all operations are thread-safe, retrieval operations do not entail locking, and there is not any support for locking the entire table in a way that prevents all access. This class is fully interoperable withHashtablein programs that rely on its thread safety but not on its synchronization details.Properties HashtableConcurrentHashMapIs nullkey allowedNo No Is nullvalue allowedNo Yes Is Thread Safe Yes Yes, Thread safety is ensured by having separate locks for separate buckets, resulting in better performance. Performance is further improved by providing read access concurrently without any blocking. Performance Slow due to synchronization overhead. Faster than Hashtable.ConcurrentHashMapis a better choice when there are more reads than writes.Iterator Hashtableuses enumerator to iterate the values ofHashtableobject. Enumerations returned by theHashtablekeys and elements methods are not fail-fast.Fail-safe iterator: Iteratorprovided by theConcurrentHashMapis fail-safe, which means it will not throwConcurrentModificationException.When you read from a
ConcurrentHashMapusingget(), there are no locks, contrary to theHashtablefor which all operations are simply synchronized.Hashtableuses single lock for whole data.ConcurrentHashMapuses multiple locks on segment level (16 by default) instead of object level i.e. wholeMap.Hashtableis belongs to the Collection framework;ConcurrentHashMapbelongs to the Executor framework. If a thread-safe highly-concurrent implementation is desired, then it is recommended to useConcurrentHashMapin place ofHashtable.Links
https://www.geeksforgeeks.org/concurrenthashmap-in-java/
https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ConcurrentHashMap.html
https://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.htmlFrom Android Interview Questions (Apache 2.0)
What is the STAR method, and how do you use it to answer?Behavioural
Use the STAR method to prepare for interviews and to show your skills and experience on a CV or application form.
What STAR stands for
- Situation - the situation you had to deal with
- Task - the task you were given to do
- Action - the action you took
- Result - what happened as a result of your action and what you learned from the experience
When to use STAR
You can use the STAR method in your:
- CV
- cover letter
- application form - usually in a further information section
- interview
How to use STAR
You can use the STAR method to structure the examples you give to questions, especially in interviews.
A job description lists the skills and qualities the employer is looking for. You can use the STAR method to show how you meet these.
It can help to look at common interview questions when preparing.
When using STAR, remember to:
- use examples that work for you - these could be from work, home or volunteering
- keep examples short and to the point
- try to get your points across in a conversational way so as not to appear too rehearsed
- be prepared to answer follow-up questions about the examples you give
Example 1 - leadership skills
Tell me about a time when you have shown leadership skills.
Situation - in my previous digital marketing job, the company wanted to get more people to sign up to a newsletter which was not receiving a lot of attention.
Task - my job was to find a way of getting more people to sign up.
Action - I organised a meeting with other members of the marketing team to come up with creative ideas, and I led the social media campaign to generate interest in the revamped newsletter.
Result - over a period of 3 months, there was an 25% increase in sign-ups to the newsletter and the approach I took was used by the management team in other departments.
Example 2 - teamwork
Tell me about a time you have worked as part of a team?
Situation - when I was at school, I was part of the netball team. We needed to raise funds to buy more equipment for the team.
Task - my job was to work with the rest of the team to set up a bake sale to raise money.
Action - I took the lead and found out who wanted to help with the bake sale. I then held a meeting so we could work out dates and what tasks each person would do. I made sure that we were all clear what our role was and everyone who wanted to, got a chance to get involved.
Result - the bake sale was a success due to the team all pulling together. We raised £200 and were able to buy new equipment for the netball team.
Example 3 - problem solving
Give me an example of when you faced a problem at work. How did you handle it?
Read the rest at the sourceFrom National Careers Service: interview advice (Open Government Licence v3.0)
Similar jobs
- Member of Technical StaffClera, San Francisco Bay Area, on-siteToday
- Software Engineer, Safety Data FlywheelOpenAI, Remote, San Francisco Bay AreaYesterday
- Senior Staff Software EngineerFivetran, San Francisco Bay Area, hybridYesterday
- Senior Enterprise Applications EngineerMixpanel, San Francisco Bay Area, hybridYesterday
More like this: Software engineer jobs in San Francisco Bay Area (707), Jobs in San Francisco Bay Area (9,193), Software engineer jobs in the USA (1,765) and Remote Software engineer jobs in the USA (709)



