Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Bulk insert deliver_by :database #137

Closed
khrisnagunanasurya-iav opened this issue Jul 19, 2021 · 2 comments
Closed

Bulk insert deliver_by :database #137

khrisnagunanasurya-iav opened this issue Jul 19, 2021 · 2 comments

Comments

@khrisnagunanasurya-iav
Copy link

Hi, is it possible to bulk insert to the database? as of right now when I tried to send a notification to 5 users, there are 5 insert queries, and if there are 10000 users, I think it will execute 10000 queries, so if possible I want to bulk the insert to the database, let's say 1000 users each query.

I already tried using deliver_later, but it only does execute the send notification in the background.

I already read about this, but it's mentioning that even though it's a batch delivery for Postmark, it still executes deliver to database 5.000 times

@eserna27
Copy link

eserna27 commented Oct 5, 2021

Hi @khrisnagunanasurya-iav, I am trying to solve this problem in this pull request eserna27#1, if you have some comments, I would be glad to receive/answer them.

@excid3
Copy link
Owner

excid3 commented Oct 5, 2021

Yeah, we should definitely bulk insert the to the database. That's separate than bulk delivery for other methods like email (some delivery methods may support it, but so may not).

Repository owner locked and limited conversation to collaborators Oct 31, 2023
@Kentasmic Kentasmic converted this issue into discussion #335 Oct 31, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants