having an MVC structure, ORM and WebSocket already embedded is kind of cool for the initial push of a prototype or a very basic app, going forward its kind of fix-it-yourself
Thiago Dantas
@tdantas
sails, definitely is not a good option :( regarding prototyping I think hapi/koa are better options. we all know that after you present the 'prototype' working to the Product Owner you sold your soul. there is no more room to start a brand new project :)
Marcelo Lebre
@marcelolebre
well that depends of your initial goals with the prototype ;)
Thiago Dantas
@tdantas
I think prototyping with hapi/express/koa we are faster than sail. and without globals ;)
Marcelo Lebre
@marcelolebre
well, completely different stack
Thiago Dantas
@tdantas
hapi or koa for me , are the best options. ( by now )
are you using server side rendering or single page app ?
Marcelo Lebre
@marcelolebre
the whole middleware package that sails brings has upsides and downsides, other than that, it all goes down to how experienced you are with it and how confortable you feel with the tools it gives you
so it's fine
on a quick note, I'm not going back to sails though :P
Thiago Dantas
@tdantas
Hapi brings the sensible defaults to web out of the box
Marcelo Lebre
@marcelolebre
have you had to scale them?
hapi or koa i mean
Thiago Dantas
@tdantas
hapi
yeah
Marcelo Lebre
@marcelolebre
how did it fare?
Thiago Dantas
@tdantas
I didn't have any trouble
Marcelo Lebre
@marcelolebre
horizontally or vertically?
Thiago Dantas
@tdantas
horizontally ftw
Marcelo Lebre
@marcelolebre
direct interface with any type of db?
Thiago Dantas
@tdantas
I used 2 databases. couch and postgresql
no problem at all
still working
_
Marcelo Lebre
@marcelolebre
cool cool cool
and resilience?
how much maintenance did you have to do or monitoring for keeping it up?
Thiago Dantas
@tdantas
yeah, the infrastructure team did a really great job
I worked for 5 months until we finish the project
and past week I discovered that they are running the same code since past year
Marcelo Lebre
@marcelolebre
awesome
Thiago Dantas
@tdantas
yeah !
was great !
Marcelo Lebre
@marcelolebre
can you disclose the usage?
like, heavy RPMs
or something more casual?
Thiago Dantas
@tdantas
I can't :( But I could say that we were using 8 processes in reverse proxy
no memory leaks at all
Marcelo Lebre
@marcelolebre
cool :)
Thiago Dantas
@tdantas
the wallmart team did a really great job
they used on blackfriday first time
Marcelo Lebre
@marcelolebre
ah ah :)
Thiago Dantas
@tdantas
;)
Marcelo Lebre
@marcelolebre
:moneybag: on the server
lol
Thiago Dantas
@tdantas
lol lol
Marcelo Lebre
@marcelolebre
cool though :thumbsup:
Thiago Dantas
@tdantas
other cool project ( restify ). dtrace probes everywhere
really nice to instrument the code live in production