alejandrobabio / music-api

0 stars 1 forks source link

performance tuning #1

Open alex-nexus opened 6 years ago

alex-nexus commented 6 years ago

what are some of the endpoint you would like to enhance the performance?

alejandrobabio commented 6 years ago

The best candidates are the most used endpoints, of course, verify the access indexes to the data and make use of the cache are the first to check. In the case of an API for music, the point of attention should be in streaming large files (music) to ensuring that the flow is maintained. Also included are upload and download images. As for streaming, it's not a topic I've worked with before, but I saw Grape works with Rack::Chunked, and Heroku has a plugin that provides the streaming service. I guess there must be more alternatives that deserve to be evaluated.