Screen_Shot_2014-05-30_at_1.37.33_PM

Salsify Engineering Blog

Supercharging Development at Salsify with GraphQL

By Erik Kessler on Feb 9, 2022 1:44:52 PM

This article—adapted from a talk I gave at GraphQL Conf. 2021—describes how Salsify's GraphQL environment creates a productive, enjoyable, and cohesive developer experience from the backend to the frontend.

Read More →

Introducing: Glint, a typed-template solution for GlimmerX and Ember

By James C. Davis on Mar 24, 2021 12:45:34 PM

Glint

TL;DR?

  1. Install the Glint VSCode extension or see the Vim/Neovim section below.
  2. Add @glint/core and @glint/environment-ember-loose to your Ember app or addon.
  3. Create a .glintrc.yml file in the root of your app or addon containing:
      environment: ember-loose
  4. (for now) import from @glint/environment-ember-loose/glimmer-component in place of @glimmer/component.
  5. Enjoy squashing the red squiggles in your templates!
    (but, remember, Glint is still very experimental so no warranties, etc. etc.)

Read More →

Discovering RDS Throughput Limits

By Chris Flood on Feb 12, 2021 1:31:39 PM

We recently decoupled our platform's search functionality from our main application. The search functionality required deep knowledge of some specialized systems (like Elasticsearch), was inaccessible to other services that wanted to offer text search and had much different throughput requirements than the rest of the application. 

Read More →

Polymorphism in GraphQL

By Dan Freeman on Oct 9, 2020 11:28:58 AM

Or: How I Learned to Stop Worrying and Love __typename

Read More →

Ember Templates: Classic vs Angle Bracket Syntaxes

By Ron. A on Mar 20, 2020 5:30:06 PM

This articles describes the difference between how component invocation differs when using curlies {​{...}}, angle brackets <...> or an (...) s-expression in Ember templates.

Read More →

What is GraphQL?

By Pattra Audcharevorakul on Dec 19, 2019 1:00:00 PM

The GraphQL website describes the tech as "a query language for APIs and a runtime for fulfilling those queries with your existing data." But what does this mean in practice? When am I actually supposed to use GraphQL, and why?

Read More →

Scaling Delayed Job for High Throughput Services

By Tafadzwa Pasipanodya on Sep 3, 2019 8:14:29 AM

A challenge often faced in multi-tenant SaaS is ensuring that each tenant gets a fair share of a platform's resources. At Salsify, we had to address this in our Delayed Job-based background task execution infrastructure. Because our customers have different use cases, they tend to run tasks of varying complexity and size. Over time we developed tenant-fairness job reservation strategies that made scaling our job system difficult if not impossible. In this post, I discuss how we managed to extend Delayed Job to solve for tenant fairness in a scalable manner.

Read More →

Essential Ember Addons: The State of the Ember Addon Ecosystem in 2019

By Ron. A on Jun 28, 2019 9:45:00 AM

2019 has been a great year for Ember so far, so while my peers are focused on setting direction for the framework for the rest of 2019, I wanted to take stock of the existing addons ecosystem.

Read More →

Finding the most recent item by group in Rails

By Stephen Karger on Jun 21, 2019 9:09:03 AM
A certain kind of question comes up sometimes when building an application with a relational database:
 
What is the most recent item for each category?
 
It often happens with a one-to-many table relationship. You might have a departments table and an employees table, where a department has many employees, and you would like to know each department's most recently hired employee.
 
The general version of this question even has a name, Greatest N Per Group, and it's not limited to one-to-many relationships, nor to most recent items. Nevertheless, that example is broadly useful because it arises naturally when inserting records into a DB table over time. In this post I'll show the query using standard SQL and walk through integrating it into Rails. Read on for details!

Read More →

Ember in 2019: Tearing Down "Us and Them"

By Dan Freeman on Jun 11, 2019 8:30:22 AM

I'm writing this near the end of the official #EmberJS2019 window, which means a lot of what there is to say has already been said. As I've read through this year's posts, there are a handful of themes I see coming up over and over again:

  • streamlining and modularizing the framework
  • broadening the Ember community
  • landing our new build system, Embroider

These points are each important and valuable in their own right, and I'm hopeful that the 2019 Roadmap RFC will address all of them. Many of the posts discussing them, though, brush up against something that I think merits a more explicit discussion.

Over the past couple years I've seen an increasing number of Ember folks display a mentality that divides the world into Us and Them. It manifests in social media interactions and blog posts, day-to-day chatter in the Ember Discord server, and even the way we frame meetup and conference talks. I think it's driven by a desire to see Ember succeed and to convince other people that they should like this thing as much as we do, but it ultimately does everyone involved a disservice.

Read More →

Recent Posts