Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: How are books put in db? #1

Open
ioanniswd opened this issue Dec 12, 2018 · 3 comments
Open

Question: How are books put in db? #1

ioanniswd opened this issue Dec 12, 2018 · 3 comments

Comments

@ioanniswd
Copy link

How is Lambda queueProcessor triggered? And how often is it triggered?

@achimoraites
Copy link
Owner

the queue triggers the function.
assuming the batchSize is set to 5 then it's triggered every 5 seconds and receives 5 items

@ioanniswd
Copy link
Author

That works. Could use batchWrite of db client to put all items in one request, which better than 5 distinct put requests one after the other

@achimoraites
Copy link
Owner

feature has been implemented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants