Похожие чаты

Why don't you also use RabbitMQ for this?

14 ответов

18 просмотров

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

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

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

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Rꙮman Yankꙮvsky
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Viktor G.
2
@Benzenoid can you tell me the easiest, and safest way to bu.y HEX now?
Živa Žena
20
This is a question from my wife who make a fortune with memes 😂😂 About the Migration and Tokens: 1. How will the old tokens be migrated to the new $LGCYX network? What is th...
🍿 °anton°
2
30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
What is the Dex situation? Agora team started with the Pnetwork for their dex which helped them both with integration. It’s completed but as you can see from the Pnetwork ann...
Ben
1
Гайс, вопрос для разносторонее развитых: читаю стрим с юарта, нада выделять с него фреймы с определенной структурой, если ли чо готовое, или долбаться с ринг буффером? нада у...
Vitaly
9
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
@lozuk how do I get my phex copies of my ehex from a atomic wallet, to move to my rabby?
Justfrontin 👀
11
Карта сайта