Groups
Sign in
Groups
한국 루비 사용자 모임
Conversations
Labels
About
Send feedback
Help
안녕하세요 루비 파일저장에 관련하여 질문드립니다.
104 views
Skip to first unread message
김규하
unread,
Nov 30, 2017, 10:44:43 PM
11/30/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 한국 루비 사용자 모임
약 5000개의 제품의 id를 저장하려는데 세션에 저장하려니 세션은 용량 초과라고 안되고
get으로 보내려니 쿼리스트링이 너무 길다고 안된다고 해서 현재 사용자 id로 텍스트 파일을 만들어 거기에 넣고 있습니다.
사용자가 한 몇 천명되면 서버에 무리가 있을까요?
Sangmin Ryu
unread,
Oct 1, 2018, 8:30:09 PM
10/1/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 한국 루비 사용자 모임
너무 늦었지만..
session 을 쿠키에 저장하지 않고, redis 같은 스토리지 쪽에 연결하면 됩니다.
ex)
https://medium.com/@kirill_shevch/configuration-cache-and-rails-session-store-with-redis-b3ce6f64d1fc
2017년 12월 1일 금요일 오후 12시 44분 43초 UTC+9, Gyooha Kim 님의 말:
Reply all
Reply to author
Forward
0 new messages