Elastic136 open jobs

Senior Java Engineer - Distributed Systems, Serverless - Elasticsearch

BackendPosted 3 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
3 weeks ago
Before you apply: make your resume fit this job

Skills it mentions

Add your skills to see which ones you have.

Interview questions for this job6 with answers below, on Elasticsearch and Java

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 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 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.

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?Senior 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.

225 questions
  • 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

    1. Elasticsearch is built over Lucene and provides a JSON based REST API to refer to Lucene features.
    2. 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.
    3. 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)

  • What is the result of this code:Java
    public static void main(String[] args) {
        Point pnt1 = new Point(0, 0);
        Point pnt2 = new Point(0, 0);
        System.out.println("X: " + pnt1.x + " Y: " + pnt1.y);
        System.out.println("X: " + pnt2.x + " Y: " + pnt2.y);
        System.out.println(" ");
        tricky(pnt1, pnt2);
        System.out.println("X: " + pnt1.x + " Y:" + pnt1.y);
        System.out.println("X: " + pnt2.x + " Y: " + pnt2.y);
    }
    public void tricky(Point arg1, Point arg2) {
        arg1.x = 100;
        arg1.y = 100;
        Point temp = arg1;
        arg1 = arg2;
        arg2 = temp;
    }
    

    If we execute this main() method, we see the following output:

    X: 0 Y: 0
    X: 0 Y: 0
    X: 100 Y: 100
    X: 0 Y: 0
    

    The method successfully alters the value of pnt1, even though it is passed by value; however, a swap of pnt1 and pnt2 fails! This is the major source of confusion. In the main() method, pnt1 and pnt2 are nothing more than object references. When you pass pnt1 and pnt2 to the tricky() method, Java passes the references by value just like any other parameter. This means the references passed to the method are actually copies of the original references. Links

    • https://www.javaworld.com/article/2077424/learn-java-does-java-pass-by-reference-or-pass-by-value.html

    From Java interview (MIT)

  • Elasticsearch: Difference between "Term", "Match Phrase", and "Query String"Elasticsearch

    term query 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 Bennett at index time and the value is not analyzed, the following query won't return anything :

    {
      "query": {
        "term" : { "user" : "bennett" }
      }
    }
    

    match_phrase query 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 standard analyzer for the field foo):

    { "foo":"I just said hello world" }
    { "foo":"Hello world" }
    { "foo":"World Hello" }
    { "foo":"Hello dear world" }
    

    This match_phrase query will only return the first and second documents :

    {
      "query": {
        "match_phrase": {
          "foo": "Hello World"
        }
      }
    }
    

    query_string query 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_phrase queries, 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_phrase query :

    {
      "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 subtracting these two epoch-milli Times (in year 1927) giving a strange result?Java

    It's a time zone change on December 31st in Shanghai.

    See this page for details of 1927 in Shanghai. Basically at midnight at the end of 1927, the clocks went back 5 minutes and 52 seconds. So "1927-12-31 23:54:08" actually happened twice, and it looks like Java is parsing it as the later possible instant for that local date/time - hence the difference.

    Just another episode in the often weird and wonderful world of time zones.

    If rebuilt with version 2013a of TZDB, The original question would no longer demonstrate quite the same behaviour. In 2013a, the result would be 358 seconds, with a transition time of 23:54:03 instead of 23:54:08.

    I only noticed this because I'm collecting questions like this in Noda Time, in the form of unit tests... The test has now been changed, but it just goes to show - not even historical data is safe.

    In TZDB 2014f, the time of the change has moved to 1900-12-31, and it's now a mere 343 second change (so the time between t and t+1 is 344 seconds, if you see what I mean).

    To answer a question around a transition at 1900... it looks like the Java time zone implementation treats all time zones as simply being in their standard time for any instant before the start of 1900 UTC:

    import java.util.TimeZone;
    public class Test {
        public static void main(String[] args) throws Exception {
            long startOf1900Utc = -2208988800000L;
            for (String id : TimeZone.getAvailableIDs()) {
                TimeZone zone = TimeZone.getTimeZone(id);
                if (zone.getRawOffset() != zone.getOffset(startOf1900Utc - 1)) {
                    System.out.println(id);
                }
            }
        }
    }
    

    The code above produces no output on my Windows machine. So any time zone which has any offset other than its standard one at the start of 1900 will count that as a transition. TZDB itself has some data going back earlier than that, and doesn't rely on any idea of a "fixed" standard time (which is what getRawOffset assumes to be a valid concept) so other libraries needn't introduce this artificial transition.

    From Stack Overflow: asked by Freewind, answered by Jon Skeet (CC BY-SA 4.0)

  • What are some use cases for using Elasticsearch versus standard sql queries?Elasticsearch

    There are two primary Elasticsearch use cases:

    1. 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.

    1. 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)

  • Do you have any weaknesses?Behavioural

    You should be honest when answering questions on your weaknesses. Say how you're working to improve them.

    Example

    Question - "Do you have any weaknesses?"

    Answer - "I struggle with time management on projects. To make sure I stick to the time frame I'm creating a timetable of steps at the start of each project".

    From National Careers Service: interview advice (Open Government Licence v3.0)

Similar jobs

More like this: Backend developer jobs in the UK (203)