Software Engineer, Infrastructure
DevOps and SREPosted over 2 months agofrom Opal Security's own hiring page
- Work type
- RemoteIn the US
- Experience
- 4+ years
- Pay
- $140k–215k a year
- Posted
- Over 2 months agoOpen 6 months
Skills it mentions
Add your skills to see which ones you have.
About the job
About Opal Security:
At Opal, we’re building modern identity governance for the AI era—intelligent access management that empowers enterprises to move fast while staying secure. Our mission is to bring clarity, control, and confidence to complex enterprise environments, helping teams govern access without slowing down innovation.
About the Role:
Identity is having a moment. Every company is deploying agents, spinning up service accounts, and realizing their IAM stack can't keep up. We're building AI-native security that scales with this chaos and companies like Databricks and Figma are betting on us to get it right.
You will build customer solutions across the entire stack. You'll talk directly to security and eng teams at Fortune 500s and startups alike, understand their messy reality, and architect systems that actually solve their problems. You'll own the problem, not just the solution, which means you get to be creative, challenge assumptions, and build things that don't exist yet.
Please note: We've built a team that works exceptionally well together and has fun doing so. We're looking to bring on new teammates who will both add to and grow with what we're building 🙂
Your responsibilitiesEnsure the stability, security, scalability, and performance of Opal Security’s platform
Take ownership of critical components of Opal Security’s Infrastructure
Empower product engineers with the tools and systems they need
Work closely with leadership, our product team, and other engineers in roadmap, architecture, and product discussions
Create and improve engineering best practices and processes
Interact directly with customers on product feedback and issues
Familiarity with our tech stack: Kubernetes, Golang, Postgres, Redis, Terraform, GraphQL, TypeScript, and React
Experience with cloud providers (e.g., AWS / GCP) and scaling cloud infrastructure
Has 4+ years experience as a full-time software engineer or equivalent experience building large distributed systems
Thrives in ambiguous environments with significant ownership and with the opportunity to make decisions that have a huge impact on the business
Interested?Software Engineer, Infrastructure at Opal Security
Apply on company site (opens in a new tab)The job ad ends here
Interview questions for this job6 with answers, on Kubernetes, PostgreSQL, Redis and 6 more
Interview questions for this job
For the skills the ad mentions: Kubernetes, PostgreSQL, Redis, Terraform, GraphQL, TypeScript, React, AWS and Google Cloud.
kubectl apply vs kubectl create?Kubernetes
Those are two different approaches:
Imperative Management
kubectl createis what we call Imperative Management. On this approach you tell the Kubernetes API what you want to create, replace or delete, not how you want your K8s cluster world to look like.Declarative Management
kubectl applyis part of the Declarative Management approach, where changes that you may have applied to a live object (i.e. throughscale) are "maintained" even if youapplyother changes to the object.You can read more about imperative and declarative management in the Kubernetes Object Management documentation.
tl:dr
They do different things. If the resource exists,
kubectl createwill error out andkubectl applywill not error out.From Stack Overflow: asked by Suresh Vishnoi, answered by Ara Pulido (CC BY-SA 4.0)
Should I add an arbitrary length limit to VARCHAR columns?PostgreSQL
The answer is no.
Related advice in the Postgres Wiki.
Don't add a length modifier to
varcharif you don't need it. (Most of the time, you don't.) Just usetextfor all character data. Make thatvarchar(standard SQL type) without length modifier if you need to stay compatible with RDBMS which don't havetextas generic character string type.Performance is almost the same,
textis a bit faster in rare situations, and you save the cycles for the check on the length.A particularly common misconception is
varchar(255), which hardly ever makes sense in Postgres. Often carried over from other (outdated) RDBMS, where the particular limit has performance benefits. That's not true for Postgres. See:If you actually need to enforce a maximum length,
varchar(n)is a valid choice. But I would still considertextwith aCHECKconstraint like:ALTER TABLE tbl ADD CONSTRAINT tbl_col_len CHECK (length(col) < 51);You can modify or drop such a constraint at any time without having to mess with the table definition and depending objects (views, functions, foreign keys, ...). And you can enforce other requirements in the (same) constraint.
Length modifiers used to cause problems like this or this or this ...
PostgreSQL 9.1 introduced a new feature to alleviate the pain somewhat. The release notes:
Allow
ALTER TABLE ... SET DATA TYPEto avoid table rewrites in appropriate cases (Noah Misch, Robert Haas)For example, converting a
varcharcolumn to text no longer requires a rewrite of the table. However, increasing the length constraint on avarcharcolumn still requires a table rewrite.More issues with
varchar(n)have been fixed in later releases.From Database Administrators Stack Exchange: asked by Daniel Serodio, answered by Erwin Brandstetter (CC BY-SA 4.0)
What are the underlying data structures used for Redis?Redis
I'll try to answer your question, but I'll start with something that may look strange at first: if you are not interested in Redis internals you should not care about how data types are implemented internally. This is for a simple reason: for every Redis operation you'll find the time complexity in the documentation and, if you have the set of operations and the time complexity, the only other thing you need is some clue about memory usage (and because we do many optimizations that may vary depending on data, the best way to get these latter figures are doing a few trivial real world tests).
But since you asked, here is the underlying implementation of every Redis data type.
- Strings are implemented using a C dynamic string library so that we don't pay (asymptotically speaking) for allocations in append operations. This way we have O(N) appends, for instance, instead of having quadratic behavior.
- Lists are implemented with linked lists.
- Sets and Hashes are implemented with hash tables.
- Sorted sets are implemented with skip lists (a peculiar type of balanced trees).
But when lists, sets, and sorted sets are small in number of items and size of the largest values, a different, much more compact encoding is used. This encoding differs for different types, but has the feature that it is a compact blob of data that often forces an O(N) scan for every operation. Since we use this format only for small objects this is not an issue; scanning a small O(N) blob is cache oblivious so practically speaking it is very fast, and when there are too many elements the encoding is automatically switched to the native encoding (linked list, hash, and so forth).
But your question was not really just about internals, your point was What type to use to accomplish what?.
Strings
This is the base type of all the types. It's one of the four types but is also the base type of the complex types, because a List is a list of strings, a Set is a set of strings, and so forth.
A Redis string is a good idea in all the obvious scenarios where you want to store an HTML page, but also when you want to avoid converting your already encoded data. So for instance, if you have JSON or MessagePack you may just store objects as strings. In Redis 2.6 you can even manipulate this kind of object server side using Lua scripts.
Another interesting usage of strings is bitmaps, and in general random access arrays of bytes, since Redis exports commands to access random ranges of bytes, or even single bits. For instance check this good blog post: Fast Easy real time metrics using Redis.
Lists
Lists are good when you are likely to touch only the extremes of the list: near tail, or near head. Lists are not very good to paginate stuff, because random access is slow, O(N). So good uses of lists are plain queues and stacks, or processing items in a loop using RPOPLPUSH with same source and destination to "rotate" a ring of items.
Lists are also good when we want just to create a capped collection of N items where usually we access just the top or bottom items, or when N is small.
Sets
Sets are an unordered data collection, so they are good every time you have a collection of items and it is very important to check for existence or size of the collection in a very fast way. Another cool thing about sets is support for peeking or popping random elements (SRANDMEMBER and SPOP commands).
Sets are also good to represent relations, e.g., "What are friends of user X?" and so forth. But other good data structures for this kind of stuff are sorted sets as we'll see.
Sets support complex operations like intersections, unions, and so forth, so this is a good data structure for using Redis in a "computational" manner, when you have data and you want to perform transformations on that data to obtain some output.
Small sets are encoded in a very efficient way.
Hashes
Read the rest at the sourceFrom Stack Overflow: asked by Homer6, answered by antirez (CC BY-SA 3.0)
Best practices when using Terraform? Is there any official guide to it?Terraform
I am also in a state of migrating existing AWS infrastructure to Terraform so shall aim to update the answer as I develop.
I have been relying heavily on the official Terraform examples and multiple trial and error to flesh out areas that I have been uncertain in.
.tfstatefilesTerraform config can be used to provision many boxes on different infrastructure, each of which could have a different state. As it can also be run by multiple people this state should be in a centralised location (like S3) but not git.
This can be confirmed looking at the Terraform
.gitignore.Developer control
Our aim is to provide more control of the infrastructure to developers whilst maintaining a full audit (git log) and the ability to sanity check changes (pull requests). With that in mind the new infrastructure workflow I am aiming towards is:
- Base foundation of common AMI's that include reusable modules e.g. puppet.
- Core infrastructure provisioned by DevOps using Terraform.
- Developers change Terraform configuration in Git as needed (number of instances; new VPC; addition of region/availability zone etc).
- Git configuration pushed and a pull request submitted to be sanity checked by a member of DevOps squad.
- If approved, calls webhook to CI to build and deploy (unsure how to partition multiple environments at this time)
Edit 1 - Update on current state
Since starting this answer I have written a lot of TF code and feel more comfortable in our state of affairs. We have hit bugs and restrictions along the way but I accept this is a characteristic of using new, rapidly changing software.
Layout
We have a complicated AWS infrastructure with multiple VPC's each with multiple subnets. Key to easily managing this was to define a flexible taxonomy that encompasses region, environment, service and owner which we can use to organise our infrastructure code (both terraform and puppet).
Modules
Next step was to create a single git repository to store our terraform modules. Our top level dir structure for the modules looks like this:
tree -L 1 .Result:
├── README.md ├── aws-asg ├── aws-ec2 ├── aws-elb ├── aws-rds ├── aws-sg ├── aws-vpc └── templatesEach one sets some sane defaults but exposes them as variables that can be overwritten by our "glue".
Glue
We have a second repository with our
gluethat makes use of the modules mentioned above. It is laid out in line with our taxonomy document:. ├── README.md ├── clientA │ ├── eu-west-1 │ │ └── dev │ └── us-east-1 │ └── dev ├── clientB │ ├── eu-west-1 │ │ ├── dev │ │ ├── ec2-keys.tf │ │ ├── prod │ │ └── terraform.tfstate │ ├── iam.tf │ ├── terraform.tfstate │ └── terraform.tfstate.backup └── clientC ├── eu-west-1 │ ├── aws.tf │ ├── dev │ ├── iam-roles.tf │ ├── ec2-keys.tf │ ├── prod │ ├── stg │ └── terraform.tfstate └── iam.tfInside the client level we have AWS account specific
.tffiles that provision global resources (like IAM roles); next is region level with EC2 SSH public keys; Finally in our environment (dev,stg,prodetc) are our VPC setups, instance creation and peering connections etc. are stored.Side Note: As you can see I'm going against my own advice above keeping
terraform.tfstatein git. This is a temporary measure until I move to S3 but suits me as I'm currently the only developer.Next Steps
Read the rest at the sourceFrom Stack Overflow: asked by Marc Young, answered by Ewan (CC BY-SA 4.0)
Can a GraphQL input type inherit from another type or interface?GraphQL
No, the spec does not allow input types to implement interfaces. And GraphQL type system in general does not define any form of inheritance (the
extendskeyword adds fields to an existing type, and isn't for inheritance). The spec is intentionally constrained to stay simple. This means that you're stuck repeating fields across input types.That said, depending on the way you construct your schema, you could build some kind of type transformer that appends the common fields programmatically based on some meta-data, e.g. a directive. Here's one such implementation.
Better yet, you might be able to solve your problem via composition (always keep composition over inheritance in mind). E.g.
input Name { firstName: String lastName: String } input UserInput { name: Name password: String! } input UserChangesInput { name: Name id: ID! password: String }The client now has to send an object a level deeper, but that doesn't sound like much of a price for avoiding big repeating chunks. It might actually be good for the client as well, as they can now have common logic for building names, regardless of the query/mutation using them.
In this example, where it's only 2 simple fields, this approach is an overkill, but in general - I'd say it's the way to go.
From Stack Overflow: asked by kyrisu, answered by kaqqao (CC BY-SA 4.0)
Have you ever failed at a task?Behavioural
Employers usually base questions on jobs you have done in the past. This gives you the chance to talk about your experience. For instance, they might ask:
- when have you faced a challenging situation?
- can you tell us about a personal achievement at work?
- have you ever taken the initiative?
- have you ever failed at a task?
Your answers should reflect the skills the employer wants. Be positive and tailor your examples to the job description.
If you don't have much work history, you can use examples from outside of work. You can also use examples from volunteering experience.
Use the STAR method to help structure your answers.From National Careers Service: interview advice (Open Government Licence v3.0)
Similar jobs
- Founding Engineer, InfrastructureClera, San Francisco Bay Area, on-siteToday
- Systems Engineer, Fleet InfrastructureBaseten, Remote, New York +4Yesterday
- Senior Staff Software Engineer, DC InfrastructureCrusoe, San Francisco Bay Area, on-siteYesterday
- Senior DevSecOps Integration Engineer (Remote Opportunity)VetsEZ, Remote in the USToday
More like this: DevOps and SRE jobs in San Francisco Bay Area (258), Jobs in San Francisco Bay Area (9,193), DevOps and SRE jobs in the USA (738) and Remote DevOps and SRE jobs in the USA (362)



