bobbinsbro Posted September 25, 2008 Share Posted September 25, 2008 hi. i'm working on a project that requires certain data to be shared between multiple users at the same time. the site is required to be very quick-reaction, so i want to avoid using a database to store all the shared data. is there an easy way to do this? e.g. use one session for many users? i'd rather not use flat files to store the data (messy and i'm not even sure it's faster than a DB). thanx. Link to comment https://forums.phpfreaks.com/topic/125754-solved-sharing-data-between-users-without-a-database/ Share on other sites More sharing options...
trq Posted September 25, 2008 Share Posted September 25, 2008 A database really would be you best option. Im not sure what gave you the impression they are slow. You cannot share sessions between users. Link to comment https://forums.phpfreaks.com/topic/125754-solved-sharing-data-between-users-without-a-database/#findComment-650289 Share on other sites More sharing options...
bobbinsbro Posted September 25, 2008 Author Share Posted September 25, 2008 the site will use ajax to fetch data by the client. will the fetch time not increase by using a database VS fetching from server RAM? Link to comment https://forums.phpfreaks.com/topic/125754-solved-sharing-data-between-users-without-a-database/#findComment-650292 Share on other sites More sharing options...
trq Posted September 25, 2008 Share Posted September 25, 2008 will the fetch time not increase by using a database VS fetching from server RAM? Not enough to bother thinking about. Network speeds will have more effect on performance. The only way you might be able to share data stored within memory is using the semiphore, but Ive not had any experience with it. Link to comment https://forums.phpfreaks.com/topic/125754-solved-sharing-data-between-users-without-a-database/#findComment-650295 Share on other sites More sharing options...
bobbinsbro Posted September 25, 2008 Author Share Posted September 25, 2008 thank you very much for your help. Link to comment https://forums.phpfreaks.com/topic/125754-solved-sharing-data-between-users-without-a-database/#findComment-650297 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.