Principal Java Engineer - Distributed Systems, Serverless - Elasticsearch
BackendPosted 4 weeks agofrom Elastic's own hiring page
- Work type
- RemoteIn the UK
- Experience
- Not stated
- Pay
- Not listedUsually £46k a yearBackend, median, all levels, in the UK (Payscale)
- Posted
- 4 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
Additional 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.
1 more opening for this job
Elastic posts this job once per place or skill set. Pick the one that fits you.
Interested?Principal Java Engineer - 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.
Elasticsearch: Difference between "Term", "Match Phrase", and "Query String"Elasticsearch
termquery matches a single term as it is : the value is not analyzed. So, it doesn't have to be lowercased depending on what you have indexed.If you provided
Bennettat index time and the value is not analyzed, the following query won't return anything :{ "query": { "term" : { "user" : "bennett" } } }match_phrasequery will analyze the input if analyzers are defined for the queried field and find documents matching the following criteria:- all the terms must appear in the field
- they must have the same order as the input value
- there must not be any intervening terms, i.e. be consecutive (potentially excluding stop-words but this can be complicated)
For example, if you index the following documents (using
standardanalyzer for the fieldfoo):{ "foo":"I just said hello world" } { "foo":"Hello world" } { "foo":"World Hello" } { "foo":"Hello dear world" }This
match_phrasequery will only return the first and second documents :{ "query": { "match_phrase": { "foo": "Hello World" } } }query_stringquery search, by default, on a _all field which contains the text of several text fields at once. On top of that, it's parsed and supports some operators (AND/OR...), wildcards and so on (see related syntax).As the
match_phrasequeries, the input is analyzed according to the analyzer set on the queried field.Unlike the
match_phrase, the terms obtained after analysis don't have to be in the same order, unless the user has used quotes around the input.For example, using the same documents as before, this query will return all the documents :
{ "query": { "query_string": { "query": "hello World" } } }But this query will return the same 2 documents as the
match_phrasequery :{ "query": { "query_string": { "query": "\"Hello World\"" } } }There is much more to say about the different options for those queries, please take a look at the related documentation :
Hope this is clear enough and it will help.
From Stack Overflow: asked by blee908, answered by ThomasC (CC BY-SA 4.0)
Why is char[] preferred over String for passwords?Java
Strings are immutable. That means once you've created the
String, if another process can dump memory, there's no way (aside from reflection) you can get rid of the data before garbage collection kicks in.With an array, you can explicitly wipe the data after you're done with it. You can overwrite the array with anything you like, and the password won't be present anywhere in the system, even before garbage collection.
So yes, this is a security concern - but even using
char[]only reduces the window of opportunity for an attacker, and it's only for this specific type of attack.As noted in the comments, it's possible that arrays being moved by the garbage collector will leave stray copies of the data in memory. I believe this is implementation-specific - the garbage collector may clear all memory as it goes, to avoid this sort of thing. Even if it does, there's still the time during which the
char[]contains the actual characters as an attack window.From Stack Overflow: asked by Ahamed, answered by Jon Skeet (CC BY-SA 4.0)
difference between a field and the field.keywordElasticsearch
Update : A short answer would be that type: text is analyzed, meaning it is broken up into distinct words when stored, and allows for free-text searches on one or more words in the field. The .keyword field takes the same input and keeps as one large string, meaning it can be aggregated on, and you can use wildcard searches on it. Aggregatable means you can use it in aggregations in elasticsearch, which resembles a sql group by if you are familiar with that. In Kibana you would probably use the .keyword field with aggregations to count distinct values etc.
Please take a look on this article about
textvs.keyword.Briefly: since Elasticsearch 5.0
stringtype was replaced bytextandkeywordtypes. Since then when you do not specify explicit mapping, for simple document with string:{ "some_field": "string value" }below dynamic mapping will be created:
{ "some_field": { "type" "text", "fields": { "keyword": { "type": "keyword", "ignore_above": 256 } } } }As a consequence, it will both be possible to perform full-text search on
some_field, and keyword search and aggregations using thesome_field.keywordfield.I hope this answers your question.
From Stack Overflow: asked by tomak, answered by Piotr Pradzynski (CC BY-SA 4.0)
What is the difference between int and Integer?Java
int vs Integer
intis a primitive type. Variables of typeintstore the actual binary value for the integer you want to represent. Integer is a class, no different from any other in the Java language. Variables of typeIntegerstore references to Integer objects, just as with any other reference (object) type.Integer.parseInt("1")is a call to the static methodparseIntfrom classInteger. To be more specific,Integeris a class with a single field of type int. This class is used where you need an int to be treated like any other object, such as in generic types or situations where you need nullability. The automatic conversion of primitive data types into its equivalent Wrapper type is known as autoboxing and opposite operation is known as unboxing.Autoboxing:
Converting a primitive value into an object of the corresponding wrapper class is called autoboxing. For example, converting int to Integer class. The Java compiler applies autoboxing when a primitive value is:
- Passed as a parameter to a method that expects an object of the corresponding wrapper class.
- Assigned to a variable of the corresponding wrapper class.
Unboxing:
Converting an object of a wrapper type to its corresponding primitive value is called unboxing. For example conversion of Integer to int. The Java compiler applies unboxing when an object of a wrapper class is:
- Passed as a parameter to a method that expects a value of the corresponding primitive type.
- Assigned to a variable of the corresponding primitive type.
Links
https://docs.oracle.com/javase/tutorial/java/data/autoboxing.html http://illegalargumentexception.blogspot.com/2008/08/java-int-versus-integer.html https://www.geeksforgeeks.org/autoboxing-unboxing-java/
From Android Interview Questions (Apache 2.0)
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)
What do you do in your spare time?Behavioural
Employers will want to get to know you and may ask things like:
- what do you do in your spare time?
- what are your hobbies and interests?
Show what kind of personal qualities, interests and skills you have. For example, you could talk about:
- cooking - to show you're organised and can follow instructions
- travel - to show you're adventurous and flexible
- team sports - to show you're a team player with good communication
- music - to show you're creative
If the job requires certain skills, you should demonstrate these in your examples.
ExampleIf it's a graphic designer role, you could talk about taking a desktop publishing course.
From National Careers Service: interview advice (Open Government Licence v3.0)
Similar jobs
- Senior Backend EngineerTrading 212, Remote in the UK +1Today
- Senior Software Engineer (Agentic Search) - Web Access EngineerTavily, London, on-siteToday
- Backend Engineer IIIMonzo, Remote in the UKToday
- Senior Software Engineer (Backend) - Remote Europe/InternationalModena Allergy & Asthma, Remote in the UK +1Today
More like this: Backend developer jobs in the UK (203)



