3 ms·
Great story and congrats on the progress thus far! I have been building an application using a very similar Backbone+Rails stack, and your decision making at th
by disbelief 14y ago
Great story and congrats on the progress thus far! I have been building an application using a very similar Backbone+Rails stack, and your decision making at the top of the article matches up almost identically with mine.
One thing I'm curious about is the performance aspect. When you say "lightening fast", I assume you're talking about the front-end user experience, since persistence to the server is performed asynchronously? The one major problem I've had with using Rails as my JSON API provider has been the performance of rendering the JSON itself. Many of my API calls return a fairly large amount of nested JSON, and the request times are far from ideal.
As you mention you are placing additional data into the results for some API calls, so I guess you might have encountered this yourself.
What, may I ask, are you using to render the JSON from Rails? I'm using JBuilder at the moment, which as it turns out has some performance issues: https://github.com/rails/jbuilder/issues/45 https://github.com/rails/jbuilder/issues/45