How to receive and display forum posts?

I am struggling with a conceptual issue. When you have a forum with thousands of posts and / or threads, how do you extract all the posts that will be displayed on your site? Do you connect to your database every time someone visits your page and then commits each entry in the array and displays it? Surely it looks like it will be very taxed on your server and will cause a whole bunch of unnecessary readings of the database. Can anyone cover this topic?

Thank.

+3
source share
3 answers

. X /, X / , . RDBMS . ( ) , , , , .

+3

(ish) Document Oriented Database, CouchDB, , , .

, Document Oriented Database .

, , , , - ( , , .)

+1

. Facebook ... " ". : , 100% , . . , , , , , .

Facebook Digg, , ... , 100% ? , , , ? , " " "". , . 10% - ? 1%? . , , , .

, : " , , 100% ?"

But this is a great question for a free website, but it is not so suitable for a business application.

0
source

Source: https://habr.com/ru/post/1748178/


All Articles