3 ms·
> There's a web gateway in our cluster that receives binary blobs over REST and puts them onto the message queue. In total not much over 100 lines of Ruby. We'v
by nstart 11y ago
> There's a web gateway in our cluster that receives binary blobs over REST and puts them onto the message queue. In total not much over 100 lines of Ruby. We've thought about reducing the server load a bit by porting it to Go or some other more performant language.
On a note unrelated to the actual thread, how do you port a piece like this to another language? Is the Golang part another webservice? Do you fire up a thread to start a process? Is it called via a bash script? If there's an error how do you get the error back from it?
- tinco 11y agoAre you asking what application server I'd use? Or what framework? Currently the service is a Sinatra app managed by Passenger, it logs errors to stdout and airbrake. I guess if we would port it to Go it would be exactly the same. Frameworks or app servers are details I haven't thought about yet.