简体   繁体   中英

Working with large amount of Data

I am creating web portal in asp.net 4.0 where i have to send http web request to 3rd party server and getting large volume of resultset which is to be a user specific. My problem is,where do i store these data temporally?

Is there a better way to store large results set temporarily?

Response which we are getting from http webrequest is specific to different users (request basis) and we must keep the data until user complete shopping or booking so do not know how long we keep the data.

adding more :

We were thhinking to use session object , but due to large volume of data, we can not use it as it will consume server memory.

Second option, we can use sql relational database, but website is consuming data from httpweb response so we do not have control the 3rd party service.

Session is typically stored in server memory and thus not a great place to store large amounts of data. I would suggest a SQL table but all things are relative... How large is this data? If you have more than a single web server, session state has likely been moved to SQL so better to go there directly.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM