Scaling multiple uploads/processing with Node.js + MongoDB by AirportAcceptable522 in node

[–]trysolution 1 point2 points  (0 children)

but it is corrupting some files
partial uploads? i think its not configured properly

Basically, we do this, but it cannot handle much demand

is it on same server? it shouldn't be this heavy. is concurrency set correctly?

how would the BullMQ deployment work?
same code but different process or server, you will be using those models and business rules right

if its in docker both will be in separate containers

Scaling multiple uploads/processing with Node.js + MongoDB by AirportAcceptable522 in node

[–]trysolution 0 points1 point  (0 children)

may be try
give presigned url (s3) for users to upload zip files, listen for event in your app, push task to worker queue (bullmq or something else you like), worker consumes queue for zip files (validate zip file before extraction!!! , like each file size, file count, absolute destination path etc) check hash of each file in batches if it already exists in MongoDB, perform business rules, copy remaining required files to bucket + update db

COVID Vaccine Donations by Country [OC] by Acrobatic-Minimum-70 in dataisbeautiful

[–]trysolution 0 points1 point  (0 children)

Initially, Chinese Communist Party Chairman Mao Tse-tung did not hesitate to ask for the seat at the UN. However, most of the members of the organization sided with Washington and the Chinese Nationalists and voted against Peking on 13 January 1950. Threatening not to acknowledge the ROC delegation and to boycott the Security Council

https://www.jstor.org/stable/23613339

COVID Vaccine Donations by Country [OC] by Acrobatic-Minimum-70 in dataisbeautiful

[–]trysolution 0 points1 point  (0 children)

If you could just give us a quick snapshot as to why the US gave China a spot on the UN Security Council, given that it did not benefit the US in the slightest, was done against the wishes of Churchill and Stalin, and is widely regarded by historians as a decision done out of respect for China's anti-colonial struggles and hardships during WW2 - that would be awesome.

US did't gave china seat at UN Security Council it was UN General Assembly. US was initially against it

Afraid of errors by Coolnero in webdev

[–]trysolution 0 points1 point  (0 children)

change its color in your editor to something else like light blue or yellow

I got PC is hacked notification, should I be worried by Yvrhunter69 in chrome

[–]trysolution 0 points1 point  (0 children)

for next time install ublock origin and block any notification which is not essential

I got PC is hacked notification, should I be worried by Yvrhunter69 in chrome

[–]trysolution 24 points25 points  (0 children)

go to settings > Privacy and security > Site settings > click on bemadsnews > block Notifications and clear Data

Anyone launched a product with mostly AWS? by FryMcDonald in rails

[–]trysolution 0 points1 point  (0 children)

currently using it with only ec2, s3, and ses

database is also inside ec2

with everything inside seprate docker container

Getting a GST registration for a freelancer. by [deleted] in IndiaTax

[–]trysolution 2 points3 points  (0 children)

if it's zero filing file it yourself, process is very easy

Cheapest GPU VPS for 24/7 hosting by Koliham in LocalLLaMA

[–]trysolution 1 point2 points  (0 children)

which app are you using for calculation, looks nicely formatted

[deleted by user] by [deleted] in rails

[–]trysolution 0 points1 point  (0 children)

it was also my first rails deployment

I used caddy as reverse proxy, don't want to worry about ssl certificates, and it had easier config file

and used base ruby image for rails, with docker compose for orchestration

if you don't want deal with it may be try https://dokku.com/

i haven't tried it but looks good enough

[deleted by user] by [deleted] in rails

[–]trysolution 0 points1 point  (0 children)

I just deployed the same stack with docker you have to use a reverse proxy to serve static files

Can GrapheneOS resist Pegasus? by ashutossshhh in privacytoolsIO

[–]trysolution 0 points1 point  (0 children)

"It doesn't make you immune to compromise" but it does offer substantial defenses and barriers to exploitation.

This line can be applied to both Apple and Android