Похожие чаты

Why don't you also use RabbitMQ for this?

14 ответов

13 просмотров

It seems to be good, but each HTML document contains 2MB up to 6MB of Data. So can RabbitMQ store for example 10,000 (or 20,000) message ? (15.000 * 3MB = 45GB Data!) In other words, I think these huge messages with this huge size can seriously damage to delivery speed It may take about 1 minute to deliver each message! Maybe I'm wrong.

Daddy
It seems to be good, but each HTML document contai...

Store your html payload in a storage like s3 and add the key (filename) to rabbitmq

Daddy
It seems to be good, but each HTML document contai...

do you really need to send these files?! why? why can't you just request them on demand?

Jonhnny Weslley
Store your html payload in a storage like s3 and a...

Hmm, 🤔 I should give a test this way. the only weird thing is performance issues. But I should give it a test. Thanks.

Roman Sharkov
do you really need to send these files?! why? wh...

I'm building a web scraper. So I have to separate downloading with parsing. The best choice I have is a simple microservice program (service a is primary so it sends tasks to service A or B. download as service B, parser as service C) (each service is a separate application)

Roman Sharkov
but why separate it? 🤔

for better performance and maintainability. For example, if I have 30,000 pages to scrape, my primary service passes each page URL as a message to my downloader service. my downloader service manages the download process and any related topic like avoid opening more than 4 connections to each website. or managing failure downloads or... my downloader focuses on good downloading. then it will return the downloaded HTML document back to my primary service. And then, my primary service have to pass downloaded HTML to my parser service, and so on

Daddy
for better performance and maintainability. For e...

why not just use an object storage and pass IDs around?

Roman Sharkov
why not just use an object storage and pass IDs ar...

What about NoSQL databases like MongoDB? and saving each HTML as a MongoDB document? I realized that my HTML documents are not 3MB. they are 250KB up to 1.2MB (sometimes 3MB, maximum)

Daddy
What about NoSQL databases like MongoDB? and savin...

Do you care about losing a document or a few documents randomly without explanation or warning, if yes then Mongo is for you

Daddy
for better performance and maintainability. For e...

Try wget to create proof of concept on peformance issues

Похожие вопросы

Обсуждают сегодня

Какой-то там пердун в 90-х решил, что есть какая-то разная типизация. Кого вообще это волнует?
КТ315
49
Hi. Do we have a raid bot? Why nobody doing raids on X? Even RH mentioned this and nobody paying attention...whats the channel for hex memes? If mods cant run raids just insta...
H
31
Подскажите, а есть vault lite или ченить такое?) А то нужен вольт для похода в вольт, но весит он ~500 мб) как-то многовато для парочки запросов ))
Alexandr Orloff
17
блеать, почему так?? где в роутере это исправляется?
Арсен Маньяков 🇦🇲
16
void terminal_scroll() { memmove(terminal_buffer, terminal_buffer + VGA_WIDTH, buffer_size - VGA_WIDTH); memset(terminal_buffer + buffer_size - VGA_WIDTH, 0, VGA_WIDTH); ...
Егор
47
🌊 Ocean Nodes Dashboard Update 🚀 Hey, Oceaners! First off, a massive round of applause 👏to all of you for the amazing engagement since we launched Ocean Nodes. In just a few ...
KreigDK | Never DM first🌊
3
Всем привет! Подскажите, пожалуйста, в чем ошибка? Настраиваю подключение к MySQL. Либы лежат рядом с exe. Все как по "учебнику"
Евгений
16
А можете как-то проверить меня по знаниям по ассемблеру?
A A
132
Здравствуйте! У меня появилась возможность купить книгу "Изучай Haskell во имя добра!". Но я где-то слышал, что эта книга устарела. Насколько это правда??
E
22
люди, которые используют flameshot, к вам вопрос. Можно-ли поставить хоткей на создание скриншота? В программе есть отдел "горячие клавиши", но там все для редактирования, скр...
ThunDer104
11
Карта сайта