Senior 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 Senior Software Developer 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 distributed systems expertise to 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 shown your ability to understand and work on complex, highly distributed systems, rather than making use of off-the-shelf services.
- You demonstrate the ability to build and debug 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 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?Senior 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.
Elastic search, multiple indexes vs one index and types for different data sets?Elasticsearch
There are different implications to both approaches.
Assuming you are using Elasticsearch's default settings, having 1 index for each model will significantly increase the number of your shards as 1 index will use 5 shards, 5 data models will use 25 shards; while having 5 object types in 1 index is still going to use 5 shards.
Implications for having each data model as index:
- Efficient and fast to search within index, as amount of data should be smaller in each shard since it is distributed to different indices.
- Searching a combination of data models from 2 or more indices is going to generate overhead, because the query will have to be sent to more shards across indices, compiled and sent back to the user.
- Not recommended if your data set is small since you will incur more storage with each additional shard being created and the performance gain is marginal.
- Recommended if your data set is big and your queries are taking a long time to process, since dedicated shards are storing your specific data and it will be easier for Elasticsearch to process.
Implications for having each data model as an object type within an index:
- More data will be stored within the 5 shards of an index, which means there is lesser overhead issues when you query across different data models but your shard size will be significantly bigger.
- More data within the shards is going to take a longer time for Elasticsearch to search through since there are more documents to filter.
- Not recommended if you know you are going through 1 terabytes of data and you are not distributing your data across different indices or multiple shards in your Elasticsearch mapping.
- Recommended for small data sets, because you will not waste storage space for marginal performance gain since each shard take up space in your hardware.
If you are asking what is too much data vs small data? Typically it depends on the processor speed and the RAM of your hardware, the amount of data you store within each variable in your mapping for Elasticsearch and your query requirements; using many facets in your queries is going to slow down your response time significantly. There is no straightforward answer to this and you will have to benchmark according to your needs.
From Stack Overflow: asked by floriank, answered by Jonathan Moo (CC BY-SA 3.0)
When to use LinkedList over ArrayList in Java?Java
Summary
ArrayListwithArrayDequeare preferable in many more use-cases thanLinkedList. If you're not sure — just start withArrayList.TLDR, in
ArrayListaccessing an element takes constant time [O(1)] and adding an element takes O(n) time [worst case]. InLinkedListinserting an element takes O(n) time and accessing also takes O(n) time butLinkedListuses more memory thanArrayList.LinkedListandArrayListare two different implementations of theListinterface.LinkedListimplements it with a doubly-linked list.ArrayListimplements it with a dynamically re-sizing array.As with standard linked list and array operations, the various methods will have different algorithmic runtimes.
For
LinkedList<E>get(int index)is O(n) (with n/4 steps on average), but O(1) whenindex = 0orindex = list.size() - 1(in this case, you can also usegetFirst()andgetLast()).add(int index, E element)is O(n) (with n/4 steps on average), but O(1) whenindex = 0orindex = list.size() - 1(in this case, you can also useaddFirst()andaddLast()/add()). One of the main benefits ofLinkedList<E>remove(int index)is O(n) (with n/4 steps on average), but O(1) whenindex = 0orindex = list.size() - 1(in this case, you can also useremoveFirst()andremoveLast()). One of the main benefits ofLinkedList<E>Iterator.remove()is O(1). One of the main benefits ofLinkedList<E>ListIterator.add(E element)is O(1). One of the main benefits ofLinkedList<E>
Note: Many of the operations need n/4 steps on average, constant number of steps in the best case (e.g. index = 0), and n/2 steps in worst case (middle of list)
For
ArrayList<E>get(int index)is O(1). Main benefit ofArrayList<E>add(E element)is O(1) amortized, but O(n) worst-case since the array must be resized and copiedadd(int index, E element)is O(n) (with n/2 steps on average)remove(int index)is O(n) (with n/2 steps on average)Iterator.remove()is O(n) (with n/2 steps on average)ListIterator.add(E element)is O(n) (with n/2 steps on average)
Note: Many of the operations need n/2 steps on average, constant number of steps in the best case (end of list), n steps in the worst case (start of list)
LinkedList<E>allows for constant-time insertions or removals using iterators, but only sequential access of elements. In other words, you can walk the list forwards or backwards, but finding a position in the list takes time proportional to the size of the list. Javadoc says "operations that index into the list will traverse the list from the beginning or the end, whichever is closer", so those methods are O(n) (n/4 steps) on average, though O(1) forindex = 0.Read the rest at the sourceFrom Stack Overflow: asked by sdellysse, answered by Jonathan Tran (CC BY-SA 4.0)
elasticsearch match vs term queryElasticsearch
Assuming you are using the Standard Analyzer
GETbecomesgetwhen stored in the index. The source document will still have the original "GET".The
matchquery will apply the same standard analyzer to the search term and will therefore match what is stored in the index. Thetermquery does not apply any analyzers to the search term, so will only look for that exact term in the inverted index.To use the term query in your example, change the upper case "GET" to lower case "get" or change your mapping so the request.method field is set to
not_analyzed.From Stack Overflow: asked by Linlin, answered by Akshay (CC BY-SA 3.0)
What is type erasure?Java
Type erasure removes all type parameters and replaces them with their bounds or with Object if the type parameter is unbounded. This way, the bytecode after compilation contains only normal classes, interfaces and methods, ensuring that no new types are produced. Proper casting is applied as well to the Object type at compile time. Links
- https://www.baeldung.com/java-generics
From Java interview (MIT)
Queries vs. FiltersElasticsearch
The difference is simple: filters are cached and don't influence the score, therefore faster than queries. Have a look here too. Let's say a query is usually something that the users type and pretty much unpredictable, while filters help users narrowing down the search results , for example using facets.
From Stack Overflow: asked by Jonesie, answered by javanna (CC BY-SA 3.0)
Why did you leave your last job?Behavioural
The employer may ask you questions about leaving your last job.
If you've been out of work for a long time, explain why. Talk about the positive things you've done while away from work. For example, networking, retraining, volunteering or keeping fit.
If you:
- left by choice: be positive about why you want a new job and describe why their company suits you better
- got made redundant: explain the situation, be positive and describe how you've responded since
- were fired for misconduct or poor performance: explain why your standards dropped, what you've learned and how you've improved since the experience
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)




