Hacker Newsnew | past | comments | ask | show | jobs | submit | kubek2k's commentslogin

thats a wonderful improvement of apex, thats for sure :)


I guess you mean the API-Gates + Lambda. Not sure - I think thats something that should be handled by some separate tool (APIGatesgger? ;) - lets hope its not another dirty word)


that's right swagger -> api gateway triggering lambda functions.

I was using Chalice but seems like Zappas is another one a HNer pointed out. I couldn't get Chalice to work and sort of gave up on the serverless-api-gatway-lambda idea.


I don't mind being trolled :)

Serverless is way much more advanced machinery than this tool. My point was to create a tool, not a whole ecosystem around AWS Lambda.

When it comes to serverless - my main concern (as it was with Lambda without env variables), is with storing configuration data along the code in the repo. Additionally the reason for creating was mostly pipelines.


the initial idea was that CI deploys lambda, and you promote it from stage to stage. I might consider upload sometime.

From what you write I think apex would be better suited for you


really good read. thx! :bow:

I didn't plan to do the push-to-deploy thing, mostly because that would totally complicate things. The rationale was more that we would use the CI that would automatically build and deploy things to DEV env that would be then promoted around.


thanks! - please give it a try and let me know in the issues if something doesn't work as expected.



there is also vert.x worth to look at


have you ever heard of YAGNI?


Yes and so has Spring. Every module is a separate dependency. If you don't need security or DB persistence, don't include them.


because: * you can do ES indexing async * having articles index instantly is not critical (I guess)


Well ES is pretty fast by itself - lots of people use it to store log entries(ELK stack) and every log line triggers an indexing event in ES. Introducing Kafka into the mix just seems like an unnecessary complication.


It's not unnecessary if ES is just one of the endpoints. Kafka shines because it can accommodate a ton of consumers - so you can write once to kafka and then use it populate ES, databases, whatever. Furthermore, what happens if you need to re-index (say, if you update a mapping to an existing object)? It becomes trivial to reindex by replaying all the data from Kafka into ES thus saving you a lot of time.

If you are just dumping into ES, then yes, probably not the best tool (though it wouldn't necessarily hurt) - just use the HTTP API for that. However if you want to build a robust pipeline for multiple services or think you'll be needing to scale the feed into ES, Kafka is useful.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: