cioc

cioc

Elixir Engineer building distributed systems and ml @ Shoreline Software (full-time, remote or onsite)

Have you designed, built, and operated distributed systems? Have you monitored and administered JVMs, databases, and other infrastructure? Are your Elixir and functional programming skills second to none? If so, then you should consider joining us at Shoreline Software.

At Shoreline, we believe operators shouldn’t wake up when servers go down, systems should be fault tolerant & self healing, and stability comes from automatic adjustments rather than operator alarms. A control plane built on adaptive feedback control will enable this. Operators can then focus on automating issue resolution instead of watching dashboards and manually grinding ticket queues.

We are building a distributed control plane designed for scalability, fault tolerance, and portability. We are creating an ops language that is concise, fluent, and distributed. We are a small, but well funded, team looking for Elixir engineers from all over the world to deliver this system. We pay competitively. While this position can be remote, you may be asked from time to time to travel to and work from the main office located in Redwood City, CA.

Learn more: https://shorelinesoftware.com

About Us

My name: Charles Cary
My position: Founding Engineer
Company name: Shoreline Software, Inc.
Website: shorelinesoftware.com
Country: USA
Company info and history (how you’re using Elixir etc) :

About the job

Job title: Elixir Engineer
Job description: See above.
Salary range: Competitive
Position on remote work:

While this position can be remote, you may be asked from time to time to travel to and work from the main office located in Redwood City, CA.

Qualifications or experience required:

We need people with strong Elixir skills and experience with at least one of the following: distributed systems, DevOps (AWS, GCP, Azure or on-prem), machine learning, or language design & implementation. Written English competency, confidence & ability to work in a remote team, git skills, and competency writing tests are required. Open source contributions, experience operating systems at scale, and commercial experience with Erlang/Elixir are all pluses.

What the successful job applicant will be working on: See above.

About the interview process

If interested, please design and implement a solution to the following problem. Email the solution (attach or include link to repo/gist) and a resume to jobs@shorelinesoftware.com.

Problem

Imagine you are building a system to assign unique numbers to each host that you manage. You want the ids to be guaranteed unique i.e. no UUIDs. Since these ids are globally unique, each id can only be given out at most once. The ids are 64 bits long.

Your service is composed of a set of nodes, each running one process serving ids. A caller will connect to one of the nodes and ask it for a globally unique id. There are a fixed number of nodes in the system, up to 1024. Each node has a numeric id, 0 <= id <= 1023. Each node knows its id at startup and that id never changes for the node.

When a caller requests a new id, the node it connects to calls its internal get_id function to get a new, globally unique id. The last_id that the node gave out is passed as a parameter to get_id.

Your task is to implement get_id (interface below). You are given helper functions for getting the node id and the current timestamp. There is no need to implement these functions.

 defmodule GlobalId do
  @moduledoc """
  GlobalId module contains an implementation of a guaranteed globally unique id system.     
  """

  @doc """
  Please implement the following function.
  64 bit non negative integer output   
  """
  @spec get_id(non_neg_integer) :: non_neg_integer
  def get_id(last_id) do
      
  end

  #
  # You are given the following helper functions
  # Presume they are implemented - there is no need to implement them. 
  #

  @doc """
  Returns your node id as an integer.
  It will be greater than or equal to 0 and less than or equal to 1024.
  It is guaranteed to be globally unique. 
  """
  @spec node_id() :: non_neg_integer
  def node_id 

  @doc """
  Returns timestamp since the epoch in milliseconds. 
  """
  @spec timestamp() :: non_neg_integer
  def timestamp
end

You may add other functions to the implementation in order to complete your solution. If you must modify the interface to get_id to complete your solution, please provide an explanation as to why this change is necessary.

Assume that any node will not receive more than 100,000 requests per second.

Please choose a structure for your global id and describe it. For each part of your structure, please explain why it is necessary and include any defining information such as size (in bits). If applicable, explain how the size of the section is related to the maximal request rate per node.

We will evaluate your solution for correctness, simplicity, clarity, and robustness. Providing tests is a huge plus.

If you have any clarifying questions, please email: charles@shorelinesoftware.com

Interview Process

  1. Submit your solution and resume to jobs@shorelinesoftware.com
  2. Informational phone screen where we can get to know each other, ask/answer any questions, and evaluate fit (1hr).
  3. Technical phone screen with live coding (1hr).
  4. Final round of technical interviews with the team, live coding and other questions (~4hrs).

We will get back to you quickly after each step in the process.

Most Liked

cioc

cioc

We still have many open positions, so please don’t hesitate to reach out! Thanks!

cioc

cioc

Hi all! We have updated the interview question. It is now focused on the implementation of the get_id function, rather than whole system design. This means it should take roughly one hour to complete. Please let me know if you have any questions: charles@shorelinesoftware.com Thanks!

Where Next?

Popular in Jobs Top

j-car
Introductory paragraph Enzai is looking for a talented senior Elixir software engineer who is an experienced problem solver, able to bre...
New
harmon25
Hi All, We at Control Gap Inc. are looking for passionate candidates to join our new development team. About us My name: Doug Wright ...
New
rockwood
Shape the future of land investing, wherever you are Join our fully-remote team building the most incredible product for land investors. ...
New
emily-smith-felcana
I’m Emily from Felcana, the first vet-led, vet-focused pet tech start up (say it fast!) Introductory paragraph Felcana are the first ve...
New
paulbutcher
We are a young startup aiming to democratise financial research by applying cutting-edge Machine Learning and Natural Language Processing...
New
mudspot
Introduction We’re on the lookout for a Phoenix Elixir Engineer who’s passionate about building robust, scalable web applications. You’l...
New
eclark
About us My name: Elliott My position: CEO/Founder Company name: Batteries Included Company website: https://www.batteriesincl.com/ ...
New
gabrielpoca
We are looking for talented individuals to join our team at Subvisual. If you are passionate about Elixir and eager to work on cutting-e...
New
vbrazo
Hiive - Remote/Hybrid Canada, Vancouver | Mid/Senior Elixir, React Engineer | Full-Time About us My name: Vitor Oliveira My position: ...
New
glennr
About us Bramble is a platform for banking/insurance/BPOs to improve how they manage their operations. We have traction and are growing...
New

Other popular topics Top

lastday4you
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
New
skosch
To my knowledge, put_in, Map.update etc. all have the one limitation of not automatically creating intermediate keys when needed (for exa...
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New
dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
jay1
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New
baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New
gausby
I asked this very same question on twitter and got some interesting feedback, but I thought it would be a good question to ask here as we...
1207 39297 209
New
fayddelight
I tried installing elixir 1.11.2 erlang 23.3.4 via asdf in my zsh shell. Enabled the versions locally and globally. When I list them ...
New
romenigld
I am trying to run a deploy with docker and I successfully runned with this command: docker build -t romenigld/blog-prod . but when I t...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New

Latest on Elixir Forum

We're in Beta

About us Mission Statement