Quantcast

web应用中用什么来记录变化频繁的数据?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

web应用中用什么来记录变化频繁的数据?

Albert Lee-7
一个 django的应用,业务逻辑比较复杂,用数据库记录很多随时变化的数据(把数据库当内存了……)性能肯定会出问题。想找一个方法来替代数据库保存这些数据,提高性能。用memcache的话感觉不放心,不知道什么时候就被清掉。用BDB如何?
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [CPyUG:38990] web应用中用什么来记录变化频繁的数据?

Leo Jay
2008/1/23 Albert Lee <[hidden email]>:
> 一个 django的应用,业务逻辑比较复杂,用数据库记录很多随时变化的数据(把数据库当内存了……)性能肯定会出问题。想找一个方法来替代数据库保存这些数据,提高性能。用memcache的话感觉不放心,不知道什么时候就被清掉。用BDB如何?
>

要么考虑一下sqlite?


--
Best Regards,
Leo Jay
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: web应用中用什么来记录变化频繁的数据?

@@-2
In reply to this post by Albert Lee-7
上次不是谁发了一个sina的memcachedb 还是什么的?

On 1/23/08, Albert Lee <[hidden email]> wrote:
一个 django的应用,业务逻辑比较复杂,用数据库记录很多随时变化的数据(把数据库当内存了……)性能肯定会出问题。想找一个方法来替代数据库保存这些数据,提高性能。用memcache的话感觉不放心,不知道什么时候就被清掉。用BDB如何?
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese


_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: web应用中用什么来记录变化频繁的数据?

Yongchao Lao
恩,上次那个是memcached + bdb。
 
 
 
2008-01-23

fluke.l

发件人: @@
发送时间: 2008-01-23  09:17:17
收件人: [hidden email]
抄送:
主题: Re: [python-chinese]web应用中用什么来记录变化频繁的数据?
上次不是谁发了一个sina的memcachedb 还是什么的?

On 1/23/08, Albert Lee <[hidden email]> wrote:
一个 django的应用,业务逻辑比较复杂,用数据库记录很多随时变化的数据(把数据库当内存了……)性能肯定会出问题。想找一个方法来替代数据库保存这些数据,提高性能。用memcache的话感觉不放心,不知道什么时候就被清掉。用BDB如何?
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese


_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [CPyUG:38990] web应用中用什么来记录变化频繁的数据?

Yongchao Lao
In reply to this post by Leo Jay
如果需要sql的话,sqlite是个不错的选择,够小,性能也很好。如果不用sql的话,仅仅是一些变化的键值对,db是很好的选择,健壮性应该不用质疑了。
 
 
2008-01-23

fluke.l

发件人: Leo Jay
发送时间: 2008-01-23  09:13:03
收件人: [hidden email]
抄送: python-chinese列表
主题: Re: [python-chinese][CPyUG:38990] web应用中用什么来记录变化频繁的数据?
2008/1/23 Albert Lee <[hidden email]>:
> 一个 django的应用,业务逻辑比较复杂,用数据库记录很多随时变化的数据(把数据库当内存了……)性能肯定会出问题。想找一个方法来替代数据库保存这些数据,提高性能。用memcache的话感觉不放心,不知道什么时候就被清掉。用BDB如何?
>
要么考虑一下sqlite?
-- 
Best Regards,
Leo Jay
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese

_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [CPyUG:38990] web应用中用什么来记录变化频繁的数据?

张沈鹏
ZODB?

2008/1/23 fluke.l <[hidden email]>:

>
>
> 如果需要sql的话,sqlite是个不错的选择,够小,性能也很好。如果不用sql的话,仅仅是一些变化的键值对,db是很好的选择,健壮性应该不用质疑了。
>
>
>
> 2008-01-23 ________________________________
>
> fluke.l ________________________________
>
> 发件人: Leo Jay
> 发送时间: 2008-01-23  09:13:03
> 收件人: [hidden email]
> 抄送: python-chinese列表
> 主题: Re: [python-chinese][CPyUG:38990] web应用中用什么来记录变化频繁的数据?
>
>
> 2008/1/23 Albert Lee <[hidden email]>:
> > 一个
> django的应用,业务逻辑比较复杂,用数据库记录很多随时变化的数据(把数据库当内存了……)性能肯定会出问题。想找一个方法来替代数据库保存这些数据,提高性能。用memcache的话感觉不放心,不知道什么时候就被清掉。用BDB如何?
> >
>
> 要么考虑一下sqlite?
>
>
> --
> Best Regards,
> Leo Jay
>
> _______________________________________________
> python-chinese
> Post: send [hidden email]
> Subscribe: send subscribe to [hidden email]
> Unsubscribe: send unsubscribe to  [hidden email]
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
> _______________________________________________
> python-chinese
> Post: send [hidden email]
> Subscribe: send subscribe to [hidden email]
> Unsubscribe: send unsubscribe to  [hidden email]
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>



--
个人网站:http://zsp007.com.cn/
双学位:生物医学工程+计算机科学与技术
技能:C++(STL,BOOST) Python(Django) HTML+CSS AJAX
-- 张沈鹏
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [CPyUG:38990] web应用中用什么来记录变化频繁的数据

欧阳家健
mysql 的内存表。。。
 
 
2008-02-01

stdlib

发件人: 张沈鹏(电子科大 08年7月毕业)
发送时间: 2008-02-01  14:48:26
收件人: [hidden email]
抄送:
主题: Re: [python-chinese][CPyUG:38990] web应用中用什么来记录变化频繁的数据
ZODB?
 
2008/1/23 fluke.l  <[hidden email] >:
>
>
> 如果需要sql的话,sqlite是个不错的选择,够小,性能也很好。如果不用sql的话,仅仅是一些变化的键值对,db是很好的选择,健壮性应该不用质疑了。
>
>
>
> 2008-01-23 ________________________________
>
> fluke.l ________________________________
>
> 发件人: Leo Jay
> 发送时间: 2008-01-23  09:13:03
> 收件人: [hidden email]
> 抄送: python-chinese列表
> 主题: Re: [python-chinese][CPyUG:38990] web应用中用什么来记录变化频繁的数据?
>
>
> 2008/1/23 Albert Lee  <[hidden email] >:
>  > 一个
> django的应用,业务逻辑比较复杂,用数据库记录很多随时变化的数据(把数据库当内存了……)性能肯定会出问题。想找一个方法来替代数据库保存这些数据,提高性能。用memcache的话感觉不放心,不知道什么时候就被清掉。用BDB如何?
>  >
>
> 要么考虑一下sqlite?
>
>
> --
> Best Regards,
> Leo Jay
>
> _______________________________________________
> python-chinese
> Post: send [hidden email]
> Subscribe: send subscribe to [hidden email]
> Unsubscribe: send unsubscribe to  [hidden email]
> _______________________________________________
> python-chinese
> Post: send [hidden email]
> Subscribe: send subscribe to [hidden email]
> Unsubscribe: send unsubscribe to  [hidden email]
>
 
 
 
-- 
双学位:生物医学工程+计算机科学与技术
技能:C++(STL,BOOST) Python(Django) HTML+CSS AJAX
-- 张沈鹏
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]

_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
Loading...