Affinity5 open jobs

Staff Software Engineer

Software engineeringPosted 2 days agofrom Affinity's own hiring page

Work type
RemoteIn Canada
Experience
10+ years
Pay
C$200k–250k a year
Posted
2 days 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 Ruby, PostgreSQL, React and 4 more

About the job

With a growing customer base and expansion into new markets and use cases, we have more to build than ever at Affinity as we execute on our vision to put relationship intelligence at every professional's fingertips.

Reporting to the Sr Engineering Manager, as a Staff Software Engineer, you'll have the opportunity to push our product in new directions while also shaping the next iterations of the features our customers already love. This is a hands-on role with broad scope. You'll work across the stack, from our data model and async processing on the backend to design systems and rich visualizations on the frontend. You'll also be one of the people product and engineering leadership come to when the path forward isn't obvious yet.

Location:

For those located in San Francisco or New York, for this role we're embracing a hub-hybrid model, designed to balance flexibility with meaningful in-person collaboration. Team members within commuting distance are expected in-office 2 days per week, typically Tuesday through Thursday. We believe great things happen when people come together intentionally to connect, create, and build momentum as a team.

What you'll do

  • Set and own the technical direction for a core product domain, including the architecture decisions, the sequencing, and the tradeoffs you choose to make and defend

  • Lead complex, multi-quarter initiatives end to end, breaking ambiguous problems into work other engineers can pick up and run with

  • Partner closely with product and design from the problem-definition stage, shaping what gets built and not just how it gets built

  • Raise the technical bar across the team through design review, code review, and mentorship of senior and mid-level engineers

  • Identify the highest-leverage investments in reliability, performance, and developer velocity in your area, and make the case for them

  • Own the operational health of what you build, including performance, observability, and on-call for your domain

  • Work fluently with AI development tools and help the team get better at using them well, including where they genuinely speed us up and where they don't

What we're looking for

  • 10+ years building and shipping production software as a full-stack engineer, with a track record of technical leadership on ambiguous, high-stakes projects

  • Demonstrated impact beyond your own team, whether that's through architecture other teams build on, standards you established, or engineers you grew

  • Experience building product features on top of LLMs or agent frameworks, including how you evaluated and monitored them

  • Strong server-side experience with modern OOP practices; we use Ruby and PostgreSQL, and we're open to candidates with deep expertise in a comparable stack who are motivated to pick ours up

  • Experience building component-based interfaces with React and TypeScript

  • Deep understanding of relational databases, including designing systems that scale and diagnosing performance bottlenecks before they reach customers

  • Practical fluency with AI-assisted development (Claude Code, Cursor, Copilot, or similar) and good judgment about when to use it, how to review what it produces, and where the risks are

  • Pride in delivering high-quality, powerful products to customers while championing technical excellence

  • Eagerness to contribute your ideas and experience to help Affinity keep improving as a product and as a company

Tech stack

React and TypeScript on the front end, Ruby and PostgreSQL on the back end. Our infrastructure is hosted on AWS and runs on Kubernetes.

What you’ll enjoy at Affinity:

  • We live our values: As owners, we take pride in everything we do. We embrace a growth mindset, engage in respectful candor, act as playmakers, and "taste the soup" by diving deep into experiences to create the best outcomes for our colleagues and clients.

  • Health Benefits: We cover both you and your dependents' extended health benefit premiums and offer flexible personal & sick days to support your well-being.

  • Retirement Planning: We offer an RRSP plan to help you plan for your future.

  • Learning & Development: We provide an annual education budget.

  • Wellness Support: We reimburse monthly for things like home internet, meals, and wellness memberships/equipment to support your overall health and happiness.

  • Team Connection: Virtual team-building activities and socials to keep our team connected, because building strong relationships is key to succes.

Please note that the role compensation details below reflect the base salary only and do not include any equity, or benefits. This represents the salary range that Affinity believes, in good faith, at the time of this posting, that it will pay for the posted job.

A reasonable estimate of the current range is $200,000 to $250,000 CAD. Within the range, individual pay depends on various factors including geographical location and review of experience, knowledge, skills, abilities of the applicant.

At Affinity, we may use artificial intelligence (AI) tools as part of our recruitment process to help screen and evaluate candidate applications. While AI assists our hiring team in managing applications efficiently, it never replaces decisions made by real people. We are committed to fair and transparent hiring practices, and our AI tools are regularly monitored to ensure they support—not replace—human judgment.

Additional Information:

  • This job posting represents an active vacancy that we are currently seeking to fill.

About Affinity

Affinity is the AI-first CRM for private capital, helping firms turn relationship intelligence into action across the investment lifecycle. Built on a decade of proprietary relationship, interaction and deal data, Affinity automatically captures activity, maps firm networks, and surfaces the connections and insights that help investors source, evaluate and win opportunities.

Trusted by more than 3,300 private capital firms, including 40% of the venture capital market and more than 330 private equity buyout teams, Affinity powers one of the industry's deepest relationship graphs. The platform is built on more than 130 billion structured relationships, 177 million people tracked, 88 million companies tracked and 31 billion interactions, helping firms uncover opportunities sooner, move with greater conviction and scale institutional knowledge over time.

Learn more: affinity.co

1 more opening for this job

Affinity posts this job once per place or skill set. Pick the one that fits you.

Interested?Staff Software Engineer at Affinity

Apply on company site (opens in a new tab)

The job ad ends here

Interview questions for this job6 with answers, on Ruby, PostgreSQL, React and 4 more

Interview questions for this job

For the skills the ad mentions: Ruby, PostgreSQL, React, TypeScript, LLMs and GenAI, AWS and Kubernetes.

850 questions
  • Difference between rake db:migrate db:reset and db:schema:loadRuby
    • db:migrate runs (single) migrations that have not run yet.

    • db:create creates the database

    • db:drop deletes the database

    • db:schema:load creates tables and columns within the existing database following schema.rb. This will delete existing data.

    • db:setup does db:create, db:schema:load, db:seed

    • db:reset does db:drop, db:setup

    • db:migrate:reset does db:drop, db:create, db:migrate

    Typically, you would use db:migrate after having made changes to the schema via new migration files (this makes sense only if there is already data in the database). db:schema:load is used when you setup a new instance of your app.

    For rails 3.2.12:

    I just checked the source and the dependencies are like this now:

    • db:create creates the database for the current env

    • db:create:all creates the databases for all envs

    • db:drop drops the database for the current env

    • db:drop:all drops the databases for all envs

    • db:migrate runs migrations for the current env that have not run yet

    • db:migrate:up runs one specific migration

    • db:migrate:down rolls back one specific migration

    • db:migrate:status shows current migration status

    • db:rollback rolls back the last migration

    • db:forward advances the current schema version to the next one

    • db:seed (only) runs the db/seed.rb file

    • db:schema:load loads the schema into the current env's database

    • db:schema:dump dumps the current env's schema (and seems to create the db as well)

    • db:setup runs db:create db:schema:load db:seed

    • db:reset runs db:drop db:setup

    • db:migrate:redo runs (db:migrate:down db:migrate:up) or (db:rollback db:migrate) depending on the specified migration

    • db:migrate:reset runs db:drop db:create db:migrate

    For further information please have a look at https://github.com/rails/rails/blob/v3.2.12/activerecord/lib/active_record/railties/databases.rake (for Rails 3.2.x) and https://github.com/rails/rails/blob/v4.0.5/activerecord/lib/active_record/railties/databases.rake (for Rails 4.0.x)

    From Stack Overflow: asked by Gaurav Agarwal, answered by moritz (CC BY-SA 4.0)

  • What is faster, one big query or many small queries?PostgreSQL

    What would address your question is the subject JOIN DECOMPOSITION.

    According to Page 209 of the Book

    You can decompose a join by running multiple single-table queries instead of a multitable join, and then performing the join in the application. For example, instead of this single query:

    SELECT * FROM tag
    JOIN tag_post ON tag_post.tag_id = tag.id
    JOIN post ON tag_post.post_id = post.id
    WHERE tag.tag = 'mysql';
    

    You might run these queries:

    SELECT * FROM tag WHERE tag = 'mysql';
    SELECT * FROM tag_post WHERE tag_id=1234;
    SELECT * FROM post WHERE post.id IN (123,456,567,9098,8904);
    

    Why on earth would you do this ? It looks wasteful at first glance, because you've increased the number of queries without getting anything in return. However, such restructuring can actually give significant performance advantages:

    • Caching can be more efficient. Many applications cache "objects" that map directly to tables. In this example, if the object with the tag mysql is already cached, the application will skip the first query. If you find posts with an ID of 123, 567, or 908 in the cache, you can remove them from the IN() list. The query cache might also benefit from this strategy. If only one of the tables changes frequently, decomposing a join can reduce the number of cache invalidations.
    • Executing the queries individually can sometimes reduce lock contention
    • Doing joins in the application makes it easier to scale the database by placing tables on different servers.
    • The queries themselves can be more efficient. In this example, using an IN() list instead of a join lets MySQL sort row IDs and retrieve rows more optimally than might be possible with a join.
    • You can reduce redundant row accesses. Doing a join in the application means retrieving each row only once., whereas a join in the query is essentially a denormalization that might repeatedly access the same data. For the same reason, such restructuring might also reduce the total network traffic and memory usage.
    • To some extent, you can view this technique as manually implementing a hash join instead of the nested loops algorithm MySQL uses to execute a join. A hash join might be more efficient.

    As a result, doings joins in the application can be more efficient when you cache and reuse a lot of data from earlier queries, you distribute data across multiple servers, you replace joins with IN() lists, or a join refers to the same table multiple times.

    OBSERVATION

    I like the first bulletpoint because InnoDB is a little heavy-handed when it crosschecks the query cache.

    As for the last bulletpoint, I wrote a post back on Mar 11, 2013 (Is there an execution difference between a JOIN condition and a WHERE condition?) that describes the nested loop algorithm. After reading it, you will see how good join decomposition may be.

    Read the rest at the sourceFrom Database Administrators Stack Exchange: asked by sudo.ie, answered by RolandoMySQLDBA (CC BY-SA 4.0)

  • What are the advantages of React?React

    Below are the list of main advantages of React,

    1. Increases the application's performance with Virtual DOM.
    2. JSX makes code easy to read and write.
    3. It renders both on client and server side (SSR).
    4. Easy to integrate with frameworks (Angular, Backbone) since it is only a view library.
    5. Easy to write unit and integration tests with tools such as Jest.

    From ReactJS Interview Questions & Answers (MIT)

  • Is there a way to check for both `null` and `undefined`?TypeScript

    Using a juggling-check, you can test both null and undefined in one hit:

    if (x == null) {
    

    If you use a strict-check, it will only be true for values set to null and won't evaluate as true for undefined variables:

    if (x === null) {
    

    You can try this with various values using this example:

    var a: number;
    var b: number = null;
    function check(x, name) {
        if (x == null) {
            console.log(name + ' == null');
        }
        if (x === null) {
            console.log(name + ' === null');
        }
        if (typeof x === 'undefined') {
            console.log(name + ' is undefined');
        }
    }
    check(a, 'a');
    check(b, 'b');
    

    Output

    "a == null"

    "a is undefined"

    "b == null"

    "b === null"

    From Stack Overflow: asked by David Liu, answered by Fenton (CC BY-SA 4.0)

  • How does Transformer model address the vanishing gradient problem?LLMs and GenAI

    Transformers address the vanishing gradient problem primarily through the use of residual (skip) connections and layer normalization. Residual connections allow gradients to flow directly through the network by adding the input of a layer to its output, preventing gradients from shrinking during backpropagation.

    Layer normalization helps stabilize training by keeping activations within a consistent range, which controls the scale of gradients. Additionally, the self-attention mechanism enables direct information flow between tokens, reducing the depth of dependency and further mitigating gradient vanishing.

    From LLM Interview Questions and Answers Hub (Apache 2.0)

  • What are your hobbies and interests?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.

    Example

    If 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

More like this: Software engineer jobs in Toronto (98), Jobs in Toronto (1,712) and Software engineer jobs in Canada (263)