Principal Java Developer - Distributed Systems, Serverless - Elasticsearch
BackendPosted 3 weeks agofrom Elastic's own hiring page
- Work type
- RemoteIn Canada
- Experience
- Not stated
- Pay
- C$128k–203k a year
- Posted
- 3 weeks ago
Skills it mentions
Add your skills to see which ones you have.
About the job
Elastic, the Search AI Company, enables everyone to find the answers they need in real time, using all their data, at scale — unleashing the potential of businesses and people. The Elastic Search AI Platform, used by more than 50% of the Fortune 500, brings together the precision of search and the intelligence of AI to enable everyone to accelerate the results that matter. By taking advantage of all structured and unstructured data — securing and protecting private information more effectively — Elastic’s complete, cloud-based solutions for search, security, and observability help organizations deliver on the promise of AI.
What Is The Role:
We are on the lookout for a Principal Software Engineer to join our Elasticsearch - Distributed Systems team and focus on how Elasticsearch provides scale, performance, and resilience, especially in the context of our Serverless offering. You will be tackling deep distributed systems challenges in how nodes in an Elasticsearch cluster communicate, and how data are indexed, allocated, and managed across nodes.
What You Will Be Doing:
- Leveraging your deep distributed systems expertise to design, build, and operate core pieces of our next-generation Serverless Elasticsearch offering, directly impacting the experience of customers worldwide.
- Improving Elasticsearch’s components that support concurrent and consistent indexing across multiple machines.
- Maintaining our cluster coordination system to keep performance high even though nodes come and go from the cluster and data moves around, while maintaining the safety and liveness properties of the system as a whole.
- Pushing the limits on the number of shards, nodes, and petabytes that Elasticsearch can handle today.
- Looking into all kinds of issues, including performance or concurrency issues, and proposing solutions.
- Supporting our support engineers with the harder problems.
- Owning operational investigations end-to-end, until performance or stability issues are successfully resolved.
What You Bring:
- You have a deep background in distributed systems and consensus algorithms.
- You have strong skills in core Java and are conversant in the standard library of data structures and concurrency constructs, as well as newer language features.
- You have a deep technical proficiency in algorithms.
- You have experience building large-scale distributed systems, rather than making use of off-the-shelf services.
- You have experience building and debugging complex features with a broad impact, running on multiple machines.
- You are able to own projects from beginning to end. This covers both technical design and working with others to develop needed components.
- You have experience managing projects involving multiple engineers.
- You have a proven track record of using AI to accelerate development, debug complex systems, and optimize code, while still owning the final outcomes.
- You possess the ability to collaborate across functions and teams and seamlessly transition between different projects, codebases, or teams based on business priorities
- You can work autonomously, drive decisions and results in a distributed team by leveraging asynchronous, direct, and transparent communication.
Bonus Points:
- Data stores
- Search, analytics, Lucene
- Strong knowledge of the JDK
- Asynchronous event-driven network frameworks such as Netty
Compensation for this role is in the form of base salary. This role does not have a variable compensation component. The typical starting salary range for new hires in this role is listed below.
These ranges represent the lowest to highest salary we reasonably and in good faith believe we would pay for this role at the time of this posting. We may ultimately pay more or less than the posted range, and the ranges may be modified in the future.
An employee's position within the salary range will be based on several factors including, but not limited to, relevant education, qualifications, certifications, experience, skills, geographic location, performance, and business or organizational needs.
Elastic believes that employees should have the opportunity to share in the value that we create together for our shareholders. Therefore, in addition to cash compensation, this role is currently eligible to participate in Elastic's stock program. Our total rewards package also includes a company-matched Registered Retirement Savings Plan (RRSP) with dollar-for-dollar matching up to 6% of eligible earnings, along with a range of other benefits offered with a holistic emphasis on employee well-being.
The typical starting salary range for this role is:$128,300—$203,000 CADAdditional Information - We Take Care of Our People
As a distributed company, diversity drives our identity. Whether you’re looking to launch a new career or grow an existing one, Elastic is the type of company where you can balance great work with great life. Your age is only a number. It doesn’t matter if you’re just out of college or your children are; we need you for what you can do.
We strive to have parity of benefits across regions and while regulations differ from place to place, we believe taking care of our people is the right thing to do.
- Competitive pay based on the work you do here and not your previous salary
- Health coverage for you and your family in many locations
- Ability to craft your calendar with flexible locations and schedules for many roles
- Generous number of vacation days each year
- Increase your impact - We match up to $2000 (or local currency equivalent) for financial donations and service
- Up to 40 hours each year to use toward volunteer projects you love
- Embracing parenthood with minimum of 16 weeks of parental leave
Different people approach problems differently. We need that. Elastic is an equal opportunity employer and is committed to creating an inclusive culture that celebrates different perspectives, experiences, and backgrounds. Qualified applicants will receive consideration for employment without regard to race, ethnicity, color, religion, sex, pregnancy, sexual orientation, gender perception or identity, national origin, age, marital status, protected veteran status, disability status, or any other basis protected by federal, state or local law, ordinance or regulation.
We welcome individuals with disabilities and strive to create an accessible and inclusive experience for all individuals. To request an accommodation during the application or the recruiting process, please email candidate_accessibility@elastic.co. We will reply to your request within 24 business hours of submission.
Applicants have rights under Federal Employment Laws, view posters linked below: Family and Medical Leave Act (FMLA) Poster; Pay Transparency Nondiscrimination Provision Poster; Employee Polygraph Protection Act (EPPA) Poster and Know Your Rights (Poster)
Elasticsearch develops and distributes technology and information that is subject to U.S. and other countries’ export controls and licensing requirements for individuals who are located in or are nationals of the following sanctioned countries and regions: Belarus, Cuba, Iran, North Korea, Syria, or Russia, including the Ukrainian territories annexed by Russia (The Crimea region of Ukraine, The Donetsk People's Republic (DNR), The Luhansk People's Republic (LNR), Kherson or Zaporizhzhia). If you are located in or are a national of one of the listed countries or regions, an export license may be required as a condition of your employment in this role. Please note that national origin and/or nationality do not affect eligibility for employment with Elastic.
Please see here for our Privacy Statement.
Interested?Principal Java Developer - Distributed Systems, Serverless - Elasticsearch at Elastic
Apply on company site (opens in a new tab)The job ad ends here
Interview questions for this job6 with answers, on Elasticsearch and Java
Interview questions for this job
For the skills the ad mentions: Elasticsearch and Java.
What are some use cases for using Elasticsearch versus standard sql queries?Elasticsearch
There are two primary Elasticsearch use cases:
- Text search
You want Elasticsearch when you're doing a lot of text search, where traditional RDBMS databases are not performing really well (poor configuration, acts as a black-box, poor performance). Elasticsearch is highly customizable, extendable through plugins. You can build robust search without much knowledge quite fast.
- Logging and analysis
Another edge case is that a lot people use Elasticsearch to store logs from various sources (to centralize them), so they can analyze them and make sense out of it. In this case, Kibana becomes handy. It lets you connect to Elasticsearch cluster and create visualisations straight away. For instance, Loggly is built using Elasticsearch and Kibana.
Keep in mind, that you wouldn't want to use Elasticsearch as your primary data storage. Reasons here: How reliable is ElasticSearch as a primary datastore against factors like write loss, data availability
Update
I felt like the second part is no longer edgy, it's actually what Elastic as a company has been doing really well in past year. With current DevOps movement, CI/CD pipelines, increasing amount of metrics from various sources, ELK became a defacto choice for infrastructure monitoring, it's no longer just a distributed RESTful text-search engine. It has an amazing set of products:
- Logstash (tons of data inputs)
- Beats
- Filebeat
- Metricbeat
- Packetbeat
- Winlogbeat
- Kibana
- Graph
- Timelion
- X-Pack (premium)
- Alerts
- Reporting
- Security
- Machine Learning
- Cross data center metrics
An ecosystem, built by community, is growing around ELK stack that expands current features, few of them worth mentioning:
- ElastAlert
- Search Guard
From Stack Overflow: asked by James-Jesse Drinkard, answered by Evaldas Buinauskas (CC BY-SA 3.0)
Describe map interface from java collectionJava
Map interface
An object that maps keys to values. A map cannot contain duplicate keys; each key can map to at most one value.
This interface takes the place of the
Dictionaryclass, which was a totally abstract class rather than an interface.The
Mapinterface provides three collection views, which allow a map's contents to be viewed as a set of keys, collection of values, or set of key-value mappings. The order of a map is defined as the order in which the iterators on the map's collection views return their elements. Some map implementations, like theTreeMapclass, make specific guarantees as to their order; others, like theHashMapclass, do not.Note: great care must be exercised if mutable objects are used as map keys. The behavior of a map is not specified if the value of an object is changed in a manner that affects equals comparisons while the object is a key in the map. A special case of this prohibition is that it is not permissible for a map to contain itself as a key. While it is permissible for a map to contain itself as a value, extreme caution is advised: the
equalsandhashCodemethods are no longer well defined on such a map.The "destructive" methods contained in this interface, that is, the methods that modify the map on which they operate, are specified to throw
UnsupportedOperationExceptionif this map does not support the operation. If this is the case, these methods may, but are not required to, throw anUnsupportedOperationExceptionif the invocation would have no effect on the map. For example, invoking theputAll(Map)method on an unmodifiable map may, but is not required to, throw the exception if the map whose mappings are to be "superimposed" is empty.Some map implementations have restrictions on the keys and values they may contain. For example, some implementations prohibit
nullkeys and values, and some have restrictions on the types of their keys. Attempting to insert an ineligible key or value throws an unchecked exception, typicallyNullPointerExceptionorClassCastException. Attempting to query the presence of an ineligible key or value may throw an exception, or it may simply returnfalse; some implementations will exhibit the former behavior and some will exhibit the latter. More generally, attempting an operation on an ineligible key or value whose completion would not result in the insertion of an ineligible element into the map may throw an exception or it may succeed, at the option of the implementation. Such exceptions are marked as "optional" in the specification for this interface.Many methods in Collections Framework interfaces are defined in terms of the
equalsmethod. For example, the specification for thecontainsKey(Object key)method says: "returns true if and only if this map contains a mapping for a keyksuch that (key==null ? k==null : key.equals(k))." This specification should not be construed to imply that invokingMap.containsKeywith a non-null argument key will causekey.equals(k)to be invoked for any keyk. Implementations are free to implement optimizations whereby the equals invocation is avoided, for example, by first comparing the hash codes of the two keys. (TheObject.hashCode()specification guarantees that two objects with unequal hash codes cannot be equal.) More generally, implementations of the various Collections Framework interfaces are free to take advantage of the specified behavior of underlying Object methods wherever the implementor deems it appropriate.Read the rest at the sourceFrom Android Interview Questions (Apache 2.0)
What is the difference between Lucene and Elasticsearch?Elasticsearch
Lucene is a Java library. You can include it in your project and refer to its functions using function calls.
Elasticsearch is a JSON Based, Distributed, web server built over Lucene. Though it's Lucene who is doing the actual work beneath, Elasticsearch provides us a convenient layer over Lucene. Each shard that gets created in Elasticsearch is a separate Lucene instance. So to summarize
- Elasticsearch is built over Lucene and provides a JSON based REST API to refer to Lucene features.
- Elasticsearch provides a distributed system on top of Lucene. A distributed system is not something Lucene is aware of or built for. Elasticsearch provides this abstraction of distributed structure.
- Elasticsearch provides other supporting features like thread-pool, queues, node/cluster monitoring API, data monitoring API, Cluster management, etc.
From Stack Overflow: asked by Satish, answered by Vineeth Mohan (CC BY-SA 4.0)
How does G1 GC work?Java
G1 divides the heap into small regions, then concurrently marks live objects, identifies regions with the most garbage, and evacuates/compacts live objects from those regions during short, predictable pauses. Links
- https://docs.oracle.com/en/java/javase/25/gctuning/garbage-first-g1-garbage-collector1.html
From Java interview (MIT)
What is the difference between MUST and SHOULD in an Elasticsearch bool query?Elasticsearch
must means: The clause (query) must appear in matching documents. These clauses must match, like logical AND.
should means: At least one of these clauses must match, like logical OR.
Basically they are used like logical operators AND and OR. See this.
Now in a bool query:
must means: Clauses that must match for the document to be included.
should means: If these clauses match, they increase the
_score; otherwise, they have no effect. They are simply used to refine the relevance score for each document.Yes you can use multiple filters inside
must.From Stack Overflow: asked by user2722667, answered by Utsav Dawn (CC BY-SA 4.0)
Why do you want to work for us?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
- Software Engineer I, BackendAffirm, Remote in Canada +1Yesterday
- Software Engineer, Ceph & Distributed StorageCanonical, Remote in Canada +1Yesterday
- Software EngineerTheHiveCareers, Remote in Canada +1Today
- Senior Software Engineer - OstroLifelancer, Remote in CanadaYesterday
More like this: Backend developer jobs in Canada (179)




