Design a Job Board with Search and Applications
Let employers post and close jobs, let job seekers search open jobs and apply with a resume, and keep search fresh and applications safe through deadline rushes.
Problem statement
Design a job board. Employers post jobs, job seekers search for jobs, and job seekers apply to the jobs they find.
For this exercise, assume employers are already verified accounts. An employer posts a job with a title, a description, a location or a remote option, a job type such as full-time or internship, and an optional application deadline; the employer can edit the job and close it.
A posted job is visible to every job seeker as soon as it is posted, with no approval step. Job seekers search open jobs by keywords and filters, open a job, and apply once with a resume they have uploaded.
Employers see the applicants for each of their jobs and can download their resumes; job seekers see the jobs they have applied to.
Assume a job stops taking applications when the employer closes it or when its deadline passes, under a cut-off rule you choose and state: strictly at the deadline, or after a short grace period. Many jobs share the same midnight deadline.
Once the system confirms an application it must never be lost, and a job seeker can never end up with two applications to the same job, even if they press submit twice or their app retries.
Recommendations and personalized ranking, messaging, interview scheduling, application status changes after submission, resume parsing, and payments are out of scope. You may use any technologies you like.
What to build
- An employer posts a job with its details and an optional application deadline, edits it, and closes it.
- A job seeker searches open jobs by keywords and filters for location or remote, job type and how recently the job was posted, and pages through relevant results.
- A job seeker applies to an open job with an uploaded resume, at most once per job, and sees the list of jobs they have applied to.
- An employer sees the applicants for each of their jobs, newest first, and can download each applicant's resume.
At scale
- For this exercise, assume about 2 million open jobs at any time with descriptions averaging about 5 KB, and about 100,000 jobs posted, edited or closed a day.
- For this exercise, assume search peaks at about 5,000 queries a second, the first page of results returns within 300 ms at the 99th percentile, and a posted, edited or closed job shows the change in search within 1 minute.
- For this exercise, assume about 1 million applications a day with resumes averaging about 300 KB and at most 5 MB. In the last 15 minutes before a common midnight deadline, applications peak at about 2,000 a second, and one popular job may receive about 20,000 of them.